| 464 | } |
| 465 | |
| 466 | Status Hashing32::HashBatch(const ExecBatch& key_batch, uint32_t* hashes, |
| 467 | std::vector<KeyColumnArray>& column_arrays, |
| 468 | int64_t hardware_flags, util::TempVectorStack* temp_stack, |
| 469 | int64_t start_rows, int64_t num_rows) { |
| 470 | RETURN_NOT_OK( |
| 471 | ColumnArraysFromExecBatch(key_batch, start_rows, num_rows, &column_arrays)); |
| 472 | |
| 473 | LightContext ctx; |
| 474 | ctx.hardware_flags = hardware_flags; |
| 475 | ctx.stack = temp_stack; |
| 476 | HashMultiColumn(column_arrays, &ctx, hashes); |
| 477 | return Status::OK(); |
| 478 | } |
| 479 | |
| 480 | inline uint64_t Hashing64::Avalanche(uint64_t acc) { |
| 481 | acc ^= (acc >> 33); |
nothing calls this directly
no test coverage detected