| 180 | } |
| 181 | |
| 182 | void Reader::ReportDrop(uint64_t bytes, const Status& reason) { |
| 183 | if (reporter_ != nullptr && |
| 184 | end_of_buffer_offset_ - buffer_.size() - bytes >= initial_offset_) { |
| 185 | reporter_->Corruption(static_cast<size_t>(bytes), reason); |
| 186 | } |
| 187 | } |
| 188 | |
| 189 | unsigned int Reader::ReadPhysicalRecord(Slice* result) { |
| 190 | while (true) { |
nothing calls this directly
no test coverage detected