MCPcopy Create free account
hub / github.com/ceph/ceph / covers

Method covers

src/test/osd/Object.h:357–359  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

355 }
356
357 bool covers(uint64_t pos) {
358 return ranges.contains(pos) || (!ranges.starts_after(pos) && pos >= size);
359 }
360
361 uint64_t next(uint64_t pos) {
362 ceph_assert(!covers(pos));

Callers 1

adjust_stackMethod · 0.80

Calls 2

containsMethod · 0.45
starts_afterMethod · 0.45

Tested by

no test coverage detected