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

Function runtime_get_u64

src/daemon/runtime.c:300–306  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Calls

no outgoing calls

Tested by

no test coverage detected