Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
172
IPAddress parseAddr(std::string const& str) {
173
auto res = IPAddress::parse(str);
174
ASSERT(res.present());
175
return res.get();
176
}
177
178
struct SubNetTest {
179
AuthAllowedSubnet subnet;
Callers
1
IPAllowList.cpp
File · 0.85
Calls
3
get
Method · 0.65
parse
Function · 0.50
present
Method · 0.45
Tested by
no test coverage detected