Searched refs:prime8bytes (Results 1 – 2 of 2) sorted by relevance
861 static const U64 prime8bytes = 0xCF1BBCDCB7A56463ULL; variable862 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()
924 static const U64 prime8bytes = 0xCF1BBCDCB7A56463ULL; variable925 …_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()