Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/elements
/ AddKey
Method
AddKey
src/leveldb/table/filter_block.cc:29–33 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
27
}
28
29
void FilterBlockBuilder::AddKey(const Slice& key) {
30
Slice k = key;
31
start_.push_back(keys_.size());
32
keys_.append(k.data(), k.size());
33
}
34
35
Slice FilterBlockBuilder::Finish() {
36
if (!start_.empty()) {
Callers
2
TEST
Function · 0.45
Add
Method · 0.45
Calls
3
push_back
Method · 0.45
size
Method · 0.45
data
Method · 0.45
Tested by
1
TEST
Function · 0.36