MCPcopy Create free account
hub / github.com/BirolLab/abyss / hashmem

Function hashmem

Common/HashFunction.h:8–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6#include <stdint.h>
7
8static inline uint64_t hashmem(const void *p, size_t n)
9{
10 return CityHash64(static_cast<const char*>(p), n);
11}
12
13static inline uint64_t hashmem(const void *p, size_t n, size_t seed)
14{

Callers 3

getHashCodeMethod · 0.85
operator()Method · 0.85
hashFunction · 0.85

Calls 2

CityHash64Function · 0.85
CityHash64WithSeedFunction · 0.85

Tested by

no test coverage detected