Rounding up row offset to the nearest multiple of alignment value. Alignment must be a power of 2.
| 105 | /// Rounding up row offset to the nearest multiple of alignment value. |
| 106 | /// Alignment must be a power of 2. |
| 107 | static inline offset_type padding_for_alignment_row(offset_type row_offset, |
| 108 | int required_alignment) { |
| 109 | ARROW_DCHECK(std::popcount(static_cast<uint64_t>(required_alignment)) == 1); |
| 110 | return (-row_offset) & (required_alignment - 1); |
| 111 | } |
| 112 | |
| 113 | /// Returns an array of offsets within a row of ends of varbinary fields. |
| 114 | inline const uint32_t* varbinary_end_array(const uint8_t* row) const { |
no outgoing calls
no test coverage detected