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

Function ev_alloc

src/pipeline/doc_links_msbuild.c:661–668  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

659}
660
661static void *ev_alloc(msb_eval_t *ev, size_t n) {
662 void *p = msb_fail_item_operation(ev->item_alloc_operation)
663 ? NULL
664 : cbm_arena_alloc(&ev->arena, n ? n : SKIP_ONE);
665 ev->oom = ev->oom || !p;
666 ev_peak(ev);
667 return p;
668}
669
670static char *ev_strndup(msb_eval_t *ev, const char *s, size_t n) {
671 char *p = msb_fail_item_operation(ev->item_alloc_operation)

Callers 7

msb_setFunction · 0.85
copy_prop_depFunction · 0.85
record_set_inputFunction · 0.85
msb_pushFunction · 0.85
msb_add_itemFunction · 0.85
ulist_addFunction · 0.85
apply_itemsFunction · 0.85

Calls 3

msb_fail_item_operationFunction · 0.85
ev_peakFunction · 0.85
cbm_arena_allocFunction · 0.50

Tested by

no test coverage detected