Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FirstUnusedInRange ¶
FirstUnusedInRange finds and returns the first unused value in an ascendingly sorted range, or -1 if it is fully populated
Types ¶
type Int32Slice ¶
type Int32Slice []int32
Int32Slice attaches the methods of Interface to []int32, sorting in increasing order.
func (Int32Slice) Len ¶
func (p Int32Slice) Len() int
func (Int32Slice) Less ¶
func (p Int32Slice) Less(i, j int) bool
func (Int32Slice) Sort ¶
func (p Int32Slice) Sort()
func (Int32Slice) Swap ¶
func (p Int32Slice) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.