Home
last modified time | relevance | path

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

/src/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()
/src/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_compress_internal.h1398 U32 const maxDistance = 1U << windowLog; in ZSTD_getLowestMatchIndex() local
1400 U32 const withinWindow = (curr - lowestValid > maxDistance) ? curr - maxDistance : lowestValid; in ZSTD_getLowestMatchIndex()
1415 U32 const maxDistance = 1U << windowLog; in ZSTD_getLowestPrefixIndex() local
1417 … U32 const withinWindow = (curr - lowestValid > maxDistance) ? curr - maxDistance : lowestValid; in ZSTD_getLowestPrefixIndex()
H A Dzstd_lazy.c98 U32 const maxDistance = 1U << cParams->windowLog; in ZSTD_insertDUBT1() local
99 U32 const windowLow = (curr - windowValid > maxDistance) ? curr - maxDistance : windowValid; in ZSTD_insertDUBT1()
684 const U32 maxDistance = 1U << cParams->windowLog; in ZSTD_HcFindBestMatch() local
686 …const U32 withinMaxDistance = (curr - lowestValid > maxDistance) ? curr - maxDistance : lowestVali… in ZSTD_HcFindBestMatch()
1160 const U32 maxDistance = 1U << cParams->windowLog; in ZSTD_RowFindBestMatch() local
1162 …const U32 withinMaxDistance = (curr - lowestValid > maxDistance) ? curr - maxDistance : lowestVali… in ZSTD_RowFindBestMatch()
H A Dzstd_fast.c517 const U32 maxDistance = 1U << cParams->windowLog; in ZSTD_compressBlock_fast_dictMatchState_generic() local
519 assert(endIndex - prefixStartIndex <= maxDistance); in ZSTD_compressBlock_fast_dictMatchState_generic()
520 … (void)maxDistance; (void)endIndex; /* these variables are not used when assert() is disabled */ in ZSTD_compressBlock_fast_dictMatchState_generic()