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

Method has

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

Source from the content-addressed store, hash-verified

346 throw std::runtime_error("gguf: no tensor " + name);
347}
348bool Gguf::has(const std::string& key) const { return ints_.count(key) || floats_.count(key) || int_arrays_.count(key); }
349int64_t Gguf::i(const std::string& key) const {
350 auto it = ints_.find(key);
351 if (it == ints_.end()) throw std::runtime_error("gguf: no integer key " + key);

Callers 15

mainFunction · 0.45
cudaMemGetInfoFunction · 0.45
mainFunction · 0.45
sy_common.hFile · 0.45
prefill.cppFile · 0.45
missingHarnessImportsFunction · 0.45
scenarioFunction · 0.45
ui-flows.mjsFile · 0.45
flattenPnpmFunction · 0.45
visibleFromFunction · 0.45
placeFunction · 0.45

Calls 1

countMethod · 0.45

Tested by 11

describeFunction · 0.36
makeStorageFunction · 0.36
fakeStorageFunction · 0.36
setItemFunction · 0.36
familiesFunction · 0.36
callToolMethod · 0.36
sharedStorageFunction · 0.36
catalogsFunction · 0.36
integerCategoriesFunction · 0.36
fakeStorageFunction · 0.36
visitFunction · 0.36