Home
last modified time | relevance | path

Searched refs:prime8bytes (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-6.6/lib/zstd/compress/
H A Dzstd_compress_internal.h805 static const U64 prime8bytes = 0xCF1BBCDCB7A56463ULL; variable
806 static size_t ZSTD_hash8(U64 u, U32 h) { return (size_t)(((u) * prime8bytes) >> (64-h)) ; } in ZSTD_hash8()
847 hash *= prime8bytes; in ZSTD_rollingHash_append()
867 return ZSTD_ipow(prime8bytes, length - 1); in ZSTD_rollingHash_primePower()
876 hash *= prime8bytes; in ZSTD_rollingHash_rotate()
/kernel/linux/linux-5.10/lib/lz4/
H A Dlz4_compress.c73 static const U64 prime8bytes = 11400714785074694791ULL; in LZ4_hash5()
75 return (U32)(((sequence >> 24) * prime8bytes) >> (64 - hashLog)); in LZ4_hash5()
/kernel/linux/linux-6.6/lib/lz4/
H A Dlz4_compress.c73 static const U64 prime8bytes = 11400714785074694791ULL; in LZ4_hash5()
75 return (U32)(((sequence >> 24) * prime8bytes) >> (64 - hashLog)); in LZ4_hash5()
/kernel/linux/linux-5.10/lib/zstd/
H A Dcompress.c972 static const U64 prime8bytes = 0xCF1BBCDCB7A56463ULL; variable
973 static size_t ZSTD_hash8(U64 u, U32 h) { return (size_t)(((u)*prime8bytes) >> (64 - h)); } in ZSTD_hash8()

Completed in 20 milliseconds