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

Function DecodeInt

be/src/kudu/util/cache-test.cc:54–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52 return result.ToString();
53}
54static int DecodeInt(const Slice& k) {
55 CHECK_EQ(4, k.size());
56 return DecodeFixed32(k.data());
57}
58
59// Cache sharding policy affects the composition of the cache. Some test
60// scenarios assume cache is single-sharded to keep the logic simpler.

Callers 3

EvictedEntryMethod · 0.70
LookupMethod · 0.70
TEST_PFunction · 0.70

Calls 3

DecodeFixed32Function · 0.85
sizeMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected