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

Function parseAddr

fdbrpc/IPAllowList.cpp:172–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170}
171
172IPAddress parseAddr(std::string const& str) {
173 auto res = IPAddress::parse(str);
174 ASSERT(res.present());
175 return res.get();
176}
177
178struct SubNetTest {
179 AuthAllowedSubnet subnet;

Callers 1

IPAllowList.cppFile · 0.85

Calls 3

getMethod · 0.65
parseFunction · 0.50
presentMethod · 0.45

Tested by

no test coverage detected