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

Function arena_capacity

tests/test_extraction.c:10977–10983  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10975}
10976
10977static size_t arena_capacity(const CBMArena *a) {
10978 size_t total = 0;
10979 for (int i = 0; i < a->nblocks; i++) {
10980 total += a->block_sizes[i];
10981 }
10982 return total;
10983}
10984
10985TEST(extract_compact_keeps_every_field_and_shrinks_the_arena) {
10986 CBMFileResult *r = extract(COMPACT_PY_SRC, CBM_LANG_PYTHON, "t", "svc.py");

Callers 1

test_extraction.cFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected