Implementation of MurmurHash2 hashing algorithm for 64‐bit platforms.

Synopsis

Declared in <folly/hash/MurmurHash.h>

constexpr
uint64_t
murmurHash64(
    char const* key,
    std::size_t len,
    uint64_t seed) noexcept;

Description

https://en.wikipedia.org/wiki/MurmurHash

Return Value

The 64‐bit MurmurHash2 hash of the input

Parameters

Name

Description

key

Pointer to the bytes to hash

len

Number of bytes to hash

seed

Seed value that perturbs the hash

Created with MrDocs