template<typename THash>
class etl::murmur3< THash >
Calculates the murmur3 hash. See https://en.wikipedia.org/wiki/MurmurHash for more details.
Public Types |
|
typedef THash | value_type |
Public Member Functions |
|
| ETL_STATIC_ASSERT ((etl::is_same< THash, uint32_t >::value||etl::is_same< THash, uint64_t >::value), "Only 32 & 64 bit types supported") |
| | murmur3 (value_type seed_=0) |
| template<typename TIterator> |
| | murmur3 (TIterator begin, const TIterator end, value_type seed_=0) |
|
void | reset () |
| | Resets the hash to the initial state.
|
| template<typename TIterator> |
| void | add (TIterator begin, const TIterator end) |
| void | add (uint8_t value_) |
|
value_type | value () |
| | Gets the hash value.
|
|
| operator value_type () |
| | Conversion operator to value_type.
|