MCPcopy Create free account
hub / github.com/apache/arrow / operator()

Method operator()

cpp/src/arrow/engine/substrait/extension_set.cc:65–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65size_t IdHashEq::operator()(Id id) const {
66 constexpr ::arrow::internal::StringViewHash hash = {};
67 auto out = static_cast<size_t>(hash(id.uri));
68 ::arrow::internal::hash_combine(out, hash(id.name));
69 return out;
70}
71
72bool IdHashEq::operator()(Id l, Id r) const { return l.uri == r.uri && l.name == r.name; }
73

Callers

nothing calls this directly

Calls 2

hashFunction · 0.85
hash_combineFunction · 0.85

Tested by

no test coverage detected