fn translate_vas(&self, vas: &[usize]) -> Vec<usize> {
        let mut result = Vec::new();
        for va in vas.iter() {
            result.push(active_table().get_entry(*va).unwrap().target());
        }
        result
    }
// Bulk translate virtual addresses to physical addresses for performance
Bulk translate virtual addresses to physical addresses for performance
Bulk translate virtual addresses to physical addresses for performance
fn translate_vas(&self, vas: &[usize]) -> Vec<usize> {
        let mut result = Vec::new();
        for va in vas.iter() {
            result.push(active_table().get_entry(*va).unwrap().target());
        }
        result
    }
fn translate_vas ( & self , vas : & [ usize ] ) -> Vec < usize > { let mut result = Vec :: new ( ) ; for va in vas . iter ( ) { result . push ( active_table ( ) . get_entry ( * va ) . unwrap ( ) . target ( ) ) ; } result }
Bulk translate virtual addresses to physical addresses for performance
Bulk translate virtual addresses to physical addresses for performance
&self
vas
&[usize]
&self
vas
&[usize]