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

Method OnSend

library/cpp/neh/tcp2.cpp:1453–1462  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1451
1452 private:
1453 void OnSend(const TErrorCode& ec, size_t amount, IHandlingContext&) {
1454 Y_UNUSED(amount);
1455 DBGOUT("TServer::OnSend(" << ec.Value() << ", " << amount << ")");
1456 if (ec) {
1457 OnError();
1458 } else {
1459 OutputBuffers_.Clear();
1460 SendMessages(true);
1461 }
1462 }
1463
1464 public:
1465 bool IsCanceled() const noexcept {

Callers

nothing calls this directly

Calls 3

Y_UNUSEDFunction · 0.85
ValueMethod · 0.45
ClearMethod · 0.45

Tested by

no test coverage detected