Home
last modified time | relevance | path

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

/dragonfly/contrib/zstd/lib/compress/
H A Dzstd_compress_internal.h1050 U32 const maxDistance = 1U << windowLog; in ZSTD_getLowestMatchIndex() local
1052 … U32 const withinWindow = (curr - lowestValid > maxDistance) ? curr - maxDistance : lowestValid; in ZSTD_getLowestMatchIndex()
1067 U32 const maxDistance = 1U << windowLog; in ZSTD_getLowestPrefixIndex() local
1069 … U32 const withinWindow = (curr - lowestValid > maxDistance) ? curr - maxDistance : lowestValid; in ZSTD_getLowestPrefixIndex()
H A 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()
H A 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()
613 const U32 maxDistance = 1U << cParams->windowLog; in ZSTD_HcFindBestMatch_generic() local
615 …const U32 withinMaxDistance = (curr - lowestValid > maxDistance) ? curr - maxDistance : lowestVali… in ZSTD_HcFindBestMatch_generic()