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

Function hash_bucket

ccan/ccan/htable/htable.c:142–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140}
141
142static size_t hash_bucket(const struct htable *ht, size_t h)
143{
144 return h & ((1 << ht->bits)-1);
145}
146
147static void *htable_val(const struct htable *ht,
148 struct htable_iter *i, size_t hash, uintptr_t perfect)

Callers 4

htable_firstval_Function · 0.85
ht_addFunction · 0.85
htable_delval_Function · 0.85
perfectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected