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

Function alloc_span

tests/test_mem_events.c:201–208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199} span_t;
200
201static void *alloc_span(void *arg) {
202 const span_t *s = (const span_t *)arg;
203 for (int i = 0; i < s->count; i++) {
204 cbm_memev_alloc(BLK(s->first + i), 48, 64, s->site);
205 }
206 cbm_memev_flush_thread();
207 return NULL;
208}
209
210static void *free_span(void *arg) {
211 const span_t *s = (const span_t *)arg;

Callers

nothing calls this directly

Calls 2

cbm_memev_allocFunction · 0.85
cbm_memev_flush_threadFunction · 0.85

Tested by

no test coverage detected