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