| 247 | } |
| 248 | |
| 249 | ARROW_NO_INLINE int32_t ErrorAsExceptionNoInline(int32_t v) { |
| 250 | if (ARROW_PREDICT_FALSE(v == 42)) { |
| 251 | throw std::invalid_argument("42"); |
| 252 | } |
| 253 | return v + 1; |
| 254 | } |
| 255 | |
| 256 | static void ErrorSchemeNoError(benchmark::State& state) { // NOLINT non-const reference |
| 257 | auto integers = RandomIntegers(); |
no outgoing calls
no test coverage detected