| 53 | dcNotify->DistrCmdComplete(reqId, &buf); |
| 54 | } |
| 55 | void MergeAsync(TVector<TVector<char>>* src, IDCResultNotify* dcNotify, int reqId) const override { |
| 56 | CHROMIUM_TRACE_FUNCTION(); |
| 57 | TVector<TOutputArg> srcData; |
| 58 | int count = src->ysize(); |
| 59 | srcData.resize(count); |
| 60 | for (int i = 0; i < count; ++i) |
| 61 | SerializeFromMem(&(*src)[i], srcData[i]); |
| 62 | TOutputArg outp; |
| 63 | DoReduce(&srcData, &outp); |
| 64 | TVector<char> buf; |
| 65 | SerializeToMem(&buf, outp); |
| 66 | dcNotify->DistrCmdComplete(reqId, &buf); |
| 67 | } |
| 68 | |
| 69 | public: |
| 70 | using TInput = TInputArg; |
nothing calls this directly
no test coverage detected