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

Function dm_has_using

tests/test_doc_mentions.c:1242–1249  ·  view source on GitHub ↗

True when the result holds a using of this kind (n namespace, s static, * a alias) and target. */

Source from the content-addressed store, hash-verified

1240/* True when the result holds a using of this kind (n namespace, s static,
1241 * a alias) and target. */
1242static bool dm_has_using(const cbm_msb_result_t *r, char kind, const char *target) {
1243 for (int i = 0; i < r->count; i++) {
1244 if (r->usings[i].kind == kind && strcmp(r->usings[i].target, target) == 0) {
1245 return true;
1246 }
1247 }
1248 return false;
1249}
1250
1251/* Repeated expansion must not retain every superseded value or condition
1252 * operand. Measure real evaluation arena capacity, not a wall-clock sample. */

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected