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

Method hash_code

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

Return the hash code of the key.

Source from the content-addressed store, hash-verified

91
92 /// Return the hash code of the key.
93 HashCode hash_code() const {
94 DCHECK(!key_.empty());
95 DCHECK(key_.length() >= sizeof(HashCode));
96 return *(const HashCode*)key_.c_str();
97 }
98
99 /// Return the slice of the hash code of the key.
100 Slice hash_code_slice() const {

Callers 6

StoreInternalMethod · 0.80
StoreMethod · 0.80
LookupCacheMethod · 0.80
FinalizeModuleMethod · 0.80
SetFunctionPointersMethod · 0.80
DebugCacheEntryStringMethod · 0.80

Calls 4

emptyMethod · 0.45
lengthMethod · 0.45
sizeMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected