Hash128 overloads
Declared in <folly/external/farmhash/farmhash.h>
Hashes a string's bytes to a 128-bit value.
template<typename Str>
uint128_t
Hash128(Str const& s);
» more...
Hashes a byte array to a 128-bit value.
uint128_t
Hash128(
char const* s,
size_t len);
» more...
| Name | Description |
|---|---|
| Str | String type whose data() and length() give the bytes to hash. |
| Name | Description |
|---|---|
| s | String to hash. |
| len | Length of the array, in bytes. |