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

Method Set

util/network/pollerimpl.h:671–677  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

669 using TEvent = typename TBase::TEvent;
670
671 inline void Set(void* data, SOCKET fd, int what) {
672 if (what) {
673 this->SetImpl(data, fd, what);
674 } else {
675 this->Remove(fd);
676 }
677 }
678
679 static inline int ExtractFilter(const TEvent* event) noexcept {
680 if (TBase::ExtractStatus(event)) {

Callers 2

SetMethod · 0.45
with_lockMethod · 0.45

Calls 2

SetImplMethod · 0.45
RemoveMethod · 0.45

Tested by

no test coverage detected