| 163 | } |
| 164 | |
| 165 | Range |
| 166 | Range::intersectedWith(Range const &other) const |
| 167 | { |
| 168 | return Range(std::max(m_beg, other.m_beg), std::min(m_end, other.m_end)); |
| 169 | } |
| 170 | |
| 171 | bool |
| 172 | Range::blockIsInside(int64_t const blocksize, int64_t const blocknum) const |