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

Method SetNotified

library/cpp/neh/netliba.cpp:128–132  ·  view source on GitHub ↗

return false if already notifie

Source from the content-addressed store, hash-verified

126
127 //return false if already notifie
128 inline bool SetNotified() noexcept {
129 bool ret = Notified_;
130 Notified_ = true;
131 return !ret;
132 }
133
134 void OnSend() {
135 if (TNetLibaOptions::AckTailEffect.GetValue() && TLastAckTimes::Common().Get(IdAddr_) + TNetLibaOptions::AckTailEffect.GetValue() > TInstant::Now().GetValue()) {

Callers 2

AddResponseMethod · 0.80
AddCancelMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected