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

Function encode

src/include/encoding.h:98–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96WRITE_RAW_ENCODER(ceph_le16)
97
98inline void encode(const bool &v, bufferlist& bl) {
99 __u8 vv = v;
100 encode_raw(vv, bl);
101}
102inline void decode(bool &v, bufferlist::const_iterator& p) {
103 __u8 vv;
104 decode_raw(vv, p);

Callers 3

encode_destructivelyFunction · 0.70
round_trip_encodeFunction · 0.70
encode_noheadFunction · 0.70

Calls 13

encode_rawFunction · 0.85
for_eachFunction · 0.85
TClass · 0.85
lengthMethod · 0.45
appendMethod · 0.45
dataMethod · 0.45
sizeMethod · 0.45
countMethod · 0.45
getMethod · 0.45
beginMethod · 0.45
endMethod · 0.45
append_holeMethod · 0.45

Tested by

no test coverage detected