folly::external::farmhash::farmhashsa::Hash32WithSeed

Hashes a byte array to a 32-bit value, mixing in a 32-bit seed.

Synopsis

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

uint32_t
Hash32WithSeed(
    char const* s,
    size_t len,
    uint32_t seed);

Return Value

The 32-bit hash of the array.

Parameters

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