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

Method Set

util/network/sock.h:72–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70 }
71
72 inline void Set(const char* path) noexcept {
73 Clear();
74 in.sin_family = AF_INET;
75 in.sin_addr.s_addr = IpFromString("127.0.0.1");
76 in.sin_port = 0;
77 strlcpy(Path, path, PathSize);
78 }
79
80 inline void Set(TStringBuf path) noexcept {
81 Clear();

Callers

nothing calls this directly

Calls 6

IpFromStringFunction · 0.85
ClearFunction · 0.50
strlcpyFunction · 0.50
MinFunction · 0.50
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected