SetEndUnchecked mutates the iterated segment's end. This operation does not invalidate any iterators. Preconditions: The new end must be valid: - end > seg.Start(). - If seg.NextSegment().Ok(), then end <= seg.NextSegment().Start().
(end Key)
| 1663 | // - end > seg.Start(). |
| 1664 | // - If seg.NextSegment().Ok(), then end <= seg.NextSegment().Start(). |
| 1665 | func (seg Iterator) SetEndUnchecked(end Key) { |
| 1666 | seg.node.keys[seg.index].End = end |
| 1667 | } |
| 1668 | |
| 1669 | // SetEnd mutates the iterated segment's end. If the new end value would cause |
| 1670 | // the iterated segment to overlap another segment, or would result in an |
no outgoing calls
no test coverage detected