| 67 | } |
| 68 | |
| 69 | const Range* get(uint64_t value) const { |
| 70 | for (const auto& range : ranges_) { |
| 71 | if (range.contains(value)) { |
| 72 | return ⦥ |
| 73 | } |
| 74 | } |
| 75 | return NULL; |
| 76 | } |
| 77 | |
| 78 | RangeSet intersect(const RangeSet& other) const { |
| 79 | RangeSet result; |
no test coverage detected