Home
last modified time | relevance | path

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

/linux-6.15/lib/zstd/compress/
H A Dzstd_compress_internal.h915 static const U64 prime8bytes = 0xCF1BBCDCB7A56463ULL; variable
916 …_hash8(U64 u, U32 h, U64 s) { assert(h <= 64); return (size_t)((((u) * prime8bytes) ^ s) >> (64-h… in ZSTD_hash8()
981 hash *= prime8bytes; in ZSTD_rollingHash_append()
1001 return ZSTD_ipow(prime8bytes, length - 1); in ZSTD_rollingHash_primePower()
1010 hash *= prime8bytes; in ZSTD_rollingHash_rotate()
/linux-6.15/lib/lz4/
H A Dlz4_compress.c72 static const U64 prime8bytes = 11400714785074694791ULL; in LZ4_hash5() local
74 return (U32)(((sequence >> 24) * prime8bytes) >> (64 - hashLog)); in LZ4_hash5()