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

Function runtime_get_u64

src/daemon/runtime.c:403–409  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

401}
402
403static uint64_t runtime_get_u64(const uint8_t *in) {
404 uint64_t value = 0;
405 for (size_t i = 0; i < 8; i++) {
406 value = (value << 8) | in[i];
407 }
408 return value;
409}
410
411static bool runtime_bounded_length(const char *value, size_t capacity, size_t *length_out) {
412 if (!value || capacity == 0) {

Calls

no outgoing calls

Tested by

no test coverage detected