Assert that the array still points at the exact same values buffer and preserves the same bit view.
(&self, array: &BooleanArray)
| 863 | // Assert that the array still points at the exact same values buffer and |
| 864 | // preserves the same bit view. |
| 865 | fn assert_same(&self, array: &BooleanArray) { |
| 866 | assert_eq!(array.values().inner().as_ptr(), self.ptr); |
| 867 | assert_eq!(array.values().offset(), self.offset); |
| 868 | assert_eq!(array.values().len(), self.len); |
| 869 | } |
| 870 | |
| 871 | // Assert that the array now points at a different values allocation, |
| 872 | // indicating the operation fell back to an allocating path. |
no outgoing calls