ARB
|
#include <gb_main.h>
Public Member Functions | |
gb_cache () | |
~gb_cache () | |
Public Member Functions inherited from Noncopyable | |
Noncopyable () | |
Public Attributes | |
gb_cache_entry * | entries |
gb_cache_idx | firstfree_entry |
gb_cache_idx | newest_entry |
gb_cache_idx | oldest_entry |
size_t | sum_data_size |
size_t | max_data_size |
size_t | big_data_min_size |
gb_cache::gb_cache | ( | ) |
Definition at line 106 of file adcache.cxx.
References entries, GB_MAX_CACHED_ENTRIES, GB_MIND_CASE, GBS_create_hash(), and gb_cache_entry::next.
gb_cache::~gb_cache | ( | ) |
Definition at line 144 of file adcache.cxx.
References entries, gb_assert, GBS_free_hash(), GBS_hash_do_const_loop(), GBS_hash_do_const_sorted_loop(), GBS_HCF_sortedByKey(), newest_entry, NULp, and sum_data_size.
gb_cache_entry* gb_cache::entries |
Definition at line 61 of file gb_main.h.
Referenced by entry_is_linked(), flush_cache_entry(), gb_alloc_cache_index(), gb_cache(), GB_close(), link_cache_entry_to_top(), unlink_cache_entry(), and ~gb_cache().
gb_cache_idx gb_cache::firstfree_entry |
Definition at line 63 of file gb_main.h.
Referenced by cache_free_some_memory(), flush_cache_entry(), and gb_alloc_cache_index().
gb_cache_idx gb_cache::newest_entry |
Definition at line 64 of file gb_main.h.
Referenced by entry_is_linked(), link_cache_entry_to_top(), unlink_cache_entry(), and ~gb_cache().
gb_cache_idx gb_cache::oldest_entry |
Definition at line 65 of file gb_main.h.
Referenced by cache_free_some_memory(), entry_is_linked(), link_cache_entry_to_top(), and unlink_cache_entry().
size_t gb_cache::sum_data_size |
Definition at line 67 of file gb_main.h.
Referenced by cache_free_some_memory(), flush_cache_entry(), gb_alloc_cache_index(), and ~gb_cache().
size_t gb_cache::max_data_size |
Definition at line 68 of file gb_main.h.
Referenced by cache_free_some_memory(), and GB_set_cache_size().
size_t gb_cache::big_data_min_size |
Definition at line 69 of file gb_main.h.
Referenced by GB_set_cache_size(), and link_cache_entry_to_top().