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

Function htable_count

ccan/ccan/htable/htable.h:82–85  ·  view source on GitHub ↗

* htable_count - count number of entries in a hash table. * @ht: the hash table */

Source from the content-addressed store, hash-verified

80 * @ht: the hash table
81 */
82static inline size_t htable_count(const struct htable *ht)
83{
84 return ht->elems;
85}
86
87/**
88 * htable_clear - empty a hash table.

Callers 4

gossip_rcvd_filter_addFunction · 0.85
mainFunction · 0.85
find_valsFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by 3

mainFunction · 0.68
find_valsFunction · 0.68
mainFunction · 0.68