8#define TH_HASH_INITIAL_VALUE 2166136261u
14#define TH_HASH_MUL_VALUE 16777619
16uint32_t
th_hash(uint8_t *bytes,
size_t size) {
23 for (
int i = 0; i < size; i++) {
#define TH_HASH_MUL_VALUE
Multiplier for hash function.
uint32_t th_hash(uint8_t *bytes, size_t size)
Compute an unsigned int from bytes.
#define TH_HASH_INITIAL_VALUE
Initial value for hash function.