| 390 | |
| 391 | template <bool HasError = with_error_status> |
| 392 | enable_if_t<!HasError, Status> DoAppend(const ArraySpan& arr) { |
| 393 | RETURN_NOT_OK(action_.Reserve(arr.length)); |
| 394 | for (int64_t i = 0; i < arr.length; ++i) { |
| 395 | if (i == 0) { |
| 396 | seen_null_ = true; |
| 397 | action_.ObserveNullNotFound(0); |
| 398 | } else { |
| 399 | action_.ObserveNullFound(0); |
| 400 | } |
| 401 | } |
| 402 | return Status::OK(); |
| 403 | } |
| 404 | |
| 405 | template <bool HasError = with_error_status> |
| 406 | enable_if_t<HasError, Status> DoAppend(const ArraySpan& arr) { |
nothing calls this directly
no test coverage detected