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

Method SetData

library/cpp/par/par_wb.h:190–195  ·  view source on GitHub ↗

non blocking most of the time

Source from the content-addressed store, hash-verified

188 }
189 // non blocking most of the time
190 i64 SetData(int tblId, ui64 versionId, TVector<char>* p) {
191 i64 id = GenId();
192 const auto dataSize = p->ysize();
193 EnqueSetDataOp(new TSetDataOp(id, tblId, versionId, p), dataSize);
194 return id;
195 }
196 i64 SetData(int tblId, ui64 versionId, TVector<TVector<char>>* p) {
197 // It's not static_assert because this code can be compiled on 32-bit platform
198 Y_ABORT_UNLESS(sizeof(TAtomic) >= 8);

Callers 3

RegisterDataMethod · 0.45
RegisterDataMethod · 0.45

Calls 2

TotalSizeFunction · 0.85
ysizeMethod · 0.45

Tested by

no test coverage detected