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

Method AckAll

library/cpp/netliba/v12/net_acks.cpp:167–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165 }
166
167 void TAckTracker::AckAll() {
168 for (TPacketHash::const_iterator i = PacketsInFly.begin(); i != PacketsInFly.end(); ++i) {
169 int pkt = i->first;
170 AckReceived[pkt] = true;
171 Congestion->Success();
172 }
173 PacketsInFly.clear();
174 }
175
176 void TAckTracker::Step(float deltaT) {
177 float timeoutVal = Congestion->GetTimeout();

Callers 2

SendTransferPacketMethod · 0.45
ProcessAcksPacketMethod · 0.45

Calls 4

beginMethod · 0.45
endMethod · 0.45
SuccessMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected