ECOCPAK v0.9
|
Data Structures | |
struct | head_t |
Public Member Functions | |
Cache (int l, long int size) | |
~Cache () | |
int | get_data (const int index, Qfloat **data, int len) |
void | swap_index (int i, int j) |
Private Member Functions | |
void | lru_delete (head_t *h) |
void | lru_insert (head_t *h) |
Private Attributes | |
int | l |
long int | size |
head_t * | head |
head_t | lru_head |
Cache::Cache | ( | int | l, |
long int | size | ||
) |
Cache::~Cache | ( | ) |
int Cache::get_data | ( | const int | index, |
Qfloat ** | data, | ||
int | len | ||
) |
void Cache::lru_delete | ( | head_t * | h | ) | [private] |
void Cache::lru_insert | ( | head_t * | h | ) | [private] |
void Cache::swap_index | ( | int | i, |
int | j | ||
) |
head_t* Cache::head [private] |
int Cache::l [private] |
head_t Cache::lru_head [private] |
long int Cache::size [private] |