hudson::details::mixer< 4 > Struct Template Reference

#include <hash.h>

List of all members.

Public Types

typedef uint32_t word

Static Public Member Functions

static void mix (uint32_t &a, uint32_t &b, uint32_t &c)
static uint32_t final (uint32_t a, uint32_t b, uint32_t c)
static uint32_t startvalue (uint32_t length)

template<>
struct hudson::details::mixer< 4 >


Member Typedef Documentation

typedef uint32_t hudson::details::mixer< 4 >::word
 


Member Function Documentation

static uint32_t hudson::details::mixer< 4 >::final uint32_t  a,
uint32_t  b,
uint32_t  c
[inline, static]
 

Final mixing for three 32-bit values. See burtleburtle.net/bob/c/lookup3.c 14 cycles.

static void hudson::details::mixer< 4 >::mix uint32_t &  a,
uint32_t &  b,
uint32_t &  c
[inline, static]
 

Mix three 32-bit values. See burtleburtle.net/bob/c/lookup3.c 12 cycles.

static uint32_t hudson::details::mixer< 4 >::startvalue uint32_t  length  )  [inline, static]
 

A roughly random initial value.


The documentation for this struct was generated from the following file:
Generated on Thu Mar 27 19:04:16 2008 by  doxygen 1.4.6