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

Function runtime_get_u64

src/daemon/runtime.c:288–294  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

286}
287
288static uint64_t runtime_get_u64(const uint8_t *in) {
289 uint64_t value = 0;
290 for (size_t i = 0; i < 8; i++) {
291 value = (value << 8) | in[i];
292 }
293 return value;
294}
295
296static bool runtime_bounded_length(const char *value, size_t capacity, size_t *length_out) {
297 if (!value || capacity == 0) {

Calls

no outgoing calls

Tested by

no test coverage detected