Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_rebuild
Method · 0.80
TEST
Function · 0.80
get_wasted_space
Method · 0.80
Calls
1
get_len
Method · 0.45
Tested by
1
TEST
Function · 0.64