SIS
Symmetric Index Structures
/Users/dbr/ma/src/bas/lml/hash.c File Reference
#include "base.h"
Include dependency graph for hash.c:

Go to the source code of this file.

Defines

#define hashStep   (107)

Functions

HashHashInit (void *set, UINT(*GetIndexOfNewObject)(void *, const void *), UINT(*GetFirstIndex)(void *), UINT(*GetNextIndex)(void *, UINT), boolean(*Equals)(void *, const void *, UINT), UINT(*HashCode)(void *, const void *, UINT), UINT(*HashCode2)(void *, UINT, UINT))
UINT HashAdd (Hash *hash, const void *object)
UINT HashGetIndex (Hash *hash, const void *object)
void HashFree (Hash *hash)
void HashReset (Hash *hash)

Define Documentation

#define hashStep   (107)

Definition at line 3 of file hash.c.

Referenced by HashAdd(), and HashGetIndex().


Function Documentation

UINT HashAdd ( Hash hash,
const void *  object 
)

Definition at line 32 of file hash.c.

void HashFree ( Hash hash)

Definition at line 71 of file hash.c.

Referenced by CDAWGBuildHelpFree(), and SuffixTreeBuildHelpFree().

UINT HashGetIndex ( Hash hash,
const void *  object 
)

Definition at line 60 of file hash.c.

Referenced by Delta(), FindRightState(), and lmu::cis::sis::SCDAWGAdapter::FindRightState().

Hash* HashInit ( void *  set,
UINT(*)(void *, const void *)  GetIndexOfNewObject,
UINT(*)(void *)  GetFirstIndex,
UINT(*)(void *, UINT GetNextIndex,
boolean(*)(void *, const void *, UINT Equals,
UINT(*)(void *, const void *, UINT HashCode,
UINT(*)(void *, UINT, UINT HashCode2 
)

Definition at line 5 of file hash.c.

Referenced by CDAWGBuildHelpInit(), and SuffixTreeBuildHelpInit().

void HashReset ( Hash hash)

Definition at line 76 of file hash.c.