|
|
|
@ -14,8 +14,7 @@ |
|
|
|
// NOTE: FNV1a hashing algorithm http://www.isthe.com/chongo/tech/comp/fnv/
|
|
|
|
// NOTE: FNV1a hashing algorithm http://www.isthe.com/chongo/tech/comp/fnv/
|
|
|
|
#define FNV1_64_INIT ((u64) 0xcbf29ce484222325ULL) |
|
|
|
#define FNV1_64_INIT ((u64) 0xcbf29ce484222325ULL) |
|
|
|
#define FNV_64_PRIME ((u64) 0x100000001b3ULL) |
|
|
|
#define FNV_64_PRIME ((u64) 0x100000001b3ULL) |
|
|
|
u64 |
|
|
|
u64 utilFNV64a_str(const char *str, u64 hval = FNV1_64_INIT); |
|
|
|
utilFNV64a_str(const char *str, u64 hval = FNV1_64_INIT); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//-----------------
|
|
|
|
//-----------------
|
|
|
|
// Memory allocation
|
|
|
|
// Memory allocation
|
|
|
|
|