Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_stack
Method · 0.80
Calls
2
contains
Method · 0.45
starts_after
Method · 0.45
Tested by
no test coverage detected