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

Method Get

library/cpp/coroutine/engine/poller.cpp:162–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160 }
161
162 T* Get(size_t i) {
163 TValRef& v = V_.Get(i);
164
165 if (Y_UNLIKELY(!v)) {
166 v.Reset(new (&P_) TVal());
167 I_.PushFront(v.Get());
168 }
169
170 Y_PREFETCH_WRITE(v.Get(), 1);
171
172 return v.Get();
173 }
174
175 void Erase(size_t i) noexcept {
176 V_.Get(i).Destroy();

Callers 2

operator~Method · 0.45
EraseMethod · 0.45

Calls 2

ResetMethod · 0.45
PushFrontMethod · 0.45

Tested by

no test coverage detected