MCPcopy Create free account
hub / github.com/catboost/catboost / ToNetworkAddr

Function ToNetworkAddr

library/cpp/http/server/options.cpp:17–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15}
16
17static inline TNetworkAddress ToNetworkAddr(const TString& address, ui16 port) {
18 if (address.empty() || address == TStringBuf("*")) {
19 return TNetworkAddress(port);
20 }
21
22 return TNetworkAddress(address, port);
23}
24
25void THttpServerOptions::BindAddresses(TBindAddresses& ret) const {
26 THashSet<TString> check;

Callers 1

BindAddressesMethod · 0.85

Calls 2

TNetworkAddressClass · 0.50
emptyMethod · 0.45

Tested by

no test coverage detected