Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
murmur3< THash > Class Template Reference
[Murmur3 hash calculations]
Calculates the murmur3 hash. More...
#include <murmur3.h>
Public Member Functions | |
murmur3 (value_type seed_=0) | |
Default constructor. | |
template<typename TIterator > | |
murmur3 (TIterator begin, const TIterator end, value_type seed_=0) | |
Constructor from range. | |
void | reset () |
Resets the hash to the initial state. | |
template<typename TIterator > | |
void | add (TIterator begin, const TIterator end) |
Adds a range. | |
void | add (uint8_t value_) |
Adds a uint8_t value. | |
value_type | value () |
Gets the hash value. | |
operator value_type () | |
Conversion operator to value_type. |
Detailed Description
template<typename THash>
class etl::murmur3< THash >
Calculates the murmur3 hash.
See https://en.wikipedia.org/wiki/MurmurHash for more details.
Definition at line 56 of file murmur3.h.
Constructor & Destructor Documentation
murmur3 | ( | value_type | seed_ = 0 ) |
murmur3 | ( | TIterator | begin, |
const TIterator | end, | ||
value_type | seed_ = 0 |
||
) |
Member Function Documentation
void add | ( | TIterator | begin, |
const TIterator | end | ||
) |
void add | ( | uint8_t | value_ ) |
operator value_type | ( | ) |
Generated on Tue Jul 12 2022 14:05:52 by
