Searched refs:hashAndTag (Results 1 – 2 of 2) sorted by relevance
| /linux/lib/zstd/compress/ |
| H A D | zstd_fast.c | 39 { size_t const hashAndTag = ZSTD_hashPtr(ip, hBits, mls); in ZSTD_fillHashTableForCDict() local 40 ZSTD_writeTaggedIndex(hashTable, hashAndTag, curr); } in ZSTD_fillHashTableForCDict() 46 size_t const hashAndTag = ZSTD_hashPtr(ip + p, hBits, mls); in ZSTD_fillHashTableForCDict() local 47 if (hashTable[hashAndTag >> ZSTD_SHORT_CACHE_TAG_BITS] == 0) { /* not yet filled */ in ZSTD_fillHashTableForCDict() 48 ZSTD_writeTaggedIndex(hashTable, hashAndTag, curr + p); in ZSTD_fillHashTableForCDict()
|
| H A D | zstd_compress_internal.h | 1479 MEM_STATIC void ZSTD_writeTaggedIndex(U32* const hashTable, size_t hashAndTag, U32 index) { in ZSTD_writeTaggedIndex() argument 1480 size_t const hash = hashAndTag >> ZSTD_SHORT_CACHE_TAG_BITS; in ZSTD_writeTaggedIndex() 1481 U32 const tag = (U32)(hashAndTag & ZSTD_SHORT_CACHE_TAG_MASK); in ZSTD_writeTaggedIndex()
|