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

Function rb_init

src/cypher/cypher.c:2569–2573  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2567} result_builder_t;
2568
2569static void rb_init(result_builder_t *rb) {
2570 memset(rb, 0, sizeof(*rb));
2571 rb->row_cap = CBM_SZ_32;
2572 rb->rows = malloc(rb->row_cap * sizeof(const char **));
2573}
2574
2575static void rb_set_columns(result_builder_t *rb, const char **cols, int count) {
2576 rb->columns = malloc((count > 0 ? (size_t)count : SKIP_ONE) * sizeof(const char *));

Callers 1

execute_singleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected