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

Function memo_key

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

Source from the content-addressed store, hash-verified

42}
43
44static const void *memo_key(const void *p) {
45 struct memo *m = *(struct memo **)p;
46 return &m->size;
47}
48
49struct hc_memo_alloc *hc_memo_alloc_init(struct hc_memo_alloc *a,
50 struct hc_malloc *source) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected