Searched refs:blockEndIdx (Results 1 - 1 of 1) sorted by last modified time

/linux-master/lib/zstd/compress/
H A Dzstd_compress_internal.h1097 * The value lies within context's referential, it can be directly compared to blockEndIdx.
1117 U32 const blockEndIdx = (U32)((BYTE const*)blockEnd - window->base); local
1119 DEBUGLOG(5, "ZSTD_window_enforceMaxDist: blockEndIdx=%u, maxDist=%u, loadedDictEnd=%u",
1120 (unsigned)blockEndIdx, (unsigned)maxDist, (unsigned)loadedDictEnd);
1123 In which case, the test (blockEndIdx > maxDist) is merely to avoid
1124 overflowing next operation `newLowLimit = blockEndIdx - maxDist`.
1129 and it makes sense to compare `blockEndIdx > maxDist + dictSize`
1130 since `blockEndIdx` also starts from zero.
1133 so it can be directly compared against blockEndIdx.
1135 if (blockEndIdx > maxDis
1164 { U32 const blockEndIdx = (U32)((BYTE const*)blockEnd - window->base); local
[all...]

Completed in 157 milliseconds