Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codr7/hacktical-c
/ hc_memo_alloc
Class
hc_memo_alloc
malloc2/tests.c:5–5 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
3
4
static void memo_tests() {
5
struct hc_memo_alloc a;
6
hc_memo_alloc_init(&a, &hc_malloc_default);
7
8
int *ip1 = hc_acquire(&a.malloc, sizeof(int));
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected