MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / cbm_ht_count

Function cbm_ht_count

src/foundation/hash_table.c:120–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118}
119
120uint32_t cbm_ht_count(const CBMHashTable *ht) {
121 if (!ht)
122 return 0;
123 return (uint32_t)cbm_vt_size(&ht->vt);
124}
125
126void cbm_ht_foreach(const CBMHashTable *ht, cbm_ht_iter_fn fn, void *userdata) {
127 if (!ht || !fn)

Callers 8

cbm_gbuf_node_countFunction · 0.85
cbm_watcher_watch_countFunction · 0.85
cbm_watcher_poll_onceFunction · 0.85
closure_try_planFunction · 0.85
cbm_registry_sizeFunction · 0.85
test_hash_table.cFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected