20 references to FastEncoderWindowSize
System (20)
sys\System\IO\compression\FastEncoderWindow.cs (20)
17const int FastEncoderWindowMask = FastEncoderWindowSize - 1; 59window = new byte[2 * FastEncoderWindowSize + MaxMatch + 4]; 60prev = new ushort[FastEncoderWindowSize + MaxMatch]; 62bufPos = FastEncoderWindowSize; 68return 2 * FastEncoderWindowSize - bufEnd; 81Debug.Assert(bufPos == 2*FastEncoderWindowSize, "only call this at the end of the window"); 86Array.Copy(window, bufPos - FastEncoderWindowSize, window, 0, FastEncoderWindowSize); 90int val = ((int) lookup[i]) - FastEncoderWindowSize; 101for (i = 0; i < FastEncoderWindowSize; i++) { 102long val = ((long) prev[i]) - FastEncoderWindowSize; 120bufPos = FastEncoderWindowSize; 169Debug.Assert(bufPos >= FastEncoderWindowSize && bufPos < (2*FastEncoderWindowSize), "Invalid Buffer Position!"); 292if (bufPos == 2*FastEncoderWindowSize) { 307Debug.Assert(bufPos >= 0 && bufPos < 2*FastEncoderWindowSize, "Invalid Buffer position!"); 315int earliest = bufPos - FastEncoderWindowSize; 359Debug.Assert(bestMatch < MinMatch || matchPos < FastEncoderWindowSize, "Only find match inside FastEncoderWindowSize"); 370while (where != 0 && bufPos - where < FastEncoderWindowSize) { 373if (bufPos - nextWhere >= FastEncoderWindowSize) {