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

Method pushArray

valdi_core/src/valdi_core/cpp/Utils/Marshaller.cpp:310–314  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

308}
309
310int Marshaller::pushArray(int expectedCapacity) {
311 auto array = ValueArray::make(static_cast<size_t>(expectedCapacity));
312
313 return push(Value(array));
314}
315
316int Marshaller::getArrayLength(int index) {
317 auto array = getArray(index);

Callers 3

TESTFunction · 0.80
nativePushArrayFunction · 0.80

Calls 2

pushFunction · 0.85
ValueClass · 0.70

Tested by 1

TESTFunction · 0.64