(&self, ptr: *mut u8)
| 145 | /// (e.g. on Windows where newer chunks may be at lower addresses). |
| 146 | #[inline(always)] |
| 147 | fn is_in_current_chunk(&self, ptr: *mut u8) -> bool { |
| 148 | let chunk_start = unsafe { (*self.chunk).data_start() }; |
| 149 | ptr >= chunk_start && ptr <= self.limit |
| 150 | } |
| 151 | |
| 152 | /// Slow path: pop back to a previous chunk. |
| 153 | #[cold] |
no test coverage detected