MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / find

Method find

include/engine/framework/runtime/cache.h:19–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17
18 template <typename T>
19 T * find(const std::string & key) {
20 const auto it = cache_.find(key);
21 if (it == cache_.end()) {
22 return nullptr;
23 }
24 return std::any_cast<T>(&it->second);
25 }
26
27 template <typename T>
28 const T * find(const std::string & key) const {

Callers 8

optional_i64Function · 0.45
optional_f32Function · 0.45
optional_boolFunction · 0.45
optional_stringFunction · 0.45
optional_i64_arrayFunction · 0.45
optional_f32_arrayFunction · 0.45
optional_string_arrayFunction · 0.45

Calls 1

endMethod · 0.45

Tested by

no test coverage detected