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:434–436  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

432/* ── Test API (thin wrappers for unit testing) ──────────────────── */
433
434void *cbm_slab_test_malloc(size_t size) {
435 return slab_malloc(size);
436}
437void cbm_slab_test_free(void *ptr) {
438 slab_free(ptr);
439}

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