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

Function ts_ints_push

src/mcp/test_impact_seed.c:60–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60static bool ts_ints_push(ts_ints_t *a, int v) {
61 if (!ts_grow((void **)&a->items, &a->cap, a->count, sizeof(*a->items))) {
62 return false;
63 }
64 a->items[a->count++] = v;
65 return true;
66}
67
68static bool ts_strs_push(ts_strs_t *a, const char *v) {
69 if (!ts_grow((void **)&a->items, &a->cap, a->count, sizeof(*a->items))) {

Callers 1

ts_collectFunction · 0.85

Calls 1

ts_growFunction · 0.85

Tested by

no test coverage detected