Home | History | Annotate | Download | only in compress

Lines Matching refs:U64

287     U64 hashSalt;                            /* For row-based matchFinder: salts the hash for reuse of tag table */
908 static const U64 prime5bytes = 889523592379ULL;
909 static size_t ZSTD_hash5(U64 u, U32 h, U64 s) { assert(h <= 64); return (size_t)((((u << (64-40)) * prime5bytes) ^ s) >> (64-h)) ; }
911 static size_t ZSTD_hash5PtrS(const void* p, U32 h, U64 s) { return ZSTD_hash5(MEM_readLE64(p), h, s); }
913 static const U64 prime6bytes = 227718039650203ULL;
914 static size_t ZSTD_hash6(U64 u, U32 h, U64 s) { assert(h <= 64); return (size_t)((((u << (64-48)) * prime6bytes) ^ s) >> (64-h)) ; }
916 static size_t ZSTD_hash6PtrS(const void* p, U32 h, U64 s) { return ZSTD_hash6(MEM_readLE64(p), h, s); }
918 static const U64 prime7bytes = 58295818150454627ULL;
919 static size_t ZSTD_hash7(U64 u, U32 h, U64 s) { assert(h <= 64); return (size_t)((((u << (64-56)) * prime7bytes) ^ s) >> (64-h)) ; }
921 static size_t ZSTD_hash7PtrS(const void* p, U32 h, U64 s) { return ZSTD_hash7(MEM_readLE64(p), h, s); }
923 static const U64 prime8bytes = 0xCF1BBCDCB7A56463ULL;
924 static size_t ZSTD_hash8(U64 u, U32 h, U64 s) { assert(h <= 64); return (size_t)((((u) * prime8bytes) ^ s) >> (64-h)) ; }
926 static size_t ZSTD_hash8PtrS(const void* p, U32 h, U64 s) { return ZSTD_hash8(MEM_readLE64(p), h, s); }
948 size_t ZSTD_hashPtrSalted(const void* p, U32 hBits, U32 mls, const U64 hashSalt) {
968 static U64 ZSTD_ipow(U64 base, U64 exponent)
970 U64 power = 1;
984 static U64 ZSTD_rollingHash_append(U64 hash, void const* buf, size_t size)
998 MEM_STATIC U64 ZSTD_rollingHash_compute(void const* buf, size_t size)
1007 MEM_STATIC U64 ZSTD_rollingHash_primePower(U32 length)
1015 MEM_STATIC U64 ZSTD_rollingHash_rotate(U64 hash, BYTE toRemove, BYTE toAdd, U64 primePower)
1547 const ZSTD_CCtx_params* CCtxParams, U64 srcSizeHint, size_t dictSize, ZSTD_CParamMode_e mode);