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

Function AcceptT

library/cpp/coroutine/engine/network.cpp:310–312  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

308 }
309
310 int AcceptT(TCont* cont, SOCKET s, struct sockaddr* addr, socklen_t* addrlen, TDuration timeout) noexcept {
311 return AcceptD(cont, s, addr, addrlen, timeout.ToDeadLine());
312 }
313
314 int AcceptI(TCont* cont, SOCKET s, struct sockaddr* addr, socklen_t* addrlen) noexcept {
315 return AcceptD(cont, s, addr, addrlen, TInstant::Max());

Callers

nothing calls this directly

Calls 2

AcceptDFunction · 0.85
ToDeadLineMethod · 0.80

Tested by

no test coverage detected