Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
89
static void *gm_alloc(size_t bytes) {
90
return cbm_alloc(CBM_MEM_CLASS_GRAPH_CACHE, bytes ? bytes : 1);
91
}
92
93
static void gm_free_ptr(void *p) {
94
cbm_free(CBM_MEM_CLASS_GRAPH_CACHE, p);
Callers
3
gm_intern
Function · 0.85
gm_build_inbound
Function · 0.85
gm_build
Function · 0.85
Calls
1
cbm_alloc
Function · 0.85
Tested by
no test coverage detected