folly::external::farmhash::farmhashcc::CityHash128WithSeed

Hashes a byte array to a 128-bit value using CityHash, mixing in a 128-bit seed.

Synopsis

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

uint128_t
CityHash128WithSeed(
    char const* s,
    size_t len,
    uint128_t seed);

Return Value

The 128-bit hash of the array.

Parameters

NameDescription
sPointer to the byte array to hash.
lenLength of the array, in bytes.
seed128-bit seed mixed into the result.