MCPcopy Create free account
hub / github.com/ROCm/AMDMIGraphX / hash

Method hash

src/value.cpp:582–588  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

580}
581
582std::size_t value::hash() const
583{
584 std::size_t h = 0;
585 visit_for_compare(*this,
586 [&](const auto& a) { h = compute_hash(rank<2>{}, this->get_key(), a); });
587 return h;
588}
589
590void value::debug_print(bool show_type) const
591{

Callers 1

visitFunction · 0.80

Calls 2

visit_for_compareFunction · 0.85
compute_hashFunction · 0.85

Tested by

no test coverage detected