MCPcopy Create free account
hub / github.com/apache/arrow / Hash

Method Hash

cpp/src/gandiva/configuration.cc:27–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25 InitDefaultConfig();
26
27std::size_t Configuration::Hash() const {
28 static constexpr size_t kHashSeed = 0;
29 size_t result = kHashSeed;
30 arrow::internal::hash_combine(result, static_cast<size_t>(optimize_));
31 arrow::internal::hash_combine(result, static_cast<size_t>(target_host_cpu_));
32 arrow::internal::hash_combine(
33 result, reinterpret_cast<std::uintptr_t>(function_registry_.get()));
34 return result;
35}
36
37bool Configuration::operator==(const Configuration& other) const {
38 return optimize_ == other.optimize_ && target_host_cpu_ == other.target_host_cpu_ &&

Callers 3

TEST_FFunction · 0.45
operator()Method · 0.45
operator()Method · 0.45

Calls 2

hash_combineFunction · 0.85
getMethod · 0.45

Tested by 1

TEST_FFunction · 0.36