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

Method c_str

src/common/buffer.cc:506–509  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

504 }
505
506 const char *buffer::ptr::c_str() const {
507 ceph_assert(_raw);
508 return _raw->get_data() + _off;
509 }
510 char *buffer::ptr::c_str() {
511 ceph_assert(_raw);
512 return _raw->get_data() + _off;

Callers 15

ft_ll_lookupFunction · 0.45
ft_ll_getattrFunction · 0.45
ft_ll_setattrFunction · 0.45
ft_ll_readlinkFunction · 0.45
ft_ll_opendirFunction · 0.45
ft_ll_mknodFunction · 0.45
ft_ll_mkdirFunction · 0.45
ft_ll_symlinkFunction · 0.45
ft_ll_createFunction · 0.45
ft_ll_statfsFunction · 0.45
ft_ll_unlinkFunction · 0.45
ft_ll_rmdirFunction · 0.45

Calls 4

lengthFunction · 0.50
get_dataMethod · 0.45
lengthMethod · 0.45
frontMethod · 0.45

Tested by 15

TESTFunction · 0.36
make_objectFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
do_runFunction · 0.36
TESTFunction · 0.36
aes_loop_cephxFunction · 0.36