| 260 | } |
| 261 | |
| 262 | void ExecuteSpaced(int nvalues, int repeats, int64_t valid_bits_offset, |
| 263 | double null_probability) { |
| 264 | InitData(nvalues, repeats); |
| 265 | |
| 266 | int64_t size = num_values_ + valid_bits_offset; |
| 267 | auto rand = ::arrow::random::RandomArrayGenerator(1923); |
| 268 | const auto array = rand.UInt8(size, 0, 100, null_probability); |
| 269 | const auto valid_bits = array->null_bitmap_data(); |
| 270 | if (valid_bits) { |
| 271 | CheckRoundtripSpaced(valid_bits, valid_bits_offset); |
| 272 | } |
| 273 | } |
| 274 | |
| 275 | void InitUnencodedByteArrayDataBytes() { |
| 276 | // Calculate expected unencoded bytes based on type |
no test coverage detected