| 238 | }; |
| 239 | |
| 240 | void Probe(TestCtx* ctx, vector<TupleRow*>& pdata) { |
| 241 | HashTable* hTable = ctx->hash_table_; |
| 242 | HashTableCtx* ht_ctx = ctx->hash_context_.get(); |
| 243 | HashTable::Iterator iter; |
| 244 | for (int i = 0; i < pdata.size(); i++) { |
| 245 | const TupleRow* row = pdata[i]; |
| 246 | if (!ht_ctx->EvalAndHashProbe(row)) continue; |
| 247 | iter = hTable->FindProbeRow(ht_ctx); |
| 248 | } |
| 249 | } |
| 250 | |
| 251 | void Build(TestCtx* ctx, vector<TupleRow*>& bdata) { |
| 252 | HashTable* ht = ctx->hash_table_; |
no test coverage detected