MCPcopy Create free account
hub / github.com/Snapchat/Valdi / copy

Method copy

valdi_core/src/valdi_core/cpp/Utils/ValueArray.cpp:101–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99}
100
101void ValueArray::copy(Value* it, const Value* from, const Value* to) {
102 SC_ASSERT((to - from) <= (end() - it));
103
104 while (from != to) {
105 *it = *from;
106
107 it++;
108 from++;
109 }
110}
111
112void ValueArray::copy(const Value* from, const Value* to) {
113 copy(begin(), from, to);

Callers

nothing calls this directly

Calls 3

copyFunction · 0.85
beginFunction · 0.85
endFunction · 0.50

Tested by

no test coverage detected