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

Method get

src/include/alloc_ptr.h:51–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49 ptr.reset(p);
50 }
51 element_type* get() const {
52 if (!ptr)
53 ptr.reset(new element_type);
54 return ptr.get();
55 }
56 element_type& operator*() const {
57 if (!ptr)
58 ptr.reset(new element_type);

Callers 12

ceph_demangleFunction · 0.45
push_backFunction · 0.45
operator->Method · 0.45
encodeFunction · 0.45
decodeFunction · 0.45
construct_withMethod · 0.45
assignMethod · 0.45
assign_commonMethod · 0.45
ptrMethod · 0.45
ptrMethod · 0.45
push_backFunction · 0.45
operator==Method · 0.45

Calls 1

resetMethod · 0.45

Tested by

no test coverage detected