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