Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

jenkins64.c File Reference

#include "jenkins.h"
#include <stdio.h>
#include <stddef.h>
#include <stdlib.h>

Defines

#define hashmask(n)   (hashsize(n)-1)
#define hashsize(n)   ((ub8)1<<(n))
#define mix64(a, b, c)

Typedefs

typedef unsigned char ub1
typedef u_int32_t ub4
typedef u_int64_t ub8

Functions

__inline__ u_int64_t aw_jhash64 (u_int64_t k)
 Wappers -RRL.


Define Documentation

#define hashmask (  n   )     (hashsize(n)-1)
 

#define hashsize (  n   )     ((ub8)1<<(n))
 

#define mix64 (  a,
b,
c   ) 
 

Value:

{ \
  a -= b; a -= c; a ^= (c>>43); \
  b -= c; b -= a; b ^= (a<<9); \
  c -= a; c -= b; c ^= (b>>8); \
  a -= b; a -= c; a ^= (c>>38); \
  b -= c; b -= a; b ^= (a<<23); \
  c -= a; c -= b; c ^= (b>>5); \
  a -= b; a -= c; a ^= (c>>35); \
  b -= c; b -= a; b ^= (a<<49); \
  c -= a; c -= b; c ^= (b>>11); \
  a -= b; a -= c; a ^= (c>>12); \
  b -= c; b -= a; b ^= (a<<18); \
  c -= a; c -= b; c ^= (b>>22); \
}


Typedef Documentation

typedef unsigned char ub1
 

typedef u_int32_t ub4
 

typedef u_int64_t ub8
 


Function Documentation

__inline__ u_int64_t aw_jhash64 (  u_int64_t  k  ) 
 

Wappers -RRL.

Aware 0.11.1 Copyright (C) 1998-2005 Russell Leighton (russ@elegant-software.com)