MCPcopy Create free account
hub / github.com/cinit/TMoe / get

Method get

app/src/main/cpp/utils/HashMap.h:80–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78 }
79
80 [[nodiscard]] V *get(const K &key) const {
81 auto p = backend.find(key);
82 if (p != backend.end()) {
83 return p->second.get()->getValue();
84 } else {
85 return nullptr;
86 }
87 }
88
89 template<typename... Args>
90 void put(const K &key, Args &&...args) {

Callers

nothing calls this directly

Calls 1

getValueMethod · 0.45

Tested by

no test coverage detected