27    static uint64_t 
hash(
const uint8_t* 
data, 
size_t length) {
 
   29        for (
size_t i = 0; i < length; ++i) {
 
 
   42    static uint64_t 
hash(
const std::string& 
str) {
 
   43        return (
hash(
reinterpret_cast<const uint8_t*
>(
str.c_str()),
 
 
 
Defines the logger used by the top-level component of kea-lfc.
Hash implementation based on Fowler-Noll-Vo hash function.
static uint64_t hash(const uint8_t *data, size_t length)
Compute the hash.
static uint64_t hash(const std::string &str)
Compute the hash.
static const uint64_t FNV_prime
Prime.
static const uint64_t FNV_offset_basis
Offset basis.