MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / cbm_slab_test_malloc

Function cbm_slab_test_malloc

src/foundation/slab_alloc.c:439–441  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

437/* ── Test API (thin wrappers for unit testing) ──────────────────── */
438
439void *cbm_slab_test_malloc(size_t size) {
440 return slab_malloc(size);
441}
442void cbm_slab_test_free(void *ptr) {
443 slab_free(ptr);
444}

Callers 3

test_slab_alloc.cFile · 0.85
test_mem.cFile · 0.85
test_vmem.cFile · 0.85

Calls 1

slab_mallocFunction · 0.85

Tested by

no test coverage detected