Defines | Functions

SuperFastHash.cpp File Reference

#include "SuperFastHash.h"
#include "NativeTypes.h"
#include <stdlib.h>
#include <stdint.h>
Include dependency graph for SuperFastHash.cpp:

Go to the source code of this file.

Defines

#define get16bits(d)

Functions

unsigned int SuperFastHash (const char *data, int length)
unsigned int SuperFastHashIncremental (const char *data, int len, unsigned int lastHash)
unsigned int SuperFastHashFile (const char *filename)
unsigned int SuperFastHashFilePtr (FILE *fp)

Define Documentation

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

Definition at line 16 of file SuperFastHash.cpp.


Function Documentation

unsigned int SuperFastHash ( const char *  data,
int  length 
)

Definition at line 22 of file SuperFastHash.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

unsigned int SuperFastHashFile ( const char *  filename  ) 

Definition at line 90 of file SuperFastHash.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

unsigned int SuperFastHashFilePtr ( FILE *  fp  ) 

Definition at line 100 of file SuperFastHash.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

unsigned int SuperFastHashIncremental ( const char *  data,
int  len,
unsigned int  lastHash 
)

Definition at line 42 of file SuperFastHash.cpp.

Here is the caller graph for this function: