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

Method RegisterData

library/cpp/par/par_mr.cpp:69–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67 }
68 IUserContext* CreateLocalOnlyContext() override;
69 TDataLocation RegisterData(int tblId, ui64 versionId, TVector<char>* p) override {
70 i64 id = WriteBuffer->SetData(tblId, versionId, p);
71 return TDataLocation(id, QueryProc->GetCompId());
72 }
73 TDataLocation RegisterData(int tblId, ui64 versionId, TVector<TVector<char>>* p) override {
74 i64 id = WriteBuffer->SetData(tblId, versionId, p);
75 return TDataLocation(id, QueryProc->GetCompId());

Callers 1

RegisterDataMethod · 0.45

Calls 4

GetCompIdMethod · 0.80
TDataLocationClass · 0.70
SetDataMethod · 0.45
SetObjectMethod · 0.45

Tested by

no test coverage detected