MySQL  8.0.16 Source Code Documentation
hash.c File Reference
`#include "config.h"`
`#include "memcached.h"`

## Macros

#define HASH_LITTLE_ENDIAN   1

#define HASH_BIG_ENDIAN   0

#define rot(x, k)   (((x)<<(k)) ^ ((x)>>(32-(k))))

#define mix(a, b, c)

#define final(a, b, c)

## Functions

uint32_t hash (const void *key, size_t length, const uint32_t initval)

## ◆ final

 #define final ( a, b, c )
Value:
{ \
c ^= b; c -= rot(b,14); \
a ^= c; a -= rot(c,11); \
b ^= a; b -= rot(a,25); \
c ^= b; c -= rot(b,16); \
a ^= c; a -= rot(c,4); \
b ^= a; b -= rot(a,14); \
c ^= b; c -= rot(b,24); \
}
#define rot(x, k)
Definition: hash.c:28

## ◆ HASH_BIG_ENDIAN

 #define HASH_BIG_ENDIAN   0

## ◆ HASH_LITTLE_ENDIAN

 #define HASH_LITTLE_ENDIAN   1

## ◆ mix

 #define mix ( a, b, c )
Value:
{ \
a -= c; a ^= rot(c, 4); c += b; \
b -= a; b ^= rot(a, 6); a += c; \
c -= b; c ^= rot(b, 8); b += a; \
a -= c; a ^= rot(c,16); c += b; \
b -= a; b ^= rot(a,19); a += c; \
c -= b; c ^= rot(b, 4); b += a; \
}
#define rot(x, k)
Definition: hash.c:28

## ◆ rot

 #define rot ( x, k ) (((x)<<(k)) ^ ((x)>>(32-(k))))

## ◆ hash()

 uint32_t hash ( const void * key, size_t length, const uint32_t initval )