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

Method GetBufferLength

cpp/src/arrow/array/util.cc:338–339  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

336 public:
337 struct GetBufferLength {
338 GetBufferLength(const std::shared_ptr<DataType>& type, int64_t length)
339 : type_(*type), length_(length), buffer_length_(bit_util::BytesForBits(length)) {}
340
341 Result<int64_t> Finish() && {
342 RETURN_NOT_OK(VisitTypeInline(type_, this));

Callers

nothing calls this directly

Calls 1

BytesForBitsFunction · 0.85

Tested by

no test coverage detected