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

Function ti_ints_push

src/mcp/test_impact_source.c:387–393  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

385}
386
387static bool ti_ints_push(ti_ints_t *a, int v) {
388 if (!ti_grow((void **)&a->items, &a->cap, a->count, sizeof(*a->items))) {
389 return false;
390 }
391 a->items[a->count++] = v;
392 return true;
393}
394
395cbm_ti_source_t *cbm_ti_source_new(void) {
396 cbm_ti_source_t *s = cbm_alloc(CBM_MEM_CLASS_EXTRACT, sizeof(*s));

Callers 2

ti_add_suffixesFunction · 0.85
ti_add_includerFunction · 0.85

Calls 1

ti_growFunction · 0.85

Tested by

no test coverage detected