209 const char * szExistingString;
210 const char * szStringEnd =
NULL;
223 if(szStringEnd ==
NULL)
224 szStringEnd = szString + strlen(szString);
231 szExistingString = (
const char *)pMap->
HashTable[dwHashIndex];
238 dwHashIndex = (dwHashIndex + 1) % pMap->
TableSize;
242 pMap->
HashTable[dwHashIndex] = (
void *)szString;
static const char * String_GetExtension(const char *szString)
Definition: Map.cpp:19
arena_t NULL
Definition: jemalloc_internal.h:624
size_t TableSize
Definition: Map.h:21
unsigned int DWORD
Definition: CascPort.h:139
void * HashTable[1]
Definition: Map.h:25
size_t ItemCount
Definition: Map.h:22
static bool CompareObject_String(PCASC_MAP pMap, const char *szExistingString, const char *szString, const char *szStringEnd)
Definition: Map.cpp:68
static DWORD CalcHashIndex_String(PCASC_MAP pMap, const char *szString, const char *szStringEnd)
Definition: Map.cpp:44