CUBRID Engine  latest
mht_table Struct Reference

#include <memory_hash.h>

Collaboration diagram for mht_table:
Collaboration graph

Public Attributes

unsigned int(* hash_func )(const void *key, unsigned int htsize)
 
int(* cmp_func )(const void *key1, const void *key2)
 
const char * name
 
HENTRY_PTRtable
 
HENTRY_PTR act_head
 
HENTRY_PTR act_tail
 
HENTRY_PTR lru_head
 
HENTRY_PTR lru_tail
 
HENTRY_PTR prealloc_entries
 
unsigned int size
 
unsigned int rehash_at
 
unsigned int nentries
 
unsigned int nprealloc_entries
 
unsigned int ncollisions
 
HL_HEAPID heap_id
 
bool build_lru_list
 

Detailed Description

Definition at line 55 of file memory_hash.h.

Member Data Documentation

HENTRY_PTR mht_table::act_tail
bool mht_table::build_lru_list
int(* mht_table::cmp_func) (const void *key1, const void *key2)
unsigned int(* mht_table::hash_func) (const void *key, unsigned int htsize)
HL_HEAPID mht_table::heap_id

Definition at line 73 of file memory_hash.h.

Referenced by mht_create(), mht_destroy(), mht_put2_internal(), and mht_put_internal().

HENTRY_PTR mht_table::lru_tail
const char* mht_table::name

Definition at line 59 of file memory_hash.h.

Referenced by mht_create(), and mht_dump().

unsigned int mht_table::ncollisions
unsigned int mht_table::nprealloc_entries
HENTRY_PTR mht_table::prealloc_entries
unsigned int mht_table::rehash_at

Definition at line 69 of file memory_hash.h.

Referenced by mht_create(), mht_dump(), mht_put2_internal(), mht_put_internal(), and mht_rehash().

unsigned int mht_table::size

The documentation for this struct was generated from the following file: