Classes | |
struct | head_t |
Public Member Functions | |
Cache (int l, long int size) | |
int | get_data (const int index, Qfloat **data, int len) |
void | swap_index (int i, int j) |
~Cache () | |
Private Member Functions | |
void | lru_delete (head_t *h) |
void | lru_insert (head_t *h) |
Private Attributes | |
head_t * | head |
int | l |
head_t | lru_head |
long int | size |
int Cache::get_data | ( | const int | index, |
Qfloat ** | data, | ||
int | len | ||
) |