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

Method Copy

cpp/src/parquet/statistics.cc:880–887  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

878
879template <>
880inline void TypedStatisticsImpl<FLBAType>::Copy(const FLBA& src, FLBA* dst,
881 ResizableBuffer* buffer) {
882 if (dst->ptr == src.ptr) return;
883 uint32_t len = descr_->type_length();
884 PARQUET_THROW_NOT_OK(buffer->Resize(len, false));
885 std::memcpy(buffer->mutable_data(), src.ptr, len);
886 *dst = FLBA(buffer->data());
887}
888
889template <>
890inline void TypedStatisticsImpl<ByteArrayType>::Copy(const ByteArray& src, ByteArray* dst,

Callers 1

GetSchemaMetadataFunction · 0.45

Calls 5

ByteArrayClass · 0.85
type_lengthMethod · 0.80
ResizeMethod · 0.45
mutable_dataMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected