Метод | Описание | |
---|---|---|
Cache ( int length, long size ) : System | ||
get_data ( int index, double &data, int length ) : int | ||
swap_index ( int i, int j ) : void |
Метод | Описание | |
---|---|---|
lru_delete ( head_t h ) : void | ||
lru_insert ( head_t h ) : void |
public Cache ( int length, long size ) : System | ||
length | int | |
size | long | |
Результат | System |
public get_data ( int index, double &data, int length ) : int | ||
index | int | |
data | double | |
length | int | |
Результат | int |