MCPcopy Create free account
hub / github.com/Snapchat/Valdi / operator()

Method operator()

valdi_core/src/valdi_core/cpp/Utils/StringCache.cpp:22–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20}
21
22std::size_t StringCacheHash::operator()(const StringCacheEntry& entry) const {
23 return entry.impl->getHash();
24}
25
26bool StringCacheEqual::operator()(const Valdi::StringCacheEntry& left, const Valdi::StringCacheEntry& right) const {
27 return left.impl == right.impl;

Callers

nothing calls this directly

Calls 2

getHashMethod · 0.45
toStringViewMethod · 0.45

Tested by

no test coverage detected