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

Function cypher_expiring_deadline_clock

tests/test_cypher.c:5073–5076  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5071static _Thread_local unsigned cypher_deadline_clock_reads = 0;
5072
5073static uint64_t cypher_expiring_deadline_clock(void) {
5074 /* Default budget is 30 seconds; expire exactly at the first checkpoint. */
5075 return cypher_deadline_clock_reads++ == 0 ? 1000 : 31000;
5076}
5077
5078TEST(cypher_exec_deadline_expires_at_positive_budget_boundary) {
5079 cbm_store_t *s = setup_cypher_store();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected