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

Function cbm_sb_init

src/mcp/compact_out.c:11–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9enum { SB_INITIAL_CAP = 1024 };
10
11void cbm_sb_init(cbm_sb_t *sb) {
12 sb->buf = NULL;
13 sb->len = 0;
14 sb->cap = 0;
15 sb->oom = false;
16}
17
18static bool sb_reserve(cbm_sb_t *sb, size_t extra) {
19 if (sb->oom) {

Callers 10

bm25_searchFunction · 0.85
handle_search_graphFunction · 0.85
handle_query_graphFunction · 0.85
handle_get_architectureFunction · 0.85
handle_trace_call_pathFunction · 0.85
handle_detect_changesFunction · 0.85
cbm_sb_finishFunction · 0.85
cbm_sb_freeFunction · 0.85
test_mcp.cFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected