MCPcopy Create free account
hub / github.com/apache/trafficserver / is_self

Method is_self

src/iocore/utils/Machine.cc:215–219  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

213Machine::~Machine() {}
214
215bool
216Machine::is_self(std::string const &name)
217{
218 return machine_id_strings.find(name) != machine_id_strings.end();
219}
220
221bool
222Machine::is_self(std::string_view name)

Callers 5

PreProcessParentsMethod · 0.80
OSDNSLookupMethod · 0.80
findNextHopMethod · 0.80
TSHostnameIsSelfFunction · 0.80

Calls 4

stringClass · 0.85
IpAddrClass · 0.85
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected