MCPcopy
hub / github.com/google/gvisor / Range

Method Range

pkg/segment/set.go:1806–1808  ·  view source on GitHub ↗

Range returns the range spanned by the iterated gap.

()

Source from the content-addressed store, hash-verified

1804
1805// Range returns the range spanned by the iterated gap.
1806func (gap GapIterator) Range() Range {
1807 return Range{gap.Start(), gap.End()}
1808}
1809
1810// Start is equivalent to Range().Start, but should be preferred if only the
1811// start of the range is needed.

Callers 5

IsEmptyMethod · 0.95

Calls 2

StartMethod · 0.95
EndMethod · 0.95

Tested by

no test coverage detected