Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
82
int WriteBatchInternal::Count(const WriteBatch* b) {
83
return DecodeFixed32(b->rep_.data() + 8);
84
}
85
86
void WriteBatchInternal::SetCount(WriteBatch* b, int n) {
87
EncodeFixed32(&b->rep_[8], n);
Callers
2
Check
Method · 0.45
Check
Method · 0.45
Calls
2
DecodeFixed32
Function · 0.85
data
Method · 0.45
Tested by
2
Check
Method · 0.36
Check
Method · 0.36