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

Function gm_alloc

src/store/graph_mem.c:89–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87#endif
88
89static void *gm_alloc(size_t bytes) {
90 return cbm_alloc(CBM_MEM_CLASS_GRAPH_CACHE, bytes ? bytes : 1);
91}
92
93static void gm_free_ptr(void *p) {
94 cbm_free(CBM_MEM_CLASS_GRAPH_CACHE, p);

Callers 3

gm_internFunction · 0.85
gm_build_inboundFunction · 0.85
gm_buildFunction · 0.85

Calls 1

cbm_allocFunction · 0.85

Tested by

no test coverage detected