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

Method hash

valdi/src/valdi/runtime/Attributes/PreprocessorCacheKey.cpp:14–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12PreprocessorCacheKey::PreprocessorCacheKey(const Value& value) : _value(value), _hash(value.hash()) {}
13
14size_t PreprocessorCacheKey::hash() const {
15 return _hash;
16}
17
18bool PreprocessorCacheKey::operator==(const PreprocessorCacheKey& other) const {
19 return _value == other._value;

Callers 4

operator()Method · 0.45
PreprocessorCacheKeyMethod · 0.45
operator()Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected