| 432 | |
| 433 | template <int kNumStreams> |
| 434 | void ByteStreamSplitEncodeScalar(const uint8_t* raw_values, int width, |
| 435 | const int64_t num_values, uint8_t* out) { |
| 436 | assert(width == kNumStreams); |
| 437 | std::array<uint8_t*, kNumStreams> dest_streams; |
| 438 | for (int stream = 0; stream < kNumStreams; ++stream) { |
| 439 | dest_streams[stream] = &out[stream * num_values]; |
| 440 | } |
| 441 | DoSplitStreams(raw_values, kNumStreams, num_values, dest_streams.data()); |
| 442 | } |
| 443 | |
| 444 | // If changing this value, please check that TestByteStreamSplitLargeWidth still |
| 445 | // exercises the slow path. |
nothing calls this directly
no test coverage detected