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

Method empty

valdi_core/src/valdi_core/cpp/Utils/Bytes.cpp:50–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50bool BytesView::empty() const {
51 return _size == 0;
52}
53
54size_t BytesView::hash() const {
55 return std::hash<std::string_view>()(asStringView());

Callers 15

makeMethod · 0.45
toStringMethod · 0.45
makeStringMethod · 0.45
appendMethod · 0.45
stopRecordingMethod · 0.45
fulfillMethod · 0.45
onCompleteMethod · 0.45
setCancelCallbackMethod · 0.45
parseIdentifierMethod · 0.45
makeParseErrorMethod · 0.45
makeHashMethod · 0.45
prependMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected