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

Function free_span

tests/test_mem_events.c:210–217  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

208}
209
210static void *free_span(void *arg) {
211 const span_t *s = (const span_t *)arg;
212 for (int i = 0; i < s->count; i++) {
213 cbm_memev_free(BLK(s->first + i));
214 }
215 cbm_memev_flush_thread();
216 return NULL;
217}
218
219enum { MEMEV_T = 4, MEMEV_PER_T = 50000 };
220

Callers

nothing calls this directly

Calls 2

cbm_memev_freeFunction · 0.85
cbm_memev_flush_threadFunction · 0.85

Tested by

no test coverage detected