MCPcopy Create free account
hub / github.com/FastFlowLM/FastFlowLM / insert

Method insert

src/include/minja/minja.hpp:210–214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

208 }
209
210 void insert(size_t index, const Value& v) {
211 if (!array_)
212 throw std::runtime_error("Value is not an array: " + dump());
213 array_->insert(array_->begin() + index, v);
214 }
215 void push_back(const Value& v) {
216 if (!array_)
217 throw std::runtime_error("Value is not an array: " + dump());

Callers 15

handle_regular_keyMethod · 0.45
runMethod · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
run_benchmarksFunction · 0.45
handle_generateMethod · 0.45
handle_chatMethod · 0.45

Calls 1

beginMethod · 0.45

Tested by 4

mainFunction · 0.36
mainFunction · 0.36
mainFunction · 0.36
mainFunction · 0.36