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

Function tld_graph_offsets

src/pipeline/pass_complexity.c:197–201  ·  view source on GitHub ↗

Sources must be counted into first[src + 1] before this; turns the counts * into offsets. */

Source from the content-addressed store, hash-verified

195/* Sources must be counted into first[src + 1] before this; turns the counts
196 * into offsets. */
197static void tld_graph_offsets(tld_graph_t *g) {
198 for (int64_t id = 1; id <= g->maxid + 1; id++) {
199 g->first[id] += g->first[id - 1];
200 }
201}
202
203static void tld_key_set(tld_graph_t *g, int64_t id, const char *qn, const char *file, int line) {
204 if (id >= 1 && id <= g->maxid) {

Callers 2

tld_gather_gbufFunction · 0.85
tld_gather_storeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected