MCPcopy Create free account
hub / github.com/apache/impala / HashCode

Method HashCode

be/src/kudu/util/net/net_util.cc:168–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166}
167
168size_t HostPort::HashCode() const {
169 size_t seed = 0;
170 boost::hash_combine(seed, host_);
171 boost::hash_combine(seed, port_);
172 return seed;
173}
174
175Status HostPort::ParseString(const string& str, uint16_t default_port) {
176 std::pair<string, string> p = strings::Split(str, strings::delimiter::Limit(":", 1));

Callers 3

TESTFunction · 0.45
operator()Method · 0.45
operator()Method · 0.45

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.36