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

Method GetScratchData

cpp/src/parquet/properties.h:1585–1589  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1583
1584 template <typename T>
1585 ::arrow::Status GetScratchData(const int64_t num_values, T** out) {
1586 ARROW_RETURN_NOT_OK(this->data_buffer->Resize(num_values * sizeof(T), false));
1587 *out = reinterpret_cast<T*>(this->data_buffer->mutable_data());
1588 return ::arrow::Status::OK();
1589 }
1590
1591 MemoryPool* memory_pool;
1592 const ArrowWriterProperties* properties;

Callers

nothing calls this directly

Calls 3

OKFunction · 0.50
ResizeMethod · 0.45
mutable_dataMethod · 0.45

Tested by

no test coverage detected