| 28 | class TextParserBase : public ParserImpl<IndexType, DType> { |
| 29 | public: |
| 30 | explicit TextParserBase(InputSplit *source, |
| 31 | int nthread) |
| 32 | : bytes_read_(0), source_(source) { |
| 33 | int maxthread = std::max(omp_get_num_procs() / 2 - 4, 1); |
| 34 | nthread_ = std::min(maxthread, nthread); |
| 35 | } |
| 36 | virtual ~TextParserBase() { |
| 37 | delete source_; |
| 38 | } |
nothing calls this directly
no test coverage detected