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

Function BytesForItems

cpp/src/parquet/arrow/reader_writer_benchmark.cc:113–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111
112template <typename ParquetType>
113int64_t BytesForItems(int64_t num_items) {
114 static_assert(!std::is_same_v<ParquetType, FLBAType>,
115 "BytesForItems unsupported for FLBAType");
116 return num_items * sizeof(typename ParquetType::c_type);
117}
118
119template <>
120int64_t BytesForItems<BooleanType>(int64_t num_items) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected