MCPcopy Create free account
hub / github.com/OpenDDS/OpenDDS / hash

Method hash

dds/DCPS/NetworkAddress.cpp:151–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149
150#if defined ACE_HAS_CPP11
151size_t NetworkAddress::hash(size_t start_hash) const {
152 return static_cast<size_t>(OpenDDS::DCPS::one_at_a_time_hash(reinterpret_cast<const uint8_t*>(&inet_addr_), sizeof(inet_addr_), static_cast<uint32_t>(start_hash)));
153}
154#endif
155
156bool NetworkAddress::addr_bytes_equal(const NetworkAddress& rhs) const

Callers 4

operator()Method · 0.45
operator()Method · 0.45
calculate_hashFunction · 0.45
operator()Function · 0.45

Calls 1

one_at_a_time_hashFunction · 0.70

Tested by

no test coverage detected