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

Function GetIncludedFields

cpp/src/arrow/ipc/read_write_benchmark.cc:56–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56std::vector<int> GetIncludedFields(int64_t num_fields, int64_t is_partial_read) {
57 if (is_partial_read) {
58 std::vector<int> field_indices;
59 for (int i = 0; i < num_fields; i += 8) {
60 field_indices.push_back(i);
61 }
62 return field_indices;
63 } else {
64 return std::vector<int>();
65 }
66}
67
68int64_t BytesPerIteration(int64_t num_fields, int64_t is_partial_read,
69 int64_t total_size) {

Callers 1

BytesPerIterationFunction · 0.70

Calls 1

push_backMethod · 0.80

Tested by

no test coverage detected