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

Function cbm_ht_get

src/foundation/hash_table.c:159–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157}
158
159void *cbm_ht_get(const CBMHashTable *ht, const char *key) {
160 if (!ht || !key)
161 return NULL;
162 cbm_vt_itr itr = cbm_vt_get(&ht->vt, key);
163 HT_LOOKED_UP(ht, key, !cbm_vt_is_end(itr));
164 if (cbm_vt_is_end(itr))
165 return NULL;
166 return itr.data->val;
167}
168
169bool cbm_ht_has(const CBMHashTable *ht, const char *key) {
170 if (!ht || !key)

Callers 15

dg_elementFunction · 0.85
dg_drawioFunction · 0.85
ex_text_endFunction · 0.85
ex_endFunction · 0.85
ex_arrowsFunction · 0.85
dg_excalidrawFunction · 0.85
php_dup_flagFunction · 0.85
php_count_nameFunction · 0.85
cbm_doclink_c_scan_scopeFunction · 0.85

Calls

no outgoing calls

Tested by 15

te_cov_pushFunction · 0.68
cbm_ti_source_findFunction · 0.68
ti_add_suffixesFunction · 0.68
ti_resolve_includeFunction · 0.68
ti_note_occurrenceFunction · 0.68
cbm_ti_graph_fileFunction · 0.68
cbm_ti_graph_has_nameFunction · 0.68
ts_add_nodeFunction · 0.68
ts_add_wholeFunction · 0.68
ts_add_deletedFunction · 0.68
ts_case_ofFunction · 0.68