#include <iostream>
#include <cstdlib>
#include <cstring>
#include <include/gcc-attr.h>
#include "HashTable.hpp"
#include <lib/support/diagnostics.h>
Go to the source code of this file.
|
| static uint | DefaultHashFunct (const void *entry, const uint size) |
| |
| static uint | DefaultRehashFunct (const uint oldHashValue, const uint size) |
| |
| static int | DefaultEntryCompare (const void *entry1, const void *entry2) |
| |
| static void | DefaultEntryCleanup (void *entry) |
| |
| uint | IntegerHashFunct (const int value, const uint size) |
| |
| uint | IntegerRehashHashFunct (const uint oldHashValue, const uint size) |
| |
| int | IntegerEntryCompare (const int value1, const int value2) |
| |
| uint | StringHashFunct (const void *entry, const uint size) |
| |
| uint | StringRehashFunct (const uint oldHashValue, const uint size) |
| |
| int | StringEntryCompare (const void *entry1, const void *entry2) |
| |
| static uint | DefaultHashFunct (const void *GCC_ATTR_UNUSED entry, const uint GCC_ATTR_UNUSED size) |
| |
| static int | DefaultEntryCompare (const void *GCC_ATTR_UNUSED entry1, const void *GCC_ATTR_UNUSED entry2) |
| |
| static void | DefaultEntryCleanup (void *GCC_ATTR_UNUSED entry) |
| |
◆ DefaultEntryCleanup() [1/2]
| static void DefaultEntryCleanup |
( |
void * |
entry | ) |
|
|
static |
◆ DefaultEntryCleanup() [2/2]
◆ DefaultEntryCompare() [1/2]
| static int DefaultEntryCompare |
( |
const void * |
entry1, |
|
|
const void * |
entry2 |
|
) |
| |
|
static |
◆ DefaultEntryCompare() [2/2]
◆ DefaultHashFunct() [1/2]
| static uint DefaultHashFunct |
( |
const void * |
entry, |
|
|
const uint |
size |
|
) |
| |
|
static |
◆ DefaultHashFunct() [2/2]
◆ DefaultRehashFunct()
| static uint DefaultRehashFunct |
( |
const uint |
oldHashValue, |
|
|
const uint |
size |
|
) |
| |
|
static |
◆ IntegerEntryCompare()
| int IntegerEntryCompare |
( |
const int |
value1, |
|
|
const int |
value2 |
|
) |
| |
◆ IntegerHashFunct()
| uint IntegerHashFunct |
( |
const int |
value, |
|
|
const uint |
size |
|
) |
| |
◆ IntegerRehashHashFunct()
| uint IntegerRehashHashFunct |
( |
const uint |
oldHashValue, |
|
|
const uint |
size |
|
) |
| |
◆ StringEntryCompare()
| int StringEntryCompare |
( |
const void * |
entry1, |
|
|
const void * |
entry2 |
|
) |
| |
◆ StringHashFunct()
| uint StringHashFunct |
( |
const void * |
entry, |
|
|
const uint |
size |
|
) |
| |
◆ StringRehashFunct()
| uint StringRehashFunct |
( |
const uint |
oldHashValue, |
|
|
const uint |
size |
|
) |
| |
◆ DELETED
◆ EMPTY
◆ ENTRY_DEPTH_FOR_HASHING
| const int ENTRY_DEPTH_FOR_HASHING = 32 |
|
static |
◆ FIRST_SLOT
◆ INVALID_INDEX
| const int INVALID_INDEX = -99 |
|
static |
◆ LOOKING_FOR_AN_INDEX
| const int LOOKING_FOR_AN_INDEX = 1 |
|
static |
◆ NEXT_ID