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

Method AddCancel

library/cpp/neh/netliba.cpp:210–217  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

208 }
209
210 void AddCancel(const TGUID& guid) override {
211 UpdateInFly();
212 TInFly::iterator it = InFly_.find(guid);
213
214 if (it != InFly_.end() && it->second->SetNotified()) {
215 it->second->NotifyError("Canceled (before ack)");
216 }
217 }
218
219 void AddRequestAck(const TGUID& guid) override {
220 UpdateInFly();

Callers

nothing calls this directly

Calls 4

SetNotifiedMethod · 0.80
findMethod · 0.45
endMethod · 0.45
NotifyErrorMethod · 0.45

Tested by

no test coverage detected