Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/elements
/ TotalCharge
Method
TotalCharge
src/leveldb/util/cache.cc:166–169 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
164
void Erase(const Slice& key, uint32_t hash);
165
void Prune();
166
size_t TotalCharge() const {
167
MutexLock l(&mutex_);
168
return usage_;
169
}
170
171
private:
172
void LRU_Remove(LRUHandle* e);
Callers
2
TotalCharge
Method · 0.45
GetProperty
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected