| 336 | } |
| 337 | |
| 338 | inline bool HashTable::Iterator::IsMatched() const { |
| 339 | DCHECK(!AtEnd()); |
| 340 | Bucket* bucket = &table_->buckets_[bucket_idx_]; |
| 341 | if (table_->stores_duplicates() && bucket->HasDuplicates()) { |
| 342 | return node_->IsMatched(); |
| 343 | } |
| 344 | return bucket->IsMatched(); |
| 345 | } |
| 346 | |
| 347 | inline void HashTable::Iterator::SetAtEnd() { |
| 348 | bucket_idx_ = BUCKET_NOT_FOUND; |
no test coverage detected