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

Method popCount

valdi_core/src/valdi_core/cpp/Utils/Marshaller.cpp:81–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79}
80
81void Marshaller::popCount(int count) {
82 while (count > 0) {
83 pop();
84 count--;
85 }
86}
87
88void Marshaller::clear() {
89 popCount(size());

Callers 4

TESTFunction · 0.45
nativePopCountFunction · 0.45

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.36