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

Function DecodeInt

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

Source from the content-addressed store, hash-verified

24 return result.ToString();
25}
26static int DecodeInt(const Slice& k) {
27 CHECK_EQ(4, k.size());
28 return kudu::DecodeFixed32(k.data());
29}
30
31// Cache sharding policy affects the composition of the cache. Some test
32// scenarios assume cache is single-sharded to keep the logic simpler.

Callers 4

EvictedEntryMethod · 0.70
LookupMethod · 0.70
TEST_PFunction · 0.70
TEST_PFunction · 0.70

Calls 3

DecodeFixed32Function · 0.85
sizeMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected