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

Method capacity

valdi_core/src/valdi_core/cpp/Utils/ValueArrayBuilder.cpp:99–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97}
98
99size_t ValueArrayBuilder::capacity() const {
100 return _buffer != nullptr ? _buffer->size() : 0;
101}
102
103bool ValueArrayBuilder::empty() const {
104 return _size == 0;

Callers 9

TESTFunction · 0.45
TESTFunction · 0.45
freeByteBufferFunction · 0.45
newArrayBufferMethod · 0.45
makeMethod · 0.45
appendMethod · 0.45
encryptWithAdMethod · 0.45
decryptWithAdMethod · 0.45
unwindCallbackFunction · 0.45

Calls 1

sizeMethod · 0.45

Tested by 2

TESTFunction · 0.36
TESTFunction · 0.36