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

Method intersects

src/include/interval_set.h:490–497  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

488 return tmp == other;
489 }
490 bool intersects(T start, T len) const {
491 interval_set a;
492 a.insert(start, len);
493 interval_set i;
494 i.intersection_of( *this, a );
495 if (i.empty()) return false;
496 return true;
497 }
498
499 // outer range of set
500 bool empty() const {

Callers

nothing calls this directly

Calls 3

insertMethod · 0.45
intersection_ofMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected