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

Method ExpandIntSizeN

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

Source from the content-addressed store, hash-verified

245
246template <typename new_type>
247Status AdaptiveIntBuilder::ExpandIntSizeN() {
248 switch (int_size_) {
249 case 1:
250 return ExpandIntSizeInternal<new_type, int8_t>();
251 case 2:
252 return ExpandIntSizeInternal<new_type, int16_t>();
253 case 4:
254 return ExpandIntSizeInternal<new_type, int32_t>();
255 case 8:
256 return ExpandIntSizeInternal<new_type, int64_t>();
257 default:
258 DCHECK(false);
259 }
260 return Status::OK();
261}
262
263Status AdaptiveIntBuilder::ExpandIntSize(uint8_t new_int_size) {
264 switch (new_int_size) {

Callers

nothing calls this directly

Calls 1

OKFunction · 0.50

Tested by

no test coverage detected