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

Function span_free

internal/cbm/doc_pdf.c:315–322  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

313}
314
315static bool span_free(const uint8_t *taken, int a, int b) {
316 for (int i = a; i < b; i++) {
317 if (taken[i]) {
318 return false;
319 }
320 }
321 return true;
322}
323
324static void span_take(uint8_t *taken, int a, int b) {
325 memset(taken + a, 1, (size_t)(b - a));

Callers 1

candidatesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected