MCPcopy Create free account
hub / github.com/catboost/catboost / ~TChunk

Method ~TChunk

library/cpp/threading/chunk_queue/queue.h:114–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112 }
113
114 ~TChunk() {
115 for (size_t i = 0; i < this->Count; ++i) {
116 TTypeHelper::Destroy(GetPtr(i));
117 }
118 }
119
120 T* GetPtr(size_t i) {
121 return (T*)Entries + i;

Callers 1

DoClearMethod · 0.80

Calls 2

DestroyFunction · 0.50
GetPtrFunction · 0.50

Tested by

no test coverage detected