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

Method Copy

library/cpp/containers/2d_array/2d_array.h:33–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31
32private:
33 void Copy(const TArray2D& a) {
34 XSize = a.XSize;
35 YSize = a.YSize;
36 Create();
37 for (size_t i = 0; i < XSize * YSize; i++)
38 Data[i] = a.Data[i];
39 }
40 void Destroy() {
41 delete[] Data;
42 delete[] PData;

Callers

nothing calls this directly

Calls 1

CreateFunction · 0.50

Tested by

no test coverage detected