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

Function decode_noclear

src/include/encoding.h:1117–1126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1115}
1116template<class T, class U, class Comp, class Alloc>
1117inline void decode_noclear(std::map<T,U,Comp,Alloc>& m, bufferlist::const_iterator& p)
1118{
1119 __u32 n;
1120 decode(n, p);
1121 while (n--) {
1122 T k;
1123 decode(k, p);
1124 decode(m[k], p);
1125 }
1126}
1127template<std::move_constructible T, std::move_constructible U, class Comp, class Alloc>
1128inline void decode_noclear(std::map<T,U,Comp,Alloc>& m, bufferlist::const_iterator& p)
1129{

Callers 2

do_scanMethod · 0.85
handle_scan_digestMethod · 0.85

Calls 4

decodeFunction · 0.70
emplaceMethod · 0.45
reserveMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected