Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_compress_internal.h979 U32 const maxDistance = 1U << windowLog; in ZSTD_getLowestMatchIndex() local
981 …U32 const withinWindow = (current - lowestValid > maxDistance) ? current - maxDistance : lowest… in ZSTD_getLowestMatchIndex()
992 U32 const maxDistance = 1U << windowLog; in ZSTD_getLowestPrefixIndex() local
994 …U32 const withinWindow = (current - lowestValid > maxDistance) ? current - maxDistance : lowest… in ZSTD_getLowestPrefixIndex()
H A Dzstd_lazy.c88 U32 const maxDistance = 1U << cParams->windowLog; in ZSTD_insertDUBT1() local
89 … U32 const windowLow = (current - windowValid > maxDistance) ? current - maxDistance : windowValid; in ZSTD_insertDUBT1()
498 const U32 maxDistance = 1U << cParams->windowLog; in ZSTD_HcFindBestMatch_generic() local
500 …const U32 withinMaxDistance = (current - lowestValid > maxDistance) ? current - maxDistance : lowe… in ZSTD_HcFindBestMatch_generic()
H A Dzstd_fast.c241 const U32 maxDistance = 1U << cParams->windowLog; in ZSTD_compressBlock_fast_dictMatchState_generic() local
243 assert(endIndex - prefixStartIndex <= maxDistance); in ZSTD_compressBlock_fast_dictMatchState_generic()
244 … (void)maxDistance; (void)endIndex; /* these variables are not used when assert() is disabled */ in ZSTD_compressBlock_fast_dictMatchState_generic()
/freebsd/sys/contrib/zstd/lib/compress/
H A Dzstd_compress_internal.h1300 U32 const maxDistance = 1U << windowLog; in ZSTD_getLowestMatchIndex() local
1302 U32 const withinWindow = (curr - lowestValid > maxDistance) ? curr - maxDistance : lowestValid; in ZSTD_getLowestMatchIndex()
1317 U32 const maxDistance = 1U << windowLog; in ZSTD_getLowestPrefixIndex() local
1319 … U32 const withinWindow = (curr - lowestValid > maxDistance) ? curr - maxDistance : lowestValid; in ZSTD_getLowestPrefixIndex()
H A Dzstd_fast.c405 const U32 maxDistance = 1U << cParams->windowLog; in ZSTD_compressBlock_fast_dictMatchState_generic() local
407 assert(endIndex - prefixStartIndex <= maxDistance); in ZSTD_compressBlock_fast_dictMatchState_generic()
408 … (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()
664 const U32 maxDistance = 1U << cParams->windowLog; in ZSTD_HcFindBestMatch() local
666 …const U32 withinMaxDistance = (curr - lowestValid > maxDistance) ? curr - maxDistance : lowestVali… in ZSTD_HcFindBestMatch()
1147 const U32 maxDistance = 1U << cParams->windowLog; in ZSTD_RowFindBestMatch() local
1149 …const U32 withinMaxDistance = (curr - lowestValid > maxDistance) ? curr - maxDistance : lowestVali… in ZSTD_RowFindBestMatch()