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

Function need

engine/src/core/verify.cpp:603–607  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

601strata::kernels::QsaShapes shapes_of(const ModelGeometry& g) { return qsa_shapes(g); }
602
603const WeightRef* need(const LayerView& v, const char* suffix, std::string& err) {
604 const WeightRef* r = v.get(suffix);
605 if (r == nullptr && err.empty()) err = v.name(suffix) + " is missing";
606 return r;
607}
608
609bool native_of(const WeightRef* w, const std::string& name, std::string& err) {
610 if (w == nullptr) return false;

Callers 10

verify.cppFile · 0.70
capture_commit_batchMethod · 0.70
capture_deferredMethod · 0.70
mainFunction · 0.50
loadMethod · 0.50
resolveMethod · 0.50
openMethod · 0.50
encodeMethod · 0.50
readMethod · 0.50
strMethod · 0.50

Calls 3

getMethod · 0.65
emptyMethod · 0.45
nameMethod · 0.45

Tested by

no test coverage detected