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

Function cbm_timeout_cb

internal/cbm/cbm.c:212–215  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

210// --- Parse timeout callback ---
211
212static bool cbm_timeout_cb(TSParseState *state) {
213 uint64_t deadline = *(uint64_t *)state->payload;
214 return now_ns() > deadline;
215}
216
217// --- Thread-local parser pool ---
218// TSParser is not thread-safe, but can be reused across files on the same thread.

Callers

nothing calls this directly

Calls 1

now_nsFunction · 0.70

Tested by

no test coverage detected