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

Function node_cmp_magic

deps/memkind/src/jemalloc/test/unit/ph.c:30–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28}
29
30static int
31node_cmp_magic(const node_t *a, const node_t *b) {
32
33 assert_u32_eq(a->magic, NODE_MAGIC, "Bad magic");
34 assert_u32_eq(b->magic, NODE_MAGIC, "Bad magic");
35
36 return node_cmp(a, b);
37}
38
39typedef ph(node_t) heap_t;
40ph_gen(static, heap_, heap_t, node_t, link, node_cmp_magic);

Callers 1

node_validateFunction · 0.70

Calls 1

node_cmpFunction · 0.70

Tested by

no test coverage detected