| 91 | } |
| 92 | |
| 93 | bool cbm_ht_has(const CBMHashTable *ht, const char *key) { |
| 94 | if (!ht || !key) |
| 95 | return false; |
| 96 | cbm_vt_itr itr = cbm_vt_get(&ht->vt, key); |
| 97 | return !cbm_vt_is_end(itr); |
| 98 | } |
| 99 | |
| 100 | const char *cbm_ht_get_key(const CBMHashTable *ht, const char *key) { |
| 101 | if (!ht || !key) |
no outgoing calls
no test coverage detected