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

Method get_current_ptr

src/common/buffer.cc:732–737  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

730
731 template<bool is_const>
732 buffer::ptr buffer::list::iterator_impl<is_const>::get_current_ptr() const
733 {
734 if (p == ls->end())
735 throw end_of_buffer();
736 return ptr(*p, p_off, p->length() - p_off);
737 }
738
739 template<bool is_const>
740 bool buffer::list::iterator_impl<is_const>::is_pointing_same_raw(

Callers 11

encodeMethod · 0.80
_decodeMethod · 0.80
TESTFunction · 0.80
TESTFunction · 0.80
buffer_iteratorFunction · 0.80
TESTFunction · 0.80
create_bufferptrFunction · 0.80
read_message_dataMethod · 0.80
handle_message_dataMethod · 0.80
advanceMethod · 0.80
get_int_from_bufferlistFunction · 0.80

Calls 4

end_of_bufferClass · 0.70
ptrFunction · 0.50
endMethod · 0.45
lengthMethod · 0.45

Tested by 5

TESTFunction · 0.64
TESTFunction · 0.64
buffer_iteratorFunction · 0.64
TESTFunction · 0.64
create_bufferptrFunction · 0.64