Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ceph/ceph
/ is_zero
Method
is_zero
src/common/buffer.cc:577–580 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
575
}
576
577
bool buffer::ptr::is_zero() const
578
{
579
return /*is_zero_fast() ||*/ mem_is_zero(c_str(), _len);
580
}
581
582
unsigned buffer::ptr::append(char c)
583
{
Callers
15
main
Function · 0.45
main
Function · 0.45
main
Function · 0.45
do_import
Method · 0.45
operator()
Method · 0.45
calc_sparse_extent
Function · 0.45
finish
Method · 0.45
finish
Method · 0.45
writesame
Method · 0.45
aio_writesame
Method · 0.45
calc_sparse_extent
Function · 0.45
finish
Method · 0.45
Calls
1
mem_is_zero
Function · 0.50
Tested by
9
TEST
Function · 0.36
TEST_F
Function · 0.36
TEST_F
Function · 0.36
TEST_F
Function · 0.36
TEST_F
Function · 0.36
TEST_P
Function · 0.36
TEST
Function · 0.36
init
Method · 0.36
TEST_F
Function · 0.36