MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / prof_thr_node_hash

Function prof_thr_node_hash

deps/jemalloc/src/prof.c:2175–2179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2173}
2174
2175static void
2176prof_thr_node_hash(const void *key, size_t r_hash[2]) {
2177 const prof_thr_node_t *thr_node = (prof_thr_node_t *)key;
2178 hash(&thr_node->thr_uid, sizeof(uint64_t), 0x94122f35U, r_hash);
2179}
2180
2181static bool
2182prof_thr_node_keycomp(const void *k1, const void *k2) {

Callers

nothing calls this directly

Calls 1

hashFunction · 0.50

Tested by

no test coverage detected