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

Method wasted

src/common/buffer.cc:552–555  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

550 }
551
552 unsigned buffer::ptr::wasted() const
553 {
554 return _raw->get_len() - _len;
555 }
556
557 int buffer::ptr::cmp(const ptr& o) const
558 {

Callers 3

maybe_rebuildMethod · 0.80
TESTFunction · 0.80
get_wasted_spaceMethod · 0.80

Calls 1

get_lenMethod · 0.45

Tested by 1

TESTFunction · 0.64