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

Method FillZero

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

Source from the content-addressed store, hash-verified

94 return YSize;
95 }
96 void FillZero() {
97 memset(Data, 0, sizeof(T) * XSize * YSize);
98 }
99 void FillEvery(const T& a) {
100 for (size_t i = 0; i < XSize * YSize; i++)
101 Data[i] = a;

Callers 7

BuildDistributionTreeFunction · 0.80
DoMapMethod · 0.80
CalculatePairwiseScoreFunction · 0.80
CalcMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected