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

Method iterator_impl

src/include/buffer.h:184–191  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

182 const bool deep; ///< if true, do not allow shallow ptr copies
183
184 iterator_impl(typename std::conditional<is_const, const ptr*, ptr*>::type p,
185 size_t offset, bool d)
186 : bp(p),
187 start(p->c_str() + offset),
188 pos(start),
189 end_ptr(p->end_c_str()),
190 deep(d)
191 {}
192
193 friend class ptr;
194

Callers

nothing calls this directly

Calls 2

end_c_strMethod · 0.80
c_strMethod · 0.45

Tested by

no test coverage detected