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

Method unused_tail_length

src/common/buffer.cc:523–526  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

521 }
522
523 unsigned buffer::ptr::unused_tail_length() const
524 {
525 return _raw ? _raw->get_len() - (_off + _len) : 0;
526 }
527 const char& buffer::ptr::operator[](unsigned n) const
528 {
529 ceph_assert(_raw);

Callers 3

TESTFunction · 0.80

Calls 1

get_lenMethod · 0.45

Tested by 1

TESTFunction · 0.64