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

Function rb_init

src/cypher/cypher.c:2793–2797  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2791} result_builder_t;
2792
2793static void rb_init(result_builder_t *rb) {
2794 memset(rb, 0, sizeof(*rb));
2795 rb->row_cap = CBM_SZ_32;
2796 rb->rows = malloc(rb->row_cap * sizeof(const char **));
2797}
2798
2799static void rb_set_columns(result_builder_t *rb, const char **cols, int count) {
2800 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