This commit is contained in:
@@ -19,6 +19,7 @@
|
|||||||
#define TABLE_H
|
#define TABLE_H
|
||||||
|
|
||||||
#include "../hasher/hasher.h"
|
#include "../hasher/hasher.h"
|
||||||
|
#include "../hasher/murmur3.h"
|
||||||
#include "../../array/array.h"
|
#include "../../array/array.h"
|
||||||
#include "../../mem/allocator/mem_allocator.h"
|
#include "../../mem/allocator/mem_allocator.h"
|
||||||
#include "../../stream/stream.h"
|
#include "../../stream/stream.h"
|
||||||
@@ -34,6 +35,7 @@ BEGIN_C_LINKAGE
|
|||||||
#define WP_HASH_DIST_INC (wpU64Const(1) << WP_HASH_TAG_BITS)
|
#define WP_HASH_DIST_INC (wpU64Const(1) << WP_HASH_TAG_BITS)
|
||||||
#define WP_HASH_TAG_MASK (WP_HASH_DIST_INC - wpU64Const(1))
|
#define WP_HASH_TAG_MASK (WP_HASH_DIST_INC - wpU64Const(1))
|
||||||
#define WP_HASH_MAX_LOAD_FACTOR 0.65f
|
#define WP_HASH_MAX_LOAD_FACTOR 0.65f
|
||||||
|
#define WP_HASH_TABLE_DEFAULT_HASHER wpX64Mur3Hasher()
|
||||||
|
|
||||||
typedef WpU8Stream (*WpU8StreamEncoder)(void *data);
|
typedef WpU8Stream (*WpU8StreamEncoder)(void *data);
|
||||||
typedef b8 (*WpKeyEqualTest)(void *a, void *b);
|
typedef b8 (*WpKeyEqualTest)(void *a, void *b);
|
||||||
|
|||||||
Reference in New Issue
Block a user