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

Method end_c_str

src/common/buffer.cc:514–517  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

512 return _raw->get_data() + _off;
513 }
514 const char *buffer::ptr::end_c_str() const {
515 ceph_assert(_raw);
516 return _raw->get_data() + _off + _len;
517 }
518 char *buffer::ptr::end_c_str() {
519 ceph_assert(_raw);
520 return _raw->get_data() + _off + _len;

Callers 5

setMethod · 0.80
append_holeMethod · 0.80
iterator_implMethod · 0.80
iterator_implMethod · 0.80

Calls 1

get_dataMethod · 0.45

Tested by

no test coverage detected