Home
last modified time | relevance | path

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

/src/sys/contrib/zstd/lib/compress/
H A Dzstd_compress_internal.h861 static const U64 prime8bytes = 0xCF1BBCDCB7A56463ULL; variable
862 static size_t ZSTD_hash8(U64 u, U32 h) { return (size_t)(((u) * prime8bytes) >> (64-h)) ; } in ZSTD_hash8()
903 hash *= prime8bytes; in ZSTD_rollingHash_append()
923 return ZSTD_ipow(prime8bytes, length - 1); in ZSTD_rollingHash_primePower()
932 hash *= prime8bytes; in ZSTD_rollingHash_rotate()
/src/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_compress_internal.h924 static const U64 prime8bytes = 0xCF1BBCDCB7A56463ULL; variable
925 …_hash8(U64 u, U32 h, U64 s) { assert(h <= 64); return (size_t)((((u) * prime8bytes) ^ s) >> (64-h… in ZSTD_hash8()
990 hash *= prime8bytes; in ZSTD_rollingHash_append()
1010 return ZSTD_ipow(prime8bytes, length - 1); in ZSTD_rollingHash_primePower()
1019 hash *= prime8bytes; in ZSTD_rollingHash_rotate()