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

Method UpdateCharge

be/src/util/cache/cache-test.h:69–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67 }
68
69 void UpdateCharge(int key, int charge) {
70 auto handle(cache_->Lookup(EncodeInt(key), Cache::NO_UPDATE));
71 cache_->UpdateCharge(handle, charge);
72 }
73
74 // Insert a key with the give value and charge. Return whether the insert was
75 // successful.

Callers

nothing calls this directly

Calls 2

EncodeIntFunction · 0.70
LookupMethod · 0.45

Tested by

no test coverage detected