Home
last modified time | relevance | path

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

/Linux-v6.1/lib/zstd/compress/
Dzstd_compress_internal.h1033 U32 const maxDistance = 1U << windowLog; in ZSTD_getLowestMatchIndex() local
1035 … U32 const withinWindow = (curr - lowestValid > maxDistance) ? curr - maxDistance : lowestValid; in ZSTD_getLowestMatchIndex()
1050 U32 const maxDistance = 1U << windowLog; in ZSTD_getLowestPrefixIndex() local
1052 … U32 const withinWindow = (curr - lowestValid > maxDistance) ? curr - maxDistance : lowestValid; in ZSTD_getLowestPrefixIndex()
Dzstd_fast.c240 const U32 maxDistance = 1U << cParams->windowLog; in ZSTD_compressBlock_fast_dictMatchState_generic() local
242 assert(endIndex - prefixStartIndex <= maxDistance); in ZSTD_compressBlock_fast_dictMatchState_generic()
243 … (void)maxDistance; (void)endIndex; /* these variables are not used when assert() is disabled */ in ZSTD_compressBlock_fast_dictMatchState_generic()
Dzstd_lazy.c87 U32 const maxDistance = 1U << cParams->windowLog; in ZSTD_insertDUBT1() local
88 U32 const windowLow = (curr - windowValid > maxDistance) ? curr - maxDistance : windowValid; in ZSTD_insertDUBT1()
614 const U32 maxDistance = 1U << cParams->windowLog; in ZSTD_HcFindBestMatch_generic() local
616 …const U32 withinMaxDistance = (curr - lowestValid > maxDistance) ? curr - maxDistance : lowestVali… in ZSTD_HcFindBestMatch_generic()