MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / op_tuple_mark

Method op_tuple_mark

src/framework/assets/torch_bin.cpp:311–316  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

309 items[count - 1 - i] = pop();
310 }
311 push(tuple_value(std::move(items)));
312 }
313 void op_tuple_mark() {
314 const size_t mark = pop_mark();
315 std::vector<PickleValue> items(stack_.begin() + static_cast<std::ptrdiff_t>(mark), stack_.end());
316 stack_.erase(stack_.begin() + static_cast<std::ptrdiff_t>(mark), stack_.end());
317 push(tuple_value(std::move(items)));
318 }
319 void op_put(size_t id) {

Callers

nothing calls this directly

Calls 3

beginMethod · 0.45
endMethod · 0.45
eraseMethod · 0.45

Tested by

no test coverage detected