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

Method get_ptr

src/include/buffer.h:202–210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

200 return r;
201 }
202 ptr get_ptr(size_t len) {
203 if (deep) {
204 return buffer::copy(get_pos_add(len), len);
205 } else {
206 size_t off = pos - bp->c_str();
207 *this += len;
208 return ptr(*bp, off, len);
209 }
210 }
211
212 iterator_impl& operator+=(size_t len);
213

Callers 9

copy_cache_blMethod · 0.45
decodeMethod · 0.45
completeMethod · 0.45
IndexClosureMethod · 0.45
handle_slo_manifestMethod · 0.45
mainFunction · 0.45
decodeMethod · 0.45
decodeMethod · 0.45
decode_noheadMethod · 0.45

Calls 3

copyFunction · 0.70
ptrFunction · 0.70
c_strMethod · 0.45

Tested by

no test coverage detected