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

Synopsis

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

uint64_t
Hash64WithSeeds(
    char const* s,
    size_t len,
    uint64_t seed0,
    uint64_t seed1);

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.

seed0

First 64‐bit seed mixed into the result.

seed1

Second 64‐bit seed mixed into the result.

Created with MrDocs