range(minimum=(start+1, start+1, 0), maximum=(end, end, sys.maxsize))

    def ending_to(self, offset):
        &#34;&#34;&#34;
        Returns intervals that end before or at the given end offset.
        &#34;&#34;&#34;
        return self._by_end.irange(maximum=(0, offset, sys.maxsize))

    def ending_after(self, offset):
        &#34;&#34;&#34;
        Returns intervals the end after the given offset.
        &#34;&#34;&#34;
        return self._by_end.irange(minimum=(0, offset + 1, sys.maxsize))

    