MCPcopy 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

mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
do_importMethod · 0.45
operator()Method · 0.45
calc_sparse_extentFunction · 0.45
finishMethod · 0.45
finishMethod · 0.45
writesameMethod · 0.45
aio_writesameMethod · 0.45
calc_sparse_extentFunction · 0.45
finishMethod · 0.45

Calls 1

mem_is_zeroFunction · 0.50

Tested by 9

TESTFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_PFunction · 0.36
TESTFunction · 0.36
initMethod · 0.36
TEST_FFunction · 0.36