Searched refs:hashLog3 (Results 1 - 5 of 5) sorted by relevance
/kernel/linux/linux-6.6/lib/zstd/compress/ |
H A D | zstd_opt.c | 387 U32 const hashLog3 = ms->hashLog3; in ZSTD_insertAndFindFirstIndexHash3() local 391 size_t const hash3 = ZSTD_hash3Ptr(ip, hashLog3); in ZSTD_insertAndFindFirstIndexHash3() 392 assert(hashLog3 > 0); in ZSTD_insertAndFindFirstIndexHash3() 395 hashTable3[ZSTD_hash3Ptr(base+idx, hashLog3)] = idx; in ZSTD_insertAndFindFirstIndexHash3()
|
H A D | zstd_compress.c | 47 * The actual (selected) size of the hash table is then stored in ZSTD_matchState_t.hashLog3, 1358 U32 const hashLog3 = (forCCtx && cParams->minMatch==3) ? MIN(ZSTD_HASHLOG3_MAX, cParams->windowLog) : 0; in ZSTD_sizeof_matchState() local 1359 size_t const h3Size = hashLog3 ? ((size_t)1) << hashLog3 : 0; in ZSTD_sizeof_matchState() 1656 U32 const hashLog3 = ((forWho == ZSTD_resetTarget_CCtx) && cParams->minMatch==3) ? MIN(ZSTD_HASHLOG3_MAX, cParams->windowLog) : 0; in ZSTD_reset_matchState() local 1657 size_t const h3Size = hashLog3 ? ((size_t)1) << hashLog3 : 0; in ZSTD_reset_matchState() 1666 ms->hashLog3 = hashLog3; in ZSTD_reset_matchState() 2076 { int const h3log = cctx->blockState.matchState.hashLog3; in ZSTD_resetCCtx_byCopyingCDict() [all...] |
H A D | zstd_compress_internal.h | 212 U32 hashLog3; /* dispatch table for matches of len==3 : larger == faster, more memory */ member
|
/kernel/linux/linux-5.10/lib/zstd/ |
H A D | compress.c | 61 U32 hashLog3; /* dispatch table : larger == faster, more memory */ member 98 U32 const hashLog3 = (cParams.searchLength > 3) ? 0 : MIN(ZSTD_HASHLOG3_MAX, cParams.windowLog); in ZSTD_CCtxWorkspaceBound() local 99 size_t const h3Size = ((size_t)1) << hashLog3; in ZSTD_CCtxWorkspaceBound() 258 U32 const hashLog3 = (params.cParams.searchLength > 3) ? 0 : MIN(ZSTD_HASHLOG3_MAX, params.cParams.windowLog); in ZSTD_resetCCtx_advanced() local 259 size_t const h3Size = ((size_t)1) << hashLog3; in ZSTD_resetCCtx_advanced() 281 zc->hashLog3 = hashLog3; in ZSTD_resetCCtx_advanced() 364 size_t const h3Size = (size_t)1 << srcCCtx->hashLog3; in ZSTD_copyCCtx() 423 U32 const h3Size = (zc->hashLog3) ? 1 << zc->hashLog3 in ZSTD_reduceIndex() [all...] |
H A D | zstd_opt.h | 218 U32 const hashLog3 = zc->hashLog3; in ZSTD_insertAndFindFirstIndexHash3() local 222 const size_t hash3 = ZSTD_hash3Ptr(ip, hashLog3); in ZSTD_insertAndFindFirstIndexHash3() 225 hashTable3[ZSTD_hash3Ptr(base + idx, hashLog3)] = idx; in ZSTD_insertAndFindFirstIndexHash3()
|
Completed in 18 milliseconds