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

Method find

engine/src/core/graph.cpp:128–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126}
127
128const CapturedGraph* GraphRegistry::find(LayerType type, int n_tokens) const {
129 const auto it = graphs_.find(Key{(int) type, n_tokens});
130 return it == graphs_.end() ? nullptr : &it->second;
131}
132
133bool GraphRegistry::launch(LayerType type, int n_tokens, int timeout_ms, std::string& err) const {
134 const CapturedGraph* g = find(type, n_tokens);

Callers 15

mainFunction · 0.45
weight_bytes_forMethod · 0.45
loadMethod · 0.45
mainFunction · 0.45
p2p_topology_safeFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
skip_partFunction · 0.45
loadMethod · 0.45
bindMethod · 0.45
stats_onMethod · 0.45

Calls 1

endMethod · 0.45

Tested by 15

mainFunction · 0.36
mainFunction · 0.36
mainFunction · 0.36
mainFunction · 0.36
mainFunction · 0.36
rejectsFunction · 0.36
mainFunction · 0.36
mainFunction · 0.36
shrinkMethod · 0.36
mainFunction · 0.36