Searched refs:ZSTD_hashPtr (Results 1 – 2 of 2) sorted by relevance
/lib/zstd/ |
D | compress.c | 976 static size_t ZSTD_hashPtr(const void *p, U32 hBits, U32 mls) in ZSTD_hashPtr() function 1002 hashTable[ZSTD_hashPtr(ip, hBits, mls)] = (U32)(ip - base); in ZSTD_fillHashTable() 1037 size_t const h = ZSTD_hashPtr(ip, hBits, mls); in ZSTD_compressBlock_fast_generic() 1072 …hashTable[ZSTD_hashPtr(base + curr + 2, hBits, mls)] = curr + 2; /* here because curr+2 could be >… in ZSTD_compressBlock_fast_generic() 1073 hashTable[ZSTD_hashPtr(ip - 2, hBits, mls)] = (U32)(ip - 2 - base); in ZSTD_compressBlock_fast_generic() 1083 hashTable[ZSTD_hashPtr(ip, hBits, mls)] = (U32)(ip - base); in ZSTD_compressBlock_fast_generic() 1137 const size_t h = ZSTD_hashPtr(ip, hBits, mls); in ZSTD_compressBlock_fast_extDict_generic() 1182 hashTable[ZSTD_hashPtr(base + curr + 2, hBits, mls)] = curr + 2; in ZSTD_compressBlock_fast_extDict_generic() 1183 hashTable[ZSTD_hashPtr(ip - 2, hBits, mls)] = (U32)(ip - 2 - base); in ZSTD_compressBlock_fast_extDict_generic() 1198 hashTable[ZSTD_hashPtr(ip, hBits, mls)] = curr2; in ZSTD_compressBlock_fast_extDict_generic() [all …]
|
D | zstd_opt.h | 241 const size_t h = ZSTD_hashPtr(ip, hashLog, mls); in ZSTD_insertBtAndGetAllMatches()
|