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

Function tm_name

src/mcp/test_impact.c:565–569  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

563} tm_scan_t;
564
565static const char *tm_name(tm_scan_t *sc, const tm_tok_t *tok) {
566 const char *copy = cbm_arena_strndup(&sc->m->arena, tok->text, tok->len);
567 sc->ok = sc->ok && copy != NULL;
568 return copy;
569}
570
571static void tm_add_case(tm_scan_t *sc, const tm_tok_t *name, int line) {
572 cbm_test_model_t *m = sc->m;

Callers 4

tm_add_caseFunction · 0.85
tm_add_suiteFunction · 0.85
tm_add_registrationFunction · 0.85
tm_add_runner_suiteFunction · 0.85

Calls 1

cbm_arena_strndupFunction · 0.50

Tested by

no test coverage detected