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

Function prof_bt_hash

deps/jemalloc/src/prof.c:2139–2146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2137}
2138
2139static void
2140prof_bt_hash(const void *key, size_t r_hash[2]) {
2141 prof_bt_t *bt = (prof_bt_t *)key;
2142
2143 cassert(config_prof);
2144
2145 hash(bt->vec, bt->len * sizeof(void *), 0x94122f33U, r_hash);
2146}
2147
2148static bool
2149prof_bt_keycomp(const void *k1, const void *k2) {

Callers 1

prof_bt_node_hashFunction · 0.70

Calls 1

hashFunction · 0.50

Tested by

no test coverage detected