ROSS
hash-quadratic.h
Go to the documentation of this file.
1 #ifndef INC_hash_quadratic_h
2 #define INC_hash_quadratic_h
3 
4 #define MAX_FRACTION 0.50
5 
6 extern unsigned int g_tw_hash_size;
7 
8 typedef struct tw_hash tw_hash;
9 
10 struct tw_hash
11 {
13  int *num_stored;
14  unsigned int *hash_sizes;
15 };
16 
17 
18 /*
19  * hash-quadratic.c
20  */
21 extern void *tw_hash_create();
22 extern void tw_hash_insert(void *h, tw_event * event, long pe);
23 extern tw_event *tw_hash_remove(void *h, tw_event * event, long pe);
24 
25 #endif
void * tw_hash_create()
void tw_hash_insert(void *h, tw_event *event, long pe)
int * num_stored
tw_event * tw_hash_remove(void *h, tw_event *event, long pe)
Event Stucture.
Definition: ross-types.h:250
tw_event *** incoming
tw_pe * pe
Definition: avl_tree.c:11
unsigned int g_tw_hash_size
unsigned int * hash_sizes