Searched refs:read_allocated (Results 1 – 1 of 1) sorted by relevance
376 pub fn read_allocated(&mut self, offset: usize, data: &mut [T]) -> usize in read_allocated() method758 assert_eq!(ring.read_allocated(0, &mut data[..]), 6); in test_buffer_read_allocated()765 assert_eq!(ring.read_allocated(3, &mut data[..]), 6); in test_buffer_read_allocated()769 assert_eq!(ring.read_allocated(6, &mut data[..]), 3); in test_buffer_read_allocated()