Home
last modified time | relevance | path

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

/freebsd-13.1/sys/contrib/zstd/lib/compress/
H A Dzstd_compress_internal.h696 static const U64 prime8bytes = 0xCF1BBCDCB7A56463ULL; variable
697 static size_t ZSTD_hash8(U64 u, U32 h) { return (size_t)(((u) * prime8bytes) >> (64-h)) ; } in ZSTD_hash8()
738 hash *= prime8bytes; in ZSTD_rollingHash_append()
758 return ZSTD_ipow(prime8bytes, length - 1); in ZSTD_rollingHash_primePower()
767 hash *= prime8bytes; in ZSTD_rollingHash_rotate()
/freebsd-13.1/contrib/subversion/subversion/libsvn_subr/lz4/
H A Dlz4.c423 static const U64 prime8bytes = 11400714785074694791ULL; in LZ4_hash5() local
428 return (U32)(((sequence >> 24) * prime8bytes) >> (64 - hashLog)); in LZ4_hash5()
/freebsd-13.1/sys/contrib/openzfs/module/zstd/lib/
H A Dzstd.c10534 static const U64 prime8bytes = 0xCF1BBCDCB7A56463ULL; variable
10535 static size_t ZSTD_hash8(U64 u, U32 h) { return (size_t)(((u) * prime8bytes) >> (64-h)) ; } in ZSTD_hash8()
10575 hash *= prime8bytes; in ZSTD_rollingHash_append()
10595 return ZSTD_ipow(prime8bytes, length - 1); in ZSTD_rollingHash_primePower()
10604 hash *= prime8bytes; in ZSTD_rollingHash_rotate()