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

Function GetIntSequence

cpp/src/arrow/util/int_util_benchmark.cc:42–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42std::vector<int64_t> GetIntSequence(int n_values, uint64_t addend = 0) {
43 std::vector<int64_t> values(n_values);
44 for (int i = 0; i < n_values; ++i) {
45 values[i] = static_cast<int64_t>(i) + addend;
46 }
47 return values;
48}
49
50std::vector<uint8_t> GetValidBytes(int n_values) {
51 std::vector<uint8_t> valid_bytes(n_values);

Callers 2

DetectIntWidthNoNullsFunction · 0.85
DetectIntWidthNullsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected