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

Function rs_tmp_alloc

internal/cbm/doclink_rs.c:2221–2225  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2219}
2220
2221static void *rs_tmp_alloc(rs_scan_t *s, size_t n) {
2222 void *p = cbm_arena_alloc(s->tmp, n ? n : SKIP_ONE);
2223 s->failed = s->failed || !p;
2224 return p;
2225}
2226
2227/* The node's text as a name: copied into `out` when it is an identifier that
2228 * fits (raw `r#name` keeps its marker, as the extractor's names do). false

Callers 9

rs_scan_defsFunction · 0.85
rs_owner_qnFunction · 0.85
rs_use_pushFunction · 0.85
rs_use_joinFunction · 0.85
rs_node_pushFunction · 0.85
rs_block_pushFunction · 0.85
rs_scan_blockFunction · 0.85
rs_scan_ref_linesFunction · 0.85
rs_toml_scalarFunction · 0.85

Calls 1

cbm_arena_allocFunction · 0.70

Tested by

no test coverage detected