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

Method ExpandIntSize

cpp/src/arrow/array/builder_adaptive.cc:263–277  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

261}
262
263Status AdaptiveIntBuilder::ExpandIntSize(uint8_t new_int_size) {
264 switch (new_int_size) {
265 case 1:
266 return ExpandIntSizeN<int8_t>();
267 case 2:
268 return ExpandIntSizeN<int16_t>();
269 case 4:
270 return ExpandIntSizeN<int32_t>();
271 case 8:
272 return ExpandIntSizeN<int64_t>();
273 default:
274 DCHECK(false);
275 }
276 return Status::OK();
277}
278
279AdaptiveUIntBuilder::AdaptiveUIntBuilder(uint8_t start_int_size, MemoryPool* pool)
280 : AdaptiveIntBuilderBase(start_int_size, pool) {}

Callers

nothing calls this directly

Calls 1

OKFunction · 0.50

Tested by

no test coverage detected