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

Method Get

library/cpp/coroutine/engine/cont_poller.h:111–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109 {}
110
111 T* Get(size_t index) {
112 TRef& ret = Lst_.Get(index);
113 if (!ret) {
114 ret = TRef(new (&Pool_) TValue());
115 }
116 return ret.Get();
117 }
118
119 private:
120 using TRef = THolder<TValue>;

Callers 2

ScheduleMethod · 0.45
RemoveMethod · 0.45

Calls 1

TRefClass · 0.50

Tested by

no test coverage detected