(self, amount: int)
| 39 | self._parent: AllocatedPointer[T] | None = parent |
| 40 | |
| 41 | def _indexed(self, amount: int) -> AllocatedPointer[T]: |
| 42 | return AllocatedPointer( |
| 43 | self.ensure() + amount, |
| 44 | self.size - amount, |
| 45 | self.assigned, |
| 46 | parent=self._parent, |
| 47 | ) |
| 48 | |
| 49 | def _get_parent(self) -> AllocatedPointer[T]: |
| 50 | parent = self |
no test coverage detected