MCPcopy Create free account
hub / github.com/apache/impala / GetCharge

Method GetCharge

be/src/runtime/tuple-cache-mgr.cc:320–323  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

318}
319
320size_t TupleCacheMgr::GetCharge(TupleCacheMgr::Handle* handle) const {
321 uint8_t* data = getHandleData(cache_.get(), handle);
322 return reinterpret_cast<TupleCacheEntry*>(data)->charge;
323}
324
325void TupleCacheMgr::UpdateWriteSize(TupleCacheMgr::Handle* handle,
326 size_t charge) {

Callers

nothing calls this directly

Calls 2

getHandleDataFunction · 0.85
getMethod · 0.65

Tested by

no test coverage detected