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

Method Schedule

library/cpp/neh/tcp.cpp:635–637  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

633 }
634
635 inline THandleRef Schedule(const TNehMessage& msg, IOnRecv* fallback, TServiceStatRef& ss) {
636 return Clients[AtomicIncrement(Next) % Clients.size()]->Schedule(msg, fallback, ss);
637 }
638
639 TVector<TAutoPtr<TClient>> Clients;
640 TAtomic Next;

Callers

nothing calls this directly

Calls 3

AtomicIncrementFunction · 0.50
ScheduleMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected