MCPcopy Create free account
hub / github.com/78/tenbox / FieldU64

Function FieldU64

src/daemon/runtime_manager.cpp:94–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92}
93
94uint64_t FieldU64(const ipc::Message& message, const std::string& key, uint64_t fallback = 0) {
95 auto it = message.fields.find(key);
96 if (it == message.fields.end()) return fallback;
97 return static_cast<uint64_t>(std::strtoull(it->second.c_str(), nullptr, 10));
98}
99
100DirtyRect NormalizeDirtyRect(uint32_t x,
101 uint32_t y,

Callers 2

HandleRuntimeMessageMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected