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

Function main_deadline_after

src/main.c:1451–1454  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1449}
1450
1451static uint64_t main_deadline_after(uint32_t timeout_ms) {
1452 uint64_t now_ms = cbm_now_ms();
1453 return now_ms > UINT64_MAX - timeout_ms ? UINT64_MAX : now_ms + timeout_ms;
1454}
1455
1456static cbm_daemon_ipc_endpoint_t *main_daemon_endpoint_new(void) {
1457 const char *runtime_parent = NULL;

Calls 1

cbm_now_msFunction · 0.85

Tested by

no test coverage detected