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/malloc1.c:27–27 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
25
}
26
27
struct hc_bump_alloc *ba = hc_baseof(a, struct hc_bump_alloc, malloc);
28
29
if (ba->size - ba->offset < size) {
30
hc_throw(HC_NO_MEMORY);
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected