Hashes a byte array to a 64‐bit value, mixing in a 64‐bit seed.

Synopsis

Declared in <folly/external/farmhash/farmhash.h>

uint64_t
Hash64WithSeed(
    char const* s,
    size_t len,
    uint64_t seed);

Return Value

The 64‐bit hash of the array.

Parameters

Name

Description

s

Pointer to the byte array to hash.

len

Length of the array, in bytes.

seed

64‐bit seed mixed into the result.

Created with MrDocs