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

Function Map

library/cpp/par/par_util.h:100–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98
99 template <class TInput, class TOutput>
100 inline void Map(TJobDescription* job, TMapReduceCmd<TInput, TOutput>* cmd, TVector<TInput>* src) {
101 job->SetCurrentOperation(cmd);
102 TVector<char> buf;
103 for (int i = 0; i < src->ysize(); ++i)
104 job->AddMap((*src)[i]);
105 }
106
107 class TJobExecutor {
108 class TCallback: public IMRCommandCompleteNotify {

Callers 3

RunMapFunction · 0.70
RunMapReduceFunction · 0.70
ResizeAndRemapMethod · 0.50

Calls 3

SetCurrentOperationMethod · 0.80
AddMapMethod · 0.80
ysizeMethod · 0.45

Tested by

no test coverage detected