#include "xsb_config.h"#include "xsb_debug.h"#include <stdio.h>#include <stdlib.h>#include <string.h>#include "auxlry.h"#include "cell_xsb.h"#include "psc_xsb.h"#include "cinterf.h"#include "trie_internals.h"#include "macro_xsb.h"#include "error_xsb.h"#include "tr_utils.h"#include "debug_xsb.h"#include "flags_xsb.h"#include "memory_xsb.h"#include "heap_xsb.h"Defines | |
| #define | table_hash(val, length) ((word)(val) % (length)) |
| #define | get_top_bucket(htable, I) ((xsbBucket *)(htable->table + (htable->bucket_size * I))) |
| #define | mark_bucket_free(bucket, size) memset(bucket,(Cell)0,size) |
| #define | is_free_bucket(bucket) (bucket->name == (Cell)0) |
Functions | |
| static void | init_hashtable (xsbHashTable *table) |
| xsbBucket * | search_bucket (Cell name, xsbHashTable *table, enum xsbHashSearchOp search_op) |
| void | destroy_hashtable (xsbHashTable *table) |
| void | show_table_state (xsbHashTable *table) |
| void | mark_hash_table_strings (CTXTdecl) |
Variables | |
| xsbHashTable | bt_storage_hash_table |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
|
|
|
|
|
|
|
1.4.5