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.
pearson< HASH_LENGTH > Class Template Reference
[Pearson hash calculation]
Calculates a Pearson hash. More...
#include <pearson.h>
Public Member Functions | |
pearson () | |
Default constructor. | |
template<typename TIterator > | |
pearson (TIterator begin, const TIterator end) | |
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_) |
value_type | value () const |
Gets the hash value. | |
operator value_type () const | |
Conversion operator to value_type. |
Detailed Description
template<const size_t HASH_LENGTH>
class etl::pearson< HASH_LENGTH >
Calculates a Pearson hash.
- Template Parameters:
-
HASH_LENGTH The number of elements in the hash.
Definition at line 66 of file pearson.h.
Constructor & Destructor Documentation
pearson | ( | TIterator | begin, |
const TIterator | end | ||
) |
Member Function Documentation
void add | ( | TIterator | begin, |
const TIterator | end | ||
) |
void add | ( | uint8_t | value_ ) |
operator value_type | ( | ) | const |
value_type value | ( | ) | const |
Generated on Tue Jul 12 2022 14:05:53 by
