MCPcopy Create free account
hub / github.com/ElementsProject/lightning / key

Function key

ccan/ccan/htable/tools/density.c:14–17  ·  view source on GitHub ↗

We don't actually hash objects: we put values in as if they were ptrs */

Source from the content-addressed store, hash-verified

12
13/* We don't actually hash objects: we put values in as if they were ptrs */
14static uintptr_t key(const ptrint_t *obj)
15{
16 return ptr2int(obj);
17}
18
19static size_t hash_uintptr(uintptr_t key)
20{

Callers 1

cmpFunction · 0.85

Calls 1

ptr2intFunction · 0.85

Tested by

no test coverage detected