|
Embedded Template Library 1.0
|
Classes | |
| class | etl::pearson< HASH_LENGTH > |
| class etl::pearson |
Calculates a Pearson hash
| HASH_LENGTH | The number of elements in the hash. |
Public Types | |
| typedef etl::array< uint8_t, HASH_LENGTH > | value_type |
Public Member Functions | |
| pearson () | |
| Default constructor. | |
| template<typename TIterator > | |
| pearson (TIterator begin, const TIterator end) | |
| 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 () const |
| Gets the hash value. | |
| operator value_type () const | |
| Conversion operator to value_type. | |
|
inline |
Constructor from range.
| begin | Start of the range. |
| end | End of the range. |
|
inline |
Adds a range.
| begin | |
| end |
|
inline |
| value | The char to add to the hash. |