| 208 | return num_rows_safe; |
| 209 | } |
| 210 | static int FixSelection(int64_t num_rows_safe, int num_selected, |
| 211 | const uint16_t* selection) { |
| 212 | int num_selected_safe = num_selected; |
| 213 | while (num_selected_safe > 0 && selection[num_selected_safe - 1] >= num_rows_safe) { |
| 214 | --num_selected_safe; |
| 215 | } |
| 216 | return num_selected_safe; |
| 217 | } |
| 218 | }; |
| 219 | |
| 220 | } // namespace compute |
nothing calls this directly
no outgoing calls
no test coverage detected