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

Function runtime_get_u64

src/daemon/runtime.c:296–302  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

294}
295
296static uint64_t runtime_get_u64(const uint8_t *in) {
297 uint64_t value = 0;
298 for (size_t i = 0; i < 8; i++) {
299 value = (value << 8) | in[i];
300 }
301 return value;
302}
303
304static bool runtime_bounded_length(const char *value, size_t capacity, size_t *length_out) {
305 if (!value || capacity == 0) {

Calls

no outgoing calls

Tested by

no test coverage detected