(&self)
| 175 | } |
| 176 | |
| 177 | pub fn len(&self) -> usize { |
| 178 | self.used_space / QUANTIZED_VECTOR_SIZE |
| 179 | } |
| 180 | |
| 181 | pub fn insert(&mut self, index: usize, vector: [u8; QUANTIZED_VECTOR_SIZE]) -> io::Result<()> { |
| 182 | let offset = HEADER_SIZE + index * QUANTIZED_VECTOR_SIZE; |
no outgoing calls
no test coverage detected