Add i-th element into this subset
| 59 | |
| 60 | // Add i-th element into this subset |
| 61 | void BinarySet::AddEntry(int32_t i) { |
| 62 | int32_t k = i / bit_entry_type_; |
| 63 | int32_t j = i % bit_entry_type_; |
| 64 | binary_set_values_[k] |= (1 << j); |
| 65 | } |
| 66 | // Take i-th element out from this subset |
| 67 | void BinarySet::DeleteEntry(int32_t i) { |
| 68 | int32_t k = i / bit_entry_type_; |
no outgoing calls
no test coverage detected