MCPcopy Create free account
hub / github.com/apache/arrow / switch_to_dynamic

Method switch_to_dynamic

cpp/src/arrow/util/small_vector.h:192–196  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

190
191 private:
192 void switch_to_dynamic(size_t new_capacity) {
193 dynamic_capacity_ = new_capacity;
194 data_ = new storage_type[new_capacity];
195 storage_type::move_construct_several_and_destroy_source(static_data_, data_, size_);
196 }
197
198 void reallocate_dynamic(size_t new_capacity) {
199 assert(new_capacity >= size_);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected