Lines Matching refs:h64
2478 static xxh_u64 XXH64_avalanche(xxh_u64 h64) in XXH64_avalanche() argument
2480 h64 ^= h64 >> 33; in XXH64_avalanche()
2481 h64 *= XXH_PRIME64_2; in XXH64_avalanche()
2482 h64 ^= h64 >> 29; in XXH64_avalanche()
2483 h64 *= XXH_PRIME64_3; in XXH64_avalanche()
2484 h64 ^= h64 >> 32; in XXH64_avalanche()
2485 return h64; in XXH64_avalanche()
2492 XXH64_finalize(xxh_u64 h64, const xxh_u8* ptr, size_t len, XXH_alignment align) in XXH64_finalize() argument
2499 h64 ^= k1; in XXH64_finalize()
2500 h64 = XXH_rotl64(h64,27) * XXH_PRIME64_1 + XXH_PRIME64_4; in XXH64_finalize()
2504 h64 ^= (xxh_u64)(XXH_get32bits(ptr)) * XXH_PRIME64_1; in XXH64_finalize()
2506 h64 = XXH_rotl64(h64, 23) * XXH_PRIME64_2 + XXH_PRIME64_3; in XXH64_finalize()
2510 h64 ^= (*ptr++) * XXH_PRIME64_5; in XXH64_finalize()
2511 h64 = XXH_rotl64(h64, 11) * XXH_PRIME64_1; in XXH64_finalize()
2514 return XXH64_avalanche(h64); in XXH64_finalize()
2530 xxh_u64 h64; in XXH64_endian_align() local
2548 h64 = XXH_rotl64(v1, 1) + XXH_rotl64(v2, 7) + XXH_rotl64(v3, 12) + XXH_rotl64(v4, 18); in XXH64_endian_align()
2549 h64 = XXH64_mergeRound(h64, v1); in XXH64_endian_align()
2550 h64 = XXH64_mergeRound(h64, v2); in XXH64_endian_align()
2551 h64 = XXH64_mergeRound(h64, v3); in XXH64_endian_align()
2552 h64 = XXH64_mergeRound(h64, v4); in XXH64_endian_align()
2555 h64 = seed + XXH_PRIME64_5; in XXH64_endian_align()
2558 h64 += (xxh_u64) len; in XXH64_endian_align()
2560 return XXH64_finalize(h64, input, len, align); in XXH64_endian_align()
2673 xxh_u64 h64; in XXH64_digest() local
2676 …h64 = XXH_rotl64(state->v[0], 1) + XXH_rotl64(state->v[1], 7) + XXH_rotl64(state->v[2], 12) + XXH_… in XXH64_digest()
2677 h64 = XXH64_mergeRound(h64, state->v[0]); in XXH64_digest()
2678 h64 = XXH64_mergeRound(h64, state->v[1]); in XXH64_digest()
2679 h64 = XXH64_mergeRound(h64, state->v[2]); in XXH64_digest()
2680 h64 = XXH64_mergeRound(h64, state->v[3]); in XXH64_digest()
2682 h64 = state->v[2] /*seed*/ + XXH_PRIME64_5; in XXH64_digest()
2685 h64 += (xxh_u64) state->total_len; in XXH64_digest()
2687 return XXH64_finalize(h64, (const xxh_u8*)state->mem64, (size_t)state->total_len, XXH_aligned); in XXH64_digest()
3420 static XXH64_hash_t XXH3_avalanche(xxh_u64 h64) in XXH3_avalanche() argument
3422 h64 = XXH_xorshift64(h64, 37); in XXH3_avalanche()
3423 h64 *= 0x165667919E3779F9ULL; in XXH3_avalanche()
3424 h64 = XXH_xorshift64(h64, 32); in XXH3_avalanche()
3425 return h64; in XXH3_avalanche()
3433 static XXH64_hash_t XXH3_rrmxmx(xxh_u64 h64, xxh_u64 len) in XXH3_rrmxmx() argument
3436 h64 ^= XXH_rotl64(h64, 49) ^ XXH_rotl64(h64, 24); in XXH3_rrmxmx()
3437 h64 *= 0x9FB21C651E98DF25ULL; in XXH3_rrmxmx()
3438 h64 ^= (h64 >> 35) + len ; in XXH3_rrmxmx()
3439 h64 *= 0x9FB21C651E98DF25ULL; in XXH3_rrmxmx()
3440 return XXH_xorshift64(h64, 28); in XXH3_rrmxmx()