| 267 | } |
| 268 | |
| 269 | void DecodedVector::makeIndicesMutable() { |
| 270 | if (indicesNotCopied()) { |
| 271 | copiedIndices_.resize(size_ > 0 ? size_ : 1); |
| 272 | memcpy( |
| 273 | &copiedIndices_[0], |
| 274 | indices_, |
| 275 | copiedIndices_.size() * sizeof(copiedIndices_[0])); |
| 276 | indices_ = &copiedIndices_[0]; |
| 277 | } |
| 278 | } |
| 279 | |
| 280 | void DecodedVector::setFlatNulls( |
| 281 | const BaseVector& vector, |