MCPcopy Create free account
hub / github.com/codr7/hacktical-c / hc_memo_alloc

Class hc_memo_alloc

malloc2/malloc2.c:15–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13
14static void *memo_acquire(struct hc_malloc *a, size_t size) {
15 struct hc_memo_alloc *ma = hc_baseof(a, struct hc_memo_alloc, malloc);
16
17 if (hc_set_length(&ma->memo)) {
18 bool ok = false;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected