MCPcopy Create free account
hub / github.com/apache/impala / operator()

Method operator()

be/src/gutil/strings/stringpiece.cc:27–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25
26namespace std {
27 size_t hash<StringPiece>::operator()(StringPiece s) const {
28 return HashTo32(s.data(), s.size());
29 }
30} // namespace std
31
32std::ostream& operator<<(std::ostream& o, StringPiece piece) {

Callers

nothing calls this directly

Calls 2

dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected