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

Method end_after

src/include/interval_set.h:528–532  ·  view source on GitHub ↗

interval end that contains start

Source from the content-addressed store, hash-verified

526
527 // interval end that contains start
528 offset_type end_after(T start) const {
529 ceph_assert(contains(start));
530 auto p = find_inc(start);
531 return p->first+p->second;
532 }
533
534 void insert(T val) {
535 insert(val, 1);

Callers 2

project_alloc_idsMethod · 0.45
valid_tillMethod · 0.45

Calls 1

containsFunction · 0.85

Tested by 1

valid_tillMethod · 0.36