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

Method seek

src/common/buffer.cc:706–711  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

704
705 template<bool is_const>
706 void buffer::list::iterator_impl<is_const>::seek(unsigned o)
707 {
708 p = ls->begin();
709 off = p_off = 0;
710 *this += o;
711 }
712
713 template<bool is_const>
714 char buffer::list::iterator_impl<is_const>::operator*() const

Callers 15

mainFunction · 0.45
write_confFunction · 0.45
update_archive_settingFunction · 0.45
write_rotate_confFunction · 0.45
create_simple_monmapFunction · 0.45
clusterFunction · 0.45
update_archive_settingFunction · 0.45
copy_keyFunction · 0.45
update_configFunction · 0.45
get_idmap_confMethod · 0.45

Calls 1

beginMethod · 0.45

Tested by 2

mainFunction · 0.36