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