| 112 | /// offset to length |
| 113 | template <typename RunEndCType> |
| 114 | int64_t FindPhysicalLength(const RunEndCType* run_ends, int64_t run_ends_size, |
| 115 | int64_t length, int64_t offset) { |
| 116 | auto [_, physical_length] = |
| 117 | FindPhysicalRange<RunEndCType>(run_ends, run_ends_size, length, offset); |
| 118 | // GH-37107: This is a workaround for GCC 7. GCC 7 doesn't ignore |
| 119 | // variables in structured binding automatically from unused |
| 120 | // variables when one of these variables are used. |
| 121 | // See also: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81767 |
| 122 | ARROW_UNUSED(_); |
| 123 | return physical_length; |
| 124 | } |
| 125 | |
| 126 | /// \brief Find the physical index into the values array of the REE ArraySpan |
| 127 | /// |
no outgoing calls