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

Method Hash

cpp/src/arrow/compute/kernel.cc:358–370  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

356// InputType
357
358size_t InputType::Hash() const {
359 size_t result = kHashSeed;
360 hash_combine(result, static_cast<int>(kind_));
361 switch (kind_) {
362 case InputType::EXACT_TYPE:
363 hash_combine(result, type_->Hash());
364 break;
365 case InputType::ANY_TYPE:
366 case InputType::USE_TYPE_MATCHER:
367 break;
368 }
369 return result;
370}
371
372std::string InputType::ToString() const {
373 std::stringstream ss;

Callers 2

operator()Method · 0.45
TESTFunction · 0.45

Calls 1

hash_combineFunction · 0.85

Tested by 1

TESTFunction · 0.36