Searched refs:maxDist (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/lib/zstd/compress/ |
D | zstd_compress_internal.h | 956 U32 maxDist, in ZSTD_window_canOverflowCorrect() argument 963 + MAX(maxDist, cycleSize) in ZSTD_window_canOverflowCorrect() 979 U32 const dictionaryInvalidated = curr > maxDist + loadedDictEnd; in ZSTD_window_canOverflowCorrect() 991 U32 maxDist, in ZSTD_window_needOverflowCorrection() argument 998 if (ZSTD_window_canOverflowCorrect(window, cycleLog, maxDist, loadedDictEnd, src)) { in ZSTD_window_needOverflowCorrection() 1015 U32 maxDist, void const* src) in ZSTD_window_correctOverflow() argument 1046 + MAX(maxDist, cycleSize); in ZSTD_window_correctOverflow() 1052 assert((maxDist & (maxDist - 1)) == 0); in ZSTD_window_correctOverflow() 1074 assert(newCurrent >= maxDist); in ZSTD_window_correctOverflow() 1075 assert(newCurrent - maxDist >= ZSTD_WINDOW_START_INDEX); in ZSTD_window_correctOverflow() [all …]
|
D | zstd_ldm.c | 509 U32 const maxDist = 1U << params->windowLog; in ZSTD_ldm_generateSequences() local 538 …if (ZSTD_window_needOverflowCorrection(ldmState->window, 0, maxDist, ldmState->loadedDictEnd, chun… in ZSTD_ldm_generateSequences() 541 &ldmState->window, /* cycleLog */ 0, maxDist, chunkStart); in ZSTD_ldm_generateSequences() 560 … ZSTD_window_enforceMaxDist(&ldmState->window, chunkEnd, maxDist, &ldmState->loadedDictEnd, NULL); in ZSTD_ldm_generateSequences()
|
D | zstd_compress.c | 3817 U32 const maxDist = (U32)1 << params->cParams.windowLog; in ZSTD_overflowCorrectIfNeeded() local 3818 …if (ZSTD_window_needOverflowCorrection(ms->window, cycleLog, maxDist, ms->loadedDictEnd, ip, iend)… in ZSTD_overflowCorrectIfNeeded() 3819 U32 const correction = ZSTD_window_correctOverflow(&ms->window, cycleLog, maxDist, ip); in ZSTD_overflowCorrectIfNeeded() 3851 U32 const maxDist = (U32)1 << cctx->appliedParams.cParams.windowLog; in ZSTD_compress_frameChunk() local 3870 …ZSTD_checkDictValidity(&ms->window, ip + blockSize, maxDist, &ms->loadedDictEnd, &ms->dictMatchSta… in ZSTD_compress_frameChunk() 3871 … ZSTD_window_enforceMaxDist(&ms->window, ip, maxDist, &ms->loadedDictEnd, &ms->dictMatchState); in ZSTD_compress_frameChunk()
|