Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codr7/hacktical-c
/ hc_bump_alloc
Class
hc_bump_alloc
malloc1/tests.c:12–12 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
10
11
const int s = 1024;
12
struct hc_bump_alloc a;
13
hc_bump_alloc_init(&a, &hc_malloc_default, s);
14
hc_defer(hc_bump_alloc_deinit(&a));
15
assert(a.size == s);
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected