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.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()
/freebsd/sys/contrib/zstd/lib/compress/
H A Dzstd_compress_internal.h1397 U32 const maxDistance = 1U << windowLog; in ZSTD_getLowestMatchIndex() local
1399 U32 const withinWindow = (curr - lowestValid > maxDistance) ? curr - maxDistance : lowestValid; in ZSTD_getLowestMatchIndex()
1414 U32 const maxDistance = 1U << windowLog; in ZSTD_getLowestPrefixIndex() local
1416 … U32 const withinWindow = (curr - lowestValid > maxDistance) ? curr - maxDistance : lowestValid; in ZSTD_getLowestPrefixIndex()
H A Dzstd_lazy.c97 U32 const maxDistance = 1U << cParams->windowLog; in ZSTD_insertDUBT1() local
98 U32 const windowLow = (curr - windowValid > maxDistance) ? curr - maxDistance : windowValid; in ZSTD_insertDUBT1()
683 const U32 maxDistance = 1U << cParams->windowLog; in ZSTD_HcFindBestMatch() local
685 …const U32 withinMaxDistance = (curr - lowestValid > maxDistance) ? curr - maxDistance : lowestVali… in ZSTD_HcFindBestMatch()
1159 const U32 maxDistance = 1U << cParams->windowLog; in ZSTD_RowFindBestMatch() local
1161 …const U32 withinMaxDistance = (curr - lowestValid > maxDistance) ? curr - maxDistance : lowestVali… in ZSTD_RowFindBestMatch()
H A Dzstd_fast.c516 const U32 maxDistance = 1U << cParams->windowLog; in ZSTD_compressBlock_fast_dictMatchState_generic() local
518 assert(endIndex - prefixStartIndex <= maxDistance); in ZSTD_compressBlock_fast_dictMatchState_generic()
519 … (void)maxDistance; (void)endIndex; /* these variables are not used when assert() is disabled */ in ZSTD_compressBlock_fast_dictMatchState_generic()