Class Hamming

Class Documentation

class aslam::common::Hamming

Public Types

typedef unsigned char ValueType
typedef int ResultType

Public Functions

inline Hamming()
inline ResultType operator()(const unsigned char *a, const unsigned char *b, const int size) const

Public Static Functions

static uint32_t SSSE3PopcntofXORed(const __m128i *signature1, const __m128i *signature2, const int numberOf128BitWords)
static inline uint32_t PopcntofXORed(const __m128i *signature1, const __m128i *signature2, const int numberOf128BitWords)
static inline uint32_t PopcntofXORed(const unsigned char *signature1, const unsigned char *signature2, const int numberOf128BitWords)
static inline ResultType evaluate(const unsigned char *a, const unsigned char *b, const int size)