| 16 | } |
| 17 | |
| 18 | int CountLines(const TString& poolFile) { |
| 19 | CB_ENSURE(NFs::Exists(TString(poolFile)), "pool file '" << TString(poolFile) << "' is not found"); |
| 20 | TIFStream reader(poolFile.c_str()); |
| 21 | size_t count = 0; |
| 22 | TString buffer; |
| 23 | while (reader.ReadLine(buffer)) { |
| 24 | ++count; |
| 25 | } |
| 26 | return count; |
| 27 | } |
| 28 | |
| 29 | |
| 30 | TBlocksSubsetLineDataReader::TBlocksSubsetLineDataReader(THolder<ILineDataReader>&& lineDataReader, TVector<TIndexRange<ui64>>&& subsetBlocks) |
no test coverage detected