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

Function cbm_timeout_cb

internal/cbm/cbm.c:211–214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

209// --- Parse timeout callback ---
210
211static bool cbm_timeout_cb(TSParseState *state) {
212 uint64_t deadline = *(uint64_t *)state->payload;
213 return now_ns() > deadline;
214}
215
216// --- Thread-local parser pool ---
217// 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