Lines Matching refs:h64
2447 static xxh_u64 XXH64_avalanche(xxh_u64 h64) in XXH64_avalanche() argument
2449 h64 ^= h64 >> 33; in XXH64_avalanche()
2450 h64 *= XXH_PRIME64_2; in XXH64_avalanche()
2451 h64 ^= h64 >> 29; in XXH64_avalanche()
2452 h64 *= XXH_PRIME64_3; in XXH64_avalanche()
2453 h64 ^= h64 >> 32; in XXH64_avalanche()
2454 return h64; in XXH64_avalanche()
2461 XXH64_finalize(xxh_u64 h64, const xxh_u8* ptr, size_t len, XXH_alignment align) in XXH64_finalize() argument
2468 h64 ^= k1; in XXH64_finalize()
2469 h64 = XXH_rotl64(h64,27) * XXH_PRIME64_1 + XXH_PRIME64_4; in XXH64_finalize()
2473 h64 ^= (xxh_u64)(XXH_get32bits(ptr)) * XXH_PRIME64_1; in XXH64_finalize()
2475 h64 = XXH_rotl64(h64, 23) * XXH_PRIME64_2 + XXH_PRIME64_3; in XXH64_finalize()
2479 h64 ^= (*ptr++) * XXH_PRIME64_5; in XXH64_finalize()
2480 h64 = XXH_rotl64(h64, 11) * XXH_PRIME64_1; in XXH64_finalize()
2483 return XXH64_avalanche(h64); in XXH64_finalize()
2499 xxh_u64 h64; in XXH64_endian_align() local
2517 h64 = XXH_rotl64(v1, 1) + XXH_rotl64(v2, 7) + XXH_rotl64(v3, 12) + XXH_rotl64(v4, 18); in XXH64_endian_align()
2518 h64 = XXH64_mergeRound(h64, v1); in XXH64_endian_align()
2519 h64 = XXH64_mergeRound(h64, v2); in XXH64_endian_align()
2520 h64 = XXH64_mergeRound(h64, v3); in XXH64_endian_align()
2521 h64 = XXH64_mergeRound(h64, v4); in XXH64_endian_align()
2524 h64 = seed + XXH_PRIME64_5; in XXH64_endian_align()
2527 h64 += (xxh_u64) len; in XXH64_endian_align()
2529 return XXH64_finalize(h64, input, len, align); in XXH64_endian_align()
2642 xxh_u64 h64; in XXH64_digest() local
2645 …h64 = XXH_rotl64(state->v[0], 1) + XXH_rotl64(state->v[1], 7) + XXH_rotl64(state->v[2], 12) + XXH_… in XXH64_digest()
2646 h64 = XXH64_mergeRound(h64, state->v[0]); in XXH64_digest()
2647 h64 = XXH64_mergeRound(h64, state->v[1]); in XXH64_digest()
2648 h64 = XXH64_mergeRound(h64, state->v[2]); in XXH64_digest()
2649 h64 = XXH64_mergeRound(h64, state->v[3]); in XXH64_digest()
2651 h64 = state->v[2] /*seed*/ + XXH_PRIME64_5; in XXH64_digest()
2654 h64 += (xxh_u64) state->total_len; in XXH64_digest()
2656 return XXH64_finalize(h64, (const xxh_u8*)state->mem64, (size_t)state->total_len, XXH_aligned); in XXH64_digest()
3389 static XXH64_hash_t XXH3_avalanche(xxh_u64 h64) in XXH3_avalanche() argument
3391 h64 = XXH_xorshift64(h64, 37); in XXH3_avalanche()
3392 h64 *= 0x165667919E3779F9ULL; in XXH3_avalanche()
3393 h64 = XXH_xorshift64(h64, 32); in XXH3_avalanche()
3394 return h64; in XXH3_avalanche()
3402 static XXH64_hash_t XXH3_rrmxmx(xxh_u64 h64, xxh_u64 len) in XXH3_rrmxmx() argument
3405 h64 ^= XXH_rotl64(h64, 49) ^ XXH_rotl64(h64, 24); in XXH3_rrmxmx()
3406 h64 *= 0x9FB21C651E98DF25ULL; in XXH3_rrmxmx()
3407 h64 ^= (h64 >> 35) + len ; in XXH3_rrmxmx()
3408 h64 *= 0x9FB21C651E98DF25ULL; in XXH3_rrmxmx()
3409 return XXH_xorshift64(h64, 28); in XXH3_rrmxmx()