| 597 | } |
| 598 | |
| 599 | void resize(vector_size_t size, bool setNotNull = true) override { |
| 600 | if (BaseVector::length_ < size) { |
| 601 | BaseVector::resizeIndices(length_, size, pool_, offsets_, &rawOffsets_); |
| 602 | BaseVector::resizeIndices(length_, size, pool_, sizes_, &rawSizes_); |
| 603 | } |
| 604 | BaseVector::resize(size, setNotNull); |
| 605 | } |
| 606 | |
| 607 | // Its the caller responsibility to make sure that `offsets_` and `sizes_` are |
| 608 | // safe to write at index i, i.ex not shared, or not large enough. |
no outgoing calls
no test coverage detected