| 529 | // ---------------------------------------------------------------------- |
| 530 | template <typename HashKernel> |
| 531 | Result<std::unique_ptr<KernelState>> HashInit(KernelContext* ctx, |
| 532 | const KernelInitArgs& args) { |
| 533 | auto result = std::make_unique<HashKernel>(args.inputs[0].GetSharedPtr(), args.options, |
| 534 | ctx->memory_pool()); |
| 535 | RETURN_NOT_OK(result->Reset()); |
| 536 | return result; |
| 537 | } |
| 538 | |
| 539 | template <typename Action> |
| 540 | KernelInit GetHashInit(Type::type type_id) { |
nothing calls this directly
no test coverage detected