Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catboost/catboost
/ IsUnix
Method
IsUnix
util/network/endpoint.h:31–33 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
29
return Addr_->Addr()->sa_family == AF_INET6;
30
}
31
inline bool IsUnix() const {
32
return Addr_->Addr()->sa_family == AF_UNIX;
33
}
34
35
inline TString IpToString() const {
36
return NAddr::PrintHost(*Addr_);
Callers
1
Y_UNIT_TEST
Function · 0.80
Calls
1
Addr
Method · 0.45
Tested by
no test coverage detected