| 1255 | // See "Numeric" above for description of the generator functor |
| 1256 | template <template <typename...> class Generator, typename Type0, typename... Args> |
| 1257 | ArrayKernelExec GenerateSignedInteger(detail::GetTypeId get_id) { |
| 1258 | switch (get_id.id) { |
| 1259 | case Type::INT8: |
| 1260 | return Generator<Type0, Int8Type, Args...>::Exec; |
| 1261 | case Type::INT16: |
| 1262 | return Generator<Type0, Int16Type, Args...>::Exec; |
| 1263 | case Type::INT32: |
| 1264 | return Generator<Type0, Int32Type, Args...>::Exec; |
| 1265 | case Type::INT64: |
| 1266 | return Generator<Type0, Int64Type, Args...>::Exec; |
| 1267 | default: |
| 1268 | ARROW_DCHECK(false); |
| 1269 | return nullptr; |
| 1270 | } |
| 1271 | } |
| 1272 | |
| 1273 | // Generate a kernel given a templated functor. Only a single template is |
| 1274 | // instantiated for each bit width, and the functor is expected to treat types |
nothing calls this directly
no outgoing calls
no test coverage detected