MCPcopy Create free account
hub / github.com/ElementsProject/elements / ReportDrop

Method ReportDrop

src/leveldb/db/log_reader.cc:182–187  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

180}
181
182void 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
189unsigned int Reader::ReadPhysicalRecord(Slice* result) {
190 while (true) {

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.45
CorruptionMethod · 0.45

Tested by

no test coverage detected