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

Method AckAll

library/cpp/netliba/v6/net_acks.cpp:144–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142 }
143
144 void TAckTracker::AckAll() {
145 for (TPacketHash::const_iterator i = PacketsInFly.begin(); i != PacketsInFly.end(); ++i) {
146 int pkt = i->first;
147 AckReceived[pkt] = true;
148 Congestion->Success();
149 }
150 PacketsInFly.clear();
151 }
152
153 void TAckTracker::Step(float deltaT) {
154 float timeoutVal = Congestion->GetTimeout();

Callers 1

RecvCycleMethod · 0.45

Calls 4

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

Tested by

no test coverage detected