MCPcopy Create free account
hub / github.com/apple/foundationdb / getAddressIndex

Function getAddressIndex

flow/Trace.cpp:589–595  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

587};
588
589NetworkAddress getAddressIndex() {
590 // ahm
591 // if( g_network->isSimulated() )
592 // return g_simulator.getCurrentProcess()->address;
593 // else
594 return g_network->getLocalAddress();
595}
596
597// This does not check for simulation, and as such is not safe for external callers
598void clearPrefix_internal(std::map<std::string, TraceEventFields>& data, std::string const& prefix) {

Callers 6

clearMethod · 0.85
setMethod · 0.85
getMethod · 0.85
getAllMethod · 0.85
setLatestErrorMethod · 0.85
getLatestErrorMethod · 0.85

Calls 1

getLocalAddressMethod · 0.45

Tested by

no test coverage detected