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

Function AddrToString

library/cpp/http/server/options.cpp:13–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11using TAddr = THttpServerOptions::TAddr;
12
13static inline TString AddrToString(const TAddr& addr) {
14 return addr.Addr + ":" + ToString(addr.Port);
15}
16
17static inline TNetworkAddress ToNetworkAddr(const TString& address, ui16 port) {
18 if (address.empty() || address == TStringBuf("*")) {

Callers 1

BindAddressesMethod · 0.85

Calls 1

ToStringFunction · 0.50

Tested by

no test coverage detected