#include <math.h>
#include "states.h"
Go to the source code of this file.
| #define free_hash_table |
( |
|
table | ) |
memfree(table) |
Definition at line 50 of file closed.cpp.
55 x = state->
part2 % table_limit;
56 while (i < table_limit) {
57 assert (0 <= x && x < table_limit);
59 if ((state_table[x].part2 == state->
part2) &&
64 else if (state_table[x].part1 ==
NO_STATE) {
70 if (++x >= table_limit)
73 cprintf(
"warning: hash table is full");
void cprintf(const char *format,...)
Definition at line 86 of file closed.cpp.
91 x = state->
part2 % table_limit;
92 while (i < table_limit) {
93 assert (0 <= x && x < table_limit);
95 if ((state_table[x].part2 == state->
part2) &&
100 else if (state_table[x].part1 ==
NO_STATE) {
105 if (++x >= table_limit)
108 cprintf (
"warning: fell off end of hash table (%x) %x\n",
void cprintf(const char *format,...)