Home
last modified time | relevance | path

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

/f-stack/freebsd/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()
/f-stack/freebsd/contrib/openzfs/module/zstd/lib/
H A Dzstd.c10889 U32 const maxDistance = 1U << windowLog; in ZSTD_getLowestMatchIndex() local
10891 …U32 const withinWindow = (current - lowestValid > maxDistance) ? current - maxDistance : lowest… in ZSTD_getLowestMatchIndex()
10902 U32 const maxDistance = 1U << windowLog; in ZSTD_getLowestPrefixIndex() local
10904 …U32 const withinWindow = (current - lowestValid > maxDistance) ? current - maxDistance : lowest… in ZSTD_getLowestPrefixIndex()
18127 const U32 maxDistance = 1U << cParams->windowLog; in ZSTD_compressBlock_fast_dictMatchState_generic() local
18129 assert(endIndex - prefixStartIndex <= maxDistance); in ZSTD_compressBlock_fast_dictMatchState_generic()
18130 … (void)maxDistance; (void)endIndex; /* these variables are not used when assert() is disabled */ in ZSTD_compressBlock_fast_dictMatchState_generic()
18472 U32 const maxDistance = 1U << cParams->windowLog; in ZSTD_insertDUBT1() local
18473 … U32 const windowLow = (current - windowValid > maxDistance) ? current - maxDistance : windowValid; in ZSTD_insertDUBT1()
18882 const U32 maxDistance = 1U << cParams->windowLog; in ZSTD_HcFindBestMatch_generic() local
[all …]