Searched refs:maxDistance (Results 1 - 3 of 3) sorted by relevance

/linux-master/lib/zstd/compress/
H A Dzstd_compress_internal.h1244 U32 const maxDistance = 1U << windowLog;
1246 U32 const withinWindow = (curr - lowestValid > maxDistance) ? curr - maxDistance : lowestValid;
1261 U32 const maxDistance = 1U << windowLog;
1263 U32 const withinWindow = (curr - lowestValid > maxDistance) ? curr - maxDistance : lowestValid;
H A Dzstd_lazy.c87 U32 const maxDistance = 1U << cParams->windowLog; local
88 U32 const windowLow = (curr - windowValid > maxDistance) ? curr - maxDistance : windowValid;
664 const U32 maxDistance = 1U << cParams->windowLog; local
666 const U32 withinMaxDistance = (curr - lowestValid > maxDistance) ? curr - maxDistance : lowestValid;
1138 const U32 maxDistance = 1U << cParams->windowLog; local
1140 const U32 withinMaxDistance = (curr - lowestValid > maxDistance) ? curr - maxDistance : lowestValid;
H A Dzstd_fast.c405 const U32 maxDistance = 1U << cParams->windowLog; local
407 assert(endIndex - prefixStartIndex <= maxDistance);
408 (void)maxDistance; (void)endIndex; /* these variables are not used when assert() is disabled */
578 /* switch to "regular" variant if extDict is invalidated due to maxDistance */

Completed in 138 milliseconds