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

Function bfs_rows_init

src/store/store.c:7678–7682  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7676} bfs_rows_t;
7677
7678static void bfs_rows_init(bfs_rows_t *rows) {
7679 rows->cap = ST_INIT_CAP_16;
7680 rows->count = 0;
7681 rows->visited = malloc(rows->cap * sizeof(cbm_node_hop_t));
7682}
7683
7684static cbm_node_hop_t *bfs_rows_next(bfs_rows_t *rows) {
7685 if (rows->count >= rows->cap) {

Callers 2

bfs_visit_sqlFunction · 0.85
bfs_visit_memFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected