Return the hash code of the key.
| 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 { |
no test coverage detected