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

Method optimal_key_slice

be/src/codegen/llvm-codegen-cache.h:110–113  ·  view source on GitHub ↗

Return the slice of key in optimal mode, which is the hash code plus the total length of a full key.

Source from the content-addressed store, hash-verified

108 /// Return the slice of key in optimal mode, which is the hash code plus the total
109 /// length of a full key.
110 Slice optimal_key_slice() const {
111 DCHECK_LE(OptimalKeySize, key_.size());
112 return Slice(key_.c_str(), OptimalKeySize);
113 }
114
115 /// Return the hash code from a key of type Slice.
116 static HashCode hash_code(Slice key) {

Callers 2

LookupMethod · 0.80
StoreInternalMethod · 0.80

Calls 2

SliceClass · 0.50
sizeMethod · 0.45

Tested by

no test coverage detected