Logo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
hash.hh File Reference
#include <stddef.h>
#include <stdint.h>
#include <string>
Include dependency graph for hash.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define HASHLENGTH   64
 
#define get16bits(d)
 

Functions

uint32_t h (const char *, size_t)
 
uint32_t hash_ruby (const char *data)
 
uint32_t h (std::string)
 

Macro Definition Documentation

#define get16bits (   d)
Value:
((((uint32_t)(((const uint8_t *)(d))[1])) << 8)\
+(uint32_t)(((const uint8_t *)(d))[0]) )
#define HASHLENGTH   64

Function Documentation

uint32_t h ( const char *  ,
size_t   
)
uint32_t h ( std::string  )
uint32_t hash_ruby ( const char *  data)