Searched refs:maxDist (Results 1 – 4 of 4) sorted by relevance
| /freebsd-13.1/sys/contrib/zstd/lib/compress/ |
| H A D | zstd_compress_internal.h | 844 U32 maxDist, void const* src) in ZSTD_window_correctOverflow() argument 870 U32 const newCurrent = currentCycle1 + maxDist; in ZSTD_window_correctOverflow() 872 assert((maxDist & cycleMask) == 0); in ZSTD_window_correctOverflow() 885 assert(newCurrent >= maxDist); in ZSTD_window_correctOverflow() 886 assert(newCurrent - maxDist >= 1); in ZSTD_window_correctOverflow() 922 U32 maxDist, in ZSTD_window_enforceMaxDist() argument 929 (unsigned)blockEndIdx, (unsigned)maxDist, (unsigned)loadedDictEnd); in ZSTD_window_enforceMaxDist() 944 if (blockEndIdx > maxDist + loadedDictEnd) { in ZSTD_window_enforceMaxDist() 945 U32 const newLowLimit = blockEndIdx - maxDist; in ZSTD_window_enforceMaxDist() 967 U32 maxDist, in ZSTD_checkDictValidity() argument [all …]
|
| H A D | zstd_ldm.c | 448 U32 const maxDist = 1U << params->windowLog; in ZSTD_ldm_generateSequences() local 480 &ldmState->window, /* cycleLog */ 0, maxDist, chunkStart); in ZSTD_ldm_generateSequences() 499 … ZSTD_window_enforceMaxDist(&ldmState->window, chunkEnd, maxDist, &ldmState->loadedDictEnd, NULL); in ZSTD_ldm_generateSequences()
|
| H A D | zstd_compress.c | 2814 U32 const maxDist = (U32)1 << params->cParams.windowLog; in ZSTD_overflowCorrectIfNeeded() local 2816 U32 const correction = ZSTD_window_correctOverflow(&ms->window, cycleLog, maxDist, ip); in ZSTD_overflowCorrectIfNeeded() 2848 U32 const maxDist = (U32)1 << cctx->appliedParams.cParams.windowLog; in ZSTD_compress_frameChunk() local 2867 …ZSTD_checkDictValidity(&ms->window, ip + blockSize, maxDist, &ms->loadedDictEnd, &ms->dictMatchSta… in ZSTD_compress_frameChunk()
|
| /freebsd-13.1/sys/contrib/openzfs/module/zstd/lib/ |
| H A D | zstd.c | 10707 U32 const newCurrent = currentCycle1 + maxDist; in ZSTD_window_correctOverflow() 10709 assert((maxDist & cycleMask) == 0); in ZSTD_window_correctOverflow() 10722 assert(newCurrent >= maxDist); in ZSTD_window_correctOverflow() 10723 assert(newCurrent - maxDist >= 1); in ZSTD_window_correctOverflow() 10759 U32 maxDist, in ZSTD_window_enforceMaxDist() argument 10781 if (blockEndIdx > maxDist + loadedDictEnd) { in ZSTD_window_enforceMaxDist() 10782 U32 const newLowLimit = blockEndIdx - maxDist; in ZSTD_window_enforceMaxDist() 10804 U32 maxDist, in ZSTD_checkDictValidity() argument 10816 if (blockEndIdx > loadedDictEnd + maxDist) { in ZSTD_checkDictValidity() 15640 U32 const maxDist = (U32)1 << params->cParams.windowLog; in ZSTD_overflowCorrectIfNeeded() local [all …]
|