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

Method Traverse

util/memory/pool.h:283–287  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

281
282 template <class TOp>
283 inline void Traverse(TOp& op) const noexcept {
284 for (TChunkList::TConstIterator i = Chunks_.Begin(); i != Chunks_.End(); ++i) {
285 op(i->Data(), i->DataSize());
286 }
287 }
288
289 inline IAllocator* RealAllocator() const noexcept {
290 return Alloc_;

Callers

nothing calls this directly

Calls 4

DataSizeMethod · 0.80
BeginMethod · 0.45
EndMethod · 0.45
DataMethod · 0.45

Tested by

no test coverage detected