Hash64 overloads
Declared in <folly/external/farmhash/farmhash.h>
Hashes a string's bytes to a 64-bit value.
template<typename Str>
uint64_t
Hash64(Str const& s);
» more...
Hashes a byte array to a 64-bit value.
uint64_t
Hash64(
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. |