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

Function htable_firstval_

ccan/ccan/htable/htable.c:175–180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

173}
174
175void *htable_firstval_(const struct htable *ht,
176 struct htable_iter *i, size_t hash)
177{
178 i->off = hash_bucket(ht, hash);
179 return htable_val(ht, i, hash, ht_perfect_mask(ht));
180}
181
182void *htable_nextval_(const struct htable *ht,
183 struct htable_iter *i, size_t hash)

Callers 1

htable_checkFunction · 0.85

Calls 3

hash_bucketFunction · 0.85
htable_valFunction · 0.85
ht_perfect_maskFunction · 0.85

Tested by

no test coverage detected