Lines Matching refs:U64
528 typedef uint64_t U64; typedef
530 …typedef unsigned long long U64; /* if your compiler doesn't support unsigned long long, replace … typedef
538 static U64 XXH_read64(const void* memPtr) { return *(const U64*) memPtr; } in XXH_read64()
544 typedef union { U32 u32; U64 u64; } __attribute__((packed)) unalign64;
545 static U64 XXH_read64(const void* ptr) { return ((const unalign64*)ptr)->u64; } in XXH_read64()
553 static U64 XXH_read64(const void* memPtr) in XXH_read64()
555 U64 val; in XXH_read64()
567 static U64 XXH_swap64 (U64 x) in XXH_swap64()
580 FORCE_INLINE U64 XXH_readLE64_align(const void* ptr, XXH_endianess endian, XXH_alignment align) in XXH_readLE64_align()
585 return endian==XXH_littleEndian ? *(const U64*)ptr : XXH_swap64(*(const U64*)ptr); in XXH_readLE64_align()
588 FORCE_INLINE U64 XXH_readLE64(const void* ptr, XXH_endianess endian) in XXH_readLE64()
593 static U64 XXH_readBE64(const void* ptr) in XXH_readBE64()
601 static const U64 PRIME64_1 = 11400714785074694791ULL;
602 static const U64 PRIME64_2 = 14029467366897019727ULL;
603 static const U64 PRIME64_3 = 1609587929392839161ULL;
604 static const U64 PRIME64_4 = 9650029242287828579ULL;
605 static const U64 PRIME64_5 = 2870177450012600261ULL;
607 static U64 XXH64_round(U64 acc, U64 input) in XXH64_round()
615 static U64 XXH64_mergeRound(U64 acc, U64 val) in XXH64_mergeRound()
623 FORCE_INLINE U64 XXH64_endian_align(const void* input, size_t len, U64 seed, XXH_endianess endian, … in XXH64_endian_align()
627 U64 h64; in XXH64_endian_align()
639 U64 v1 = seed + PRIME64_1 + PRIME64_2; in XXH64_endian_align()
640 U64 v2 = seed + PRIME64_2; in XXH64_endian_align()
641 U64 v3 = seed + 0; in XXH64_endian_align()
642 U64 v4 = seed - PRIME64_1; in XXH64_endian_align()
661 h64 += (U64) len; in XXH64_endian_align()
664 U64 const k1 = XXH64_round(0, XXH_get64bits(p)); in XXH64_endian_align()
671 h64 ^= (U64)(XXH_get32bits(p)) * PRIME64_1; in XXH64_endian_align()
776 U64 v1 = state->v1; in XXH64_update_endian()
777 U64 v2 = state->v2; in XXH64_update_endian()
778 U64 v3 = state->v3; in XXH64_update_endian()
779 U64 v4 = state->v4; in XXH64_update_endian()
812 FORCE_INLINE U64 XXH64_digest_endian (const XXH64_state_t* state, XXH_endianess endian) in XXH64_digest_endian()
816 U64 h64; in XXH64_digest_endian()
819 U64 const v1 = state->v1; in XXH64_digest_endian()
820 U64 const v2 = state->v2; in XXH64_digest_endian()
821 U64 const v3 = state->v3; in XXH64_digest_endian()
822 U64 const v4 = state->v4; in XXH64_digest_endian()
833 h64 += (U64) state->total_len; in XXH64_digest_endian()
836 U64 const k1 = XXH64_round(0, XXH_readLE64(p, endian)); in XXH64_digest_endian()
843 h64 ^= (U64)(XXH_readLE32(p, endian)) * PRIME64_1; in XXH64_digest_endian()