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

Function GetPort

library/cpp/testing/common/network.cpp:233–235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

231
232 namespace NLegacy {
233 TPortHolder GetPort( ui16 port ) {
234 return Singleton<TPortManager>()->GetPort(port);
235 }
236 TVector<TPortHolder> GetFreePortsRange(size_t count) {
237 return Singleton<TPortManager>()->GetFreePortsRange(count);
238 }

Callers 4

GetUdpPortMethod · 0.85
GetTcpPortMethod · 0.85
GetTcpAndUdpPortMethod · 0.85
TEST_FFunction · 0.85

Calls 1

GetPortMethod · 0.45

Tested by 3

GetUdpPortMethod · 0.68
GetTcpPortMethod · 0.68
GetTcpAndUdpPortMethod · 0.68