MCPcopy Create free account
hub / github.com/Niko1221/Strata / f

Method f

engine/src/split/src/gguf.cpp:354–358  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

352 return it->second;
353}
354double Gguf::f(const std::string& key) const {
355 auto it = floats_.find(key);
356 if (it == floats_.end()) throw std::runtime_error("gguf: no float key " + key);
357 return it->second;
358}
359const std::string& Gguf::s(const std::string& key) const {
360 auto it = strs_.find(key);
361 if (it == strs_.end()) throw std::runtime_error("gguf: no string key " + key);

Callers 4

run_selfcheck_readerFunction · 0.45
ModelMethod · 0.45
load_sec5Function · 0.45

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by 1

load_sec5Function · 0.36