Home
last modified time | relevance | path

Searched refs:chainSize (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/lib/zstd/compress/
Dzstd_lazy.c404 U32 const chainSize = 1 << ms->cParams.chainLog; in ZSTD_dedicatedDictSearch_lazy_loadDictionary() local
406 U32 const minChain = chainSize < target - idx ? target - chainSize : idx; in ZSTD_dedicatedDictSearch_lazy_loadDictionary()
484 assert(chainPos <= chainSize); /* I believe this is guaranteed... */ in ZSTD_dedicatedDictSearch_lazy_loadDictionary()
656 const U32 chainSize = (1 << cParams->chainLog); in ZSTD_HcFindBestMatch() local
657 const U32 chainMask = chainSize-1; in ZSTD_HcFindBestMatch()
669 const U32 minChain = curr > chainSize ? curr - chainSize : 0; in ZSTD_HcFindBestMatch()
Dzstd_compress.c1354 …size_t const chainSize = ZSTD_allocateChainTable(cParams->strategy, useRowMatchFinder, enableDedic… in ZSTD_sizeof_matchState() local
1362 size_t const tableSpace = chainSize * sizeof(U32) in ZSTD_sizeof_matchState()
1385 (U32)chainSize, (U32)hSize, (U32)h3Size); in ZSTD_sizeof_matchState()
1651 size_t const chainSize = ZSTD_allocateChainTable(cParams->strategy, useRowMatchFinder, in ZSTD_reset_matchState() local
1677 ms->chainTable = (U32*)ZSTD_cwksp_reserve_table(ws, chainSize * sizeof(U32)); in ZSTD_reset_matchState()
2052 …{ size_t const chainSize = ZSTD_allocateChainTable(cdict_cParams->strategy, cdict->useRowMatchFi… in ZSTD_resetCCtx_byCopyingCDict() local
2064 chainSize * sizeof(U32)); in ZSTD_resetCCtx_byCopyingCDict()
2163 { size_t const chainSize = ZSTD_allocateChainTable(srcCCtx->appliedParams.cParams.strategy, in ZSTD_copyCCtx_internal() local
2177 chainSize * sizeof(U32)); in ZSTD_copyCCtx_internal()
2277 U32 const chainSize = (U32)1 << params->cParams.chainLog; in ZSTD_reduceIndex() local
[all …]