Home
last modified time | relevance | path

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

/freebsd-12.1/sys/contrib/zstd/lib/compress/
H A Dzstd_compress_internal.h522 U32 maxDist, void const* src) in ZSTD_window_correctOverflow() argument
545 U32 const newCurrent = (current & cycleMask) + maxDist; in ZSTD_window_correctOverflow()
547 assert((maxDist & cycleMask) == 0); in ZSTD_window_correctOverflow()
576 void const* srcEnd, U32 maxDist, in ZSTD_window_enforceMaxDist() argument
581 if (current > maxDist + loadedDictEnd) { in ZSTD_window_enforceMaxDist()
582 U32 const newLowLimit = current - maxDist; in ZSTD_window_enforceMaxDist()
H A Dzstd_ldm.c468 U32 const maxDist = 1U << params->windowLog; in ZSTD_ldm_generateSequences() local
500 &ldmState->window, /* cycleLog */ 0, maxDist, src); in ZSTD_ldm_generateSequences()
511 ZSTD_window_enforceMaxDist(&ldmState->window, chunkEnd, maxDist, NULL); in ZSTD_ldm_generateSequences()
H A Dzstd_compress.c1987 U32 const maxDist = (U32)1 << cctx->appliedParams.cParams.windowLog; in ZSTD_compress_frameChunk() local
2004 U32 const correction = ZSTD_window_correctOverflow(&ms->window, cycleLog, maxDist, ip); in ZSTD_compress_frameChunk()
2014 ZSTD_window_enforceMaxDist(&ms->window, ip + blockSize, maxDist, &ms->loadedDictEnd); in ZSTD_compress_frameChunk()