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

Function main_deadline_after

src/main.c:1260–1263  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1258}
1259
1260static uint64_t main_deadline_after(uint32_t timeout_ms) {
1261 uint64_t now_ms = cbm_now_ms();
1262 return now_ms > UINT64_MAX - timeout_ms ? UINT64_MAX : now_ms + timeout_ms;
1263}
1264
1265static cbm_daemon_ipc_endpoint_t *main_daemon_endpoint_new(void) {
1266 const char *runtime_parent = NULL;

Calls 1

cbm_now_msFunction · 0.85

Tested by

no test coverage detected