MCPcopy Create free account
hub / github.com/ElementsProject/elements / Count

Method Count

src/leveldb/db/write_batch.cc:82–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82int WriteBatchInternal::Count(const WriteBatch* b) {
83 return DecodeFixed32(b->rep_.data() + 8);
84}
85
86void WriteBatchInternal::SetCount(WriteBatch* b, int n) {
87 EncodeFixed32(&b->rep_[8], n);

Callers 2

CheckMethod · 0.45
CheckMethod · 0.45

Calls 2

DecodeFixed32Function · 0.85
dataMethod · 0.45

Tested by 2

CheckMethod · 0.36
CheckMethod · 0.36