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#include "ross-types.h"
5
6#define MAX_FRACTION 0.50
7
8extern unsigned int g_tw_hash_size;
9
10typedef struct tw_hash tw_hash;
11
12struct tw_hash
13{
15 int *num_stored;
16 unsigned int *hash_sizes;
17};
18
19
20/*
21 * hash-quadratic.c
22 */
23extern void *tw_hash_create();
24extern void tw_hash_insert(void *h, tw_event * event, long pe);
25extern tw_event *tw_hash_remove(void *h, tw_event * event, long pe);
26
27#endif
tw_pe * pe
Definition avl_tree.c:10
unsigned int g_tw_hash_size
void tw_hash_insert(void *h, tw_event *event, long pe)
void * tw_hash_create()
tw_event * tw_hash_remove(void *h, tw_event *event, long pe)
Definition of ROSS basic types.
Event Stucture.
Definition ross-types.h:277
unsigned int * hash_sizes
int * num_stored
tw_event *** incoming