| 792 | }; |
| 793 | |
| 794 | inline Result<std::shared_ptr<ArrayData>> MakeMutableUInt64Array( |
| 795 | int64_t length, MemoryPool* memory_pool) { |
| 796 | auto buffer_size = length * sizeof(uint64_t); |
| 797 | ARROW_ASSIGN_OR_RAISE(auto data, AllocateBuffer(buffer_size, memory_pool)); |
| 798 | return ArrayData::Make(uint64(), length, {nullptr, std::move(data)}, /*null_count=*/0); |
| 799 | } |
| 800 | |
| 801 | inline Result<std::shared_ptr<ArrayData>> MakeMutableFloat64Array( |
| 802 | int64_t length, MemoryPool* memory_pool) { |