MCPcopy Create free account
hub / github.com/cel-expr/cel-cpp / IsEqualTo

Method IsEqualTo

codelab/network_functions.cc:401–409  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

399}
400
401bool NetworkAddressRep::IsEqualTo(const NetworkAddressRep& other) const {
402 if (version_ != other.version_) {
403 return false;
404 }
405 if (version_ == IpVersion::kIPv4) {
406 return addr_.v4 == other.addr_.v4;
407 }
408 return false;
409}
410
411bool NetworkAddressRep::IsLessThan(const NetworkAddressRep& other) const {
412 if (version_ != other.version_) {

Callers 3

EqualMethod · 0.45
NetworkAddressRepEqualFunction · 0.45
EqualMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected