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

Function RequireResend

library/cpp/netliba/v6/udp_client_server.cpp:640–646  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

638 }
639
640 static void RequireResend(const TNetSocket& s, const sockaddr_in6& toAddress, int transferId, int attempt) {
641 char buf[100], *pktData = buf + UDP_LOW_LEVEL_HEADER_SIZE;
642 Write(&pktData, transferId);
643 Write(&pktData, (char)ACK_RESEND);
644 Write(&pktData, attempt);
645 s.SendTo(buf, (int)(pktData - buf), toAddress, FF_ALLOW_FRAG);
646 }
647
648 static void RequireResendNoShmem(const TNetSocket& s, const sockaddr_in6& toAddress, int transferId, int attempt) {
649 char buf[100], *pktData = buf + UDP_LOW_LEVEL_HEADER_SIZE;

Callers 1

RecvCycleMethod · 0.85

Calls 2

WriteFunction · 0.70
SendToMethod · 0.45

Tested by

no test coverage detected