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

Method size

valdi_core/src/valdi_core/cpp/Resources/ValdiArchive.cpp:22–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20 uint32_t raw;
21
22 size_t size() const {
23 // Keep lower 31 bits
24 return static_cast<size_t>(raw & (kPaddingBit - 1));
25 }
26
27 bool hasPadding() const {
28 // Look at the top bit

Callers 7

ValdiArchiveMethod · 0.45
parseFieldFunction · 0.45
getEntriesMethod · 0.45
addEntryMethod · 0.45
buildMethod · 0.45
writeMethod · 0.45
readMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected