| 129 | } |
| 130 | |
| 131 | void bitmap_or(struct bitmap *self, const struct bitmap *other) |
| 132 | { |
| 133 | size_t i; |
| 134 | |
| 135 | bitmap_grow(self, other->word_alloc); |
| 136 | for (i = 0; i < other->word_alloc; i++) |
| 137 | self->words[i] |= other->words[i]; |
| 138 | } |
| 139 | |
| 140 | int ewah_bitmap_is_subset(struct ewah_bitmap *self, struct bitmap *other) |
| 141 | { |
no test coverage detected