MCPcopy Create free account
hub / github.com/catboost/catboost / operator&

Method operator&

library/cpp/par/par_util.cpp:194–207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

192 TIntrusivePtr<TSharedCmd> SharedCmd;
193
194 int operator&(IBinSaver& f)override {
195 if (f.IsReading()) {
196 SharedCmd = new TSharedCmd();
197 f.Add(2, &SharedCmd->FinalMap);
198 } else {
199 if (SharedCmd.Get())
200 f.Add(2, &SharedCmd->FinalMap);
201 else {
202 TObj<IDistrCmd> finalMap;
203 f.Add(2, &finalMap);
204 }
205 }
206 return 0;
207 }
208
209 class TExecutor: public ILocallyExecutable, public IDCResultNotify {
210 TIntrusivePtr<IUserContext> Context;

Callers

nothing calls this directly

Calls 3

IsReadingMethod · 0.80
AddMethod · 0.45
GetMethod · 0.45

Tested by

no test coverage detected