31#ifndef ETL_JENKINS_INCLUDED
32#define ETL_JENKINS_INCLUDED
35#include "static_assert.h"
44#if defined(ETL_COMPILER_KEIL)
45#pragma diag_suppress 1300
59 typedef uint32_t value_type;
61 uint32_t initial()
const
68 uint32_t add(value_type hash, uint8_t value)
const
73 hash += (hash << 10U);
79 uint32_t
final(value_type hash)
const
82 hash ^= (hash >> 11U);
83 hash += (hash << 15U);
89 mutable bool is_finalised;
112 template<
typename TIterator>
jenkins
Definition: jenkins.h:96
jenkins()
Default constructor.
Definition: jenkins.h:102
jenkins(TIterator begin, const TIterator end)
Definition: jenkins.h:113
#define ETL_ASSERT(b, e)
Definition: error_handler.h:316
void reset()
Resets the FCS to the initial state.
Definition: frame_check_sequence.h:134
void add(TIterator begin, const TIterator end)
Definition: frame_check_sequence.h:145
Definition: frame_check_sequence.h:100
bitset_ext
Definition: absolute.h:38
ETL_CONSTEXPR TContainer::iterator begin(TContainer &container)
Definition: iterator.h:931
ETL_CONSTEXPR TContainer::iterator end(TContainer &container)
Definition: iterator.h:961