CMS 3D CMS Logo

Namespaces | Defines | Typedefs | Functions

/data/refman/pasoursint/CMSSW_5_3_0/src/CondFormats/Common/src/hash64.cc File Reference

#include "CondFormats/Common/interface/hash64.h"

Go to the source code of this file.

Namespaces

namespace  cond

Defines

#define mix64(a, b, c)

Typedefs

typedef unsigned char ub1
typedef unsigned long int ub4
typedef unsigned long long ub8

Functions

unsigned long long cond::hash64 (unsigned char *k, unsigned long long length, unsigned long long level)

Define Documentation

#define mix64 (   a,
  b,
 
)
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); \
}

Definition at line 22 of file hash64.cc.

Referenced by cond::hash64().


Typedef Documentation

typedef unsigned char ub1

Definition at line 40 of file hash64.cc.

typedef unsigned long int ub4

Definition at line 39 of file hash64.cc.

typedef unsigned long long ub8

Definition at line 38 of file hash64.cc.