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

Function jv_tmp_alloc

internal/cbm/doclink_jvm.c:1114–1120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1112} jv_scan_t;
1113
1114static void *jv_tmp_alloc(jv_scan_t *s, size_t n) {
1115 void *p = cbm_arena_alloc(s->tmp, n ? n : SKIP_ONE);
1116 if (!p) {
1117 s->failed = true;
1118 }
1119 return p;
1120}
1121
1122static void jv_ranges_push(jv_scan_t *s, jv_ranges_t *r, uint32_t start, uint32_t end) {
1123 if (s->failed) {

Callers 5

jv_ranges_pushFunction · 0.85
jv_defs_indexFunction · 0.85
jv_lex_braceFunction · 0.85
jv_name_ofFunction · 0.85
jv_joinFunction · 0.85

Calls 1

cbm_arena_allocFunction · 0.70

Tested by

no test coverage detected