Home
last modified time | relevance | path

Searched refs:maxDist (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/lib/zstd/compress/
Dzstd_compress_internal.h827 U32 maxDist, void const* src) in ZSTD_window_correctOverflow() argument
853 U32 const newCurrent = currentCycle1 + maxDist; in ZSTD_window_correctOverflow()
855 assert((maxDist & cycleMask) == 0); in ZSTD_window_correctOverflow()
868 assert(newCurrent >= maxDist); in ZSTD_window_correctOverflow()
869 assert(newCurrent - maxDist >= 1); in ZSTD_window_correctOverflow()
905 U32 maxDist, in ZSTD_window_enforceMaxDist() argument
912 (unsigned)blockEndIdx, (unsigned)maxDist, (unsigned)loadedDictEnd); in ZSTD_window_enforceMaxDist()
927 if (blockEndIdx > maxDist + loadedDictEnd) { in ZSTD_window_enforceMaxDist()
928 U32 const newLowLimit = blockEndIdx - maxDist; in ZSTD_window_enforceMaxDist()
950 U32 maxDist, in ZSTD_checkDictValidity() argument
[all …]
Dzstd_ldm.c474 U32 const maxDist = 1U << params->windowLog; in ZSTD_ldm_generateSequences() local
506 &ldmState->window, /* cycleLog */ 0, maxDist, chunkStart); in ZSTD_ldm_generateSequences()
525 … ZSTD_window_enforceMaxDist(&ldmState->window, chunkEnd, maxDist, &ldmState->loadedDictEnd, NULL); in ZSTD_ldm_generateSequences()
Dzstd_compress.c2763 U32 const maxDist = (U32)1 << params->cParams.windowLog; in ZSTD_overflowCorrectIfNeeded() local
2765 U32 const correction = ZSTD_window_correctOverflow(&ms->window, cycleLog, maxDist, ip); in ZSTD_overflowCorrectIfNeeded()
2797 U32 const maxDist = (U32)1 << cctx->appliedParams.cParams.windowLog; in ZSTD_compress_frameChunk() local
2816 …ZSTD_checkDictValidity(&ms->window, ip + blockSize, maxDist, &ms->loadedDictEnd, &ms->dictMatchSta… in ZSTD_compress_frameChunk()