#include <math.h>
#include "states.h"
Go to the source code of this file.
Macro Definition Documentation
#define free_hash_table |
( |
|
table | ) |
memfree(table) |
Typedef Documentation
Function Documentation
Definition at line 50 of file closed.cpp.
{
int x;
int i = 0;
x = state->
part2 % table_limit;
while (i < table_limit) {
assert (0 <= x && x < table_limit);
if ((state_table[x].part2 == state->
part2) &&
}
else if (state_table[x].part1 ==
NO_STATE) {
}
i++;
if (++x >= table_limit)
x = 0;
}
cprintf(
"warning: hash table is full");
abort();
return 0;
}
Definition at line 86 of file closed.cpp.
{
int x;
int i = 0;
x = state->
part2 % table_limit;
while (i < table_limit) {
assert (0 <= x && x < table_limit);
if ((state_table[x].part2 == state->
part2) &&
}
else if (state_table[x].part1 ==
NO_STATE) {
}
i++;
if (++x >= table_limit)
x = 0;
}
cprintf (
"warning: fell off end of hash table (%x) %x\n",
abort();
return 0;
}
Definition at line 120 of file closed.cpp.
{
int x;
}
return (ht);
}