proxygen
|
#include <FingerprintPolynomial.h>
Public Member Functions | |
constexpr | FingerprintPolynomial () |
constexpr | FingerprintPolynomial (const uint64_t(&vals)[size()]) |
constexpr uint64_t | get (size_t i) const |
constexpr void | add (const FingerprintPolynomial< DEG > &other) |
constexpr void | mulX () |
constexpr void | mulXmod (const FingerprintPolynomial< DEG > &p) |
constexpr void | mulXkmod (int k, const FingerprintPolynomial< DEG > &p) |
constexpr void | addXk (int k) |
constexpr void | setHigh8Bits (uint8_t val) |
Static Public Member Functions | |
static constexpr int | size () |
Private Attributes | |
uint64_t | val_ [size()] = {} |
Representation of a polynomial of degree DEG over GF(2) (that is, with binary coefficients).
Probably of no use outside of Fingerprint code; used by GenerateFingerprintTables and the unittest.
Definition at line 32 of file FingerprintPolynomial.h.
|
inline |
Definition at line 38 of file FingerprintPolynomial.h.
|
inlineexplicit |
Definition at line 40 of file FingerprintPolynomial.h.
|
inline |
Definition at line 50 of file FingerprintPolynomial.h.
Referenced by folly::detail::FingerprintPolynomial< BITS-1 >::mulXmod().
|
inline |
Definition at line 107 of file FingerprintPolynomial.h.
Referenced by folly::detail::SlowFingerprint< BITS >::SlowFingerprint(), and folly::detail::SlowFingerprint< BITS >::updateBit().
|
inline |
Definition at line 46 of file FingerprintPolynomial.h.
Referenced by folly::detail::SlowFingerprint< BITS >::write().
|
inline |
Definition at line 57 of file FingerprintPolynomial.h.
Referenced by folly::detail::FingerprintPolynomial< BITS-1 >::mulXmod().
|
inline |
Definition at line 100 of file FingerprintPolynomial.h.
|
inline |
Definition at line 90 of file FingerprintPolynomial.h.
Referenced by folly::detail::FingerprintPolynomial< BITS-1 >::mulXkmod(), and folly::detail::SlowFingerprint< BITS >::updateBit().
|
inline |
Definition at line 116 of file FingerprintPolynomial.h.
|
inlinestatic |
Definition at line 34 of file FingerprintPolynomial.h.
Referenced by folly::detail::FingerprintPolynomial< BITS-1 >::add(), folly::detail::FingerprintPolynomial< BITS-1 >::FingerprintPolynomial(), folly::detail::FingerprintPolynomial< BITS-1 >::mulX(), folly::detail::FingerprintPolynomial< BITS-1 >::setHigh8Bits(), and folly::detail::SlowFingerprint< BITS >::write().
|
private |
Definition at line 130 of file FingerprintPolynomial.h.
Referenced by folly::detail::FingerprintPolynomial< BITS-1 >::add(), folly::detail::FingerprintPolynomial< BITS-1 >::addXk(), folly::detail::FingerprintPolynomial< BITS-1 >::FingerprintPolynomial(), folly::detail::FingerprintPolynomial< BITS-1 >::get(), folly::detail::FingerprintPolynomial< BITS-1 >::mulX(), folly::detail::FingerprintPolynomial< BITS-1 >::mulXmod(), and folly::detail::FingerprintPolynomial< BITS-1 >::setHigh8Bits().