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

Function encode

src/include/denc.h:971–980  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

969
970 template<typename U=T>
971 static void encode(const container& s,
972 ceph::buffer::list::contiguous_appender& p,
973 uint64_t f = 0) {
974 denc((uint32_t)s.size(), p);
975 if constexpr (traits::featured) {
976 encode_nohead(s, p, f);
977 } else {
978 encode_nohead(s, p);
979 }
980 }
981 static void decode(container& s, ceph::buffer::ptr::const_iterator& p,
982 uint64_t f = 0) {
983 uint32_t num;

Callers 10

encodeMethod · 0.70
encodeMethod · 0.70
encodeMethod · 0.70
encodeMethod · 0.70
encodeMethod · 0.70
encodeMethod · 0.70
encodeMethod · 0.70
dencFunction · 0.70
encodeMethod · 0.70
encodeMethod · 0.70

Calls 3

dencFunction · 0.85
encode_noheadFunction · 0.70
sizeMethod · 0.45

Tested by

no test coverage detected