Method | Description | |
---|---|---|
Cache ( int length, long size ) : System | ||
get_data ( int index, double &data, int length ) : int | ||
swap_index ( int i, int j ) : void |
Method | Description | |
---|---|---|
lru_delete ( head_t h ) : void | ||
lru_insert ( head_t h ) : void |
public Cache ( int length, long size ) : System | ||
length | int | |
size | long | |
return | System |
public get_data ( int index, double &data, int length ) : int | ||
index | int | |
data | double | |
length | int | |
return | int |