Documentation
¶
Overview ¶
Package search provides the "binary search" function for slices of basic types.
Index ¶
- func Bool(list []bool, indices []int, element bool) (int, bool)
- func BoolDesc(list []bool, indices []int, element bool) (int, bool)
- func BoolRng(list []bool, indices []int, element bool) (int, int, bool)
- func BoolRngDesc(list []bool, indices []int, element bool) (int, int, bool)
- func Byte(list []byte, indices []int, element byte) (int, bool)
- func ByteDesc(list []byte, indices []int, element byte) (int, bool)
- func ByteRng(list []byte, indices []int, element byte) (int, int, bool)
- func ByteRngDesc(list []byte, indices []int, element byte) (int, int, bool)
- func Complex128(list []complex128, indices []int, element complex128) (int, bool)
- func Complex128Desc(list []complex128, indices []int, element complex128) (int, bool)
- func Complex128Rng(list []complex128, indices []int, element complex128) (int, int, bool)
- func Complex128RngDesc(list []complex128, indices []int, element complex128) (int, int, bool)
- func Complex64(list []complex64, indices []int, element complex64) (int, bool)
- func Complex64Desc(list []complex64, indices []int, element complex64) (int, bool)
- func Complex64Rng(list []complex64, indices []int, element complex64) (int, int, bool)
- func Complex64RngDesc(list []complex64, indices []int, element complex64) (int, int, bool)
- func Float32(list []float32, indices []int, element float32) (int, bool)
- func Float32Desc(list []float32, indices []int, element float32) (int, bool)
- func Float32Rng(list []float32, indices []int, element float32) (int, int, bool)
- func Float32RngDesc(list []float32, indices []int, element float32) (int, int, bool)
- func Float64(list []float64, indices []int, element float64) (int, bool)
- func Float64Desc(list []float64, indices []int, element float64) (int, bool)
- func Float64Rng(list []float64, indices []int, element float64) (int, int, bool)
- func Float64RngDesc(list []float64, indices []int, element float64) (int, int, bool)
- func Int(list []int, indices []int, element int) (int, bool)
- func Int16(list []int16, indices []int, element int16) (int, bool)
- func Int16Desc(list []int16, indices []int, element int16) (int, bool)
- func Int16Rng(list []int16, indices []int, element int16) (int, int, bool)
- func Int16RngDesc(list []int16, indices []int, element int16) (int, int, bool)
- func Int32(list []int32, indices []int, element int32) (int, bool)
- func Int32Desc(list []int32, indices []int, element int32) (int, bool)
- func Int32Rng(list []int32, indices []int, element int32) (int, int, bool)
- func Int32RngDesc(list []int32, indices []int, element int32) (int, int, bool)
- func Int64(list []int64, indices []int, element int64) (int, bool)
- func Int64Desc(list []int64, indices []int, element int64) (int, bool)
- func Int64Rng(list []int64, indices []int, element int64) (int, int, bool)
- func Int64RngDesc(list []int64, indices []int, element int64) (int, int, bool)
- func Int8(list []int8, indices []int, element int8) (int, bool)
- func Int8Desc(list []int8, indices []int, element int8) (int, bool)
- func Int8Rng(list []int8, indices []int, element int8) (int, int, bool)
- func Int8RngDesc(list []int8, indices []int, element int8) (int, int, bool)
- func IntDesc(list []int, indices []int, element int) (int, bool)
- func IntRng(list []int, indices []int, element int) (int, int, bool)
- func IntRngDesc(list []int, indices []int, element int) (int, int, bool)
- func Pointer(list []unsafe.Pointer, indices []int, element unsafe.Pointer) (int, bool)
- func PointerDesc(list []unsafe.Pointer, indices []int, element unsafe.Pointer) (int, bool)
- func PointerRng(list []unsafe.Pointer, indices []int, element unsafe.Pointer) (int, int, bool)
- func PointerRngDesc(list []unsafe.Pointer, indices []int, element unsafe.Pointer) (int, int, bool)
- func Rune(list []rune, indices []int, element rune) (int, bool)
- func RuneDesc(list []rune, indices []int, element rune) (int, bool)
- func RuneRng(list []rune, indices []int, element rune) (int, int, bool)
- func RuneRngDesc(list []rune, indices []int, element rune) (int, int, bool)
- func String(list []string, indices []int, element string) (int, bool)
- func StringDesc(list []string, indices []int, element string) (int, bool)
- func StringOff(list []string, indices []int, element string, offset int) (int, bool)
- func StringOffDesc(list []string, indices []int, element string, offset int) (int, bool)
- func StringPfx(list []string, indices []int, element string) (int, bool)
- func StringPfxDesc(list []string, indices []int, element string) (int, bool)
- func StringPfxOff(list []string, indices []int, element string, offset int) (int, bool)
- func StringPfxOffDesc(list []string, indices []int, element string, offset int) (int, bool)
- func StringPfxRngOff(list []string, indices []int, element string, offset int) (int, int, bool)
- func StringPfxRngOffDesc(list []string, indices []int, element string, offset int) (int, int, bool)
- func StringRng(list []string, indices []int, element string) (int, int, bool)
- func StringRngDesc(list []string, indices []int, element string) (int, int, bool)
- func StringRngOff(list []string, indices []int, element string, offset int) (int, int, bool)
- func StringRngOffDesc(list []string, indices []int, element string, offset int) (int, int, bool)
- func UInt(list []uint, indices []int, element uint) (int, bool)
- func UInt16(list []uint16, indices []int, element uint16) (int, bool)
- func UInt16Desc(list []uint16, indices []int, element uint16) (int, bool)
- func UInt16Rng(list []uint16, indices []int, element uint16) (int, int, bool)
- func UInt16RngDesc(list []uint16, indices []int, element uint16) (int, int, bool)
- func UInt32(list []uint32, indices []int, element uint32) (int, bool)
- func UInt32Desc(list []uint32, indices []int, element uint32) (int, bool)
- func UInt32Rng(list []uint32, indices []int, element uint32) (int, int, bool)
- func UInt32RngDesc(list []uint32, indices []int, element uint32) (int, int, bool)
- func UInt64(list []uint64, indices []int, element uint64) (int, bool)
- func UInt64Desc(list []uint64, indices []int, element uint64) (int, bool)
- func UInt64Rng(list []uint64, indices []int, element uint64) (int, int, bool)
- func UInt64RngDesc(list []uint64, indices []int, element uint64) (int, int, bool)
- func UInt8(list []uint8, indices []int, element uint8) (int, bool)
- func UInt8Desc(list []uint8, indices []int, element uint8) (int, bool)
- func UInt8Rng(list []uint8, indices []int, element uint8) (int, int, bool)
- func UInt8RngDesc(list []uint8, indices []int, element uint8) (int, int, bool)
- func UIntDesc(list []uint, indices []int, element uint) (int, bool)
- func UIntPtr(list []uintptr, indices []int, element uintptr) (int, bool)
- func UIntPtrDesc(list []uintptr, indices []int, element uintptr) (int, bool)
- func UIntPtrRng(list []uintptr, indices []int, element uintptr) (int, int, bool)
- func UIntPtrRngDesc(list []uintptr, indices []int, element uintptr) (int, int, bool)
- func UIntRng(list []uint, indices []int, element uint) (int, int, bool)
- func UIntRngDesc(list []uint, indices []int, element uint) (int, int, bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Bool ¶
Bool searches element in list and returns its index. Second return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be unique and sorted from false to true.
func BoolDesc ¶
BoolDesc searches element in list and returns its index. Second return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be unique and sorted from true to false.
func BoolRng ¶
BoolRng searches element in list and returns matching start and end index. Start index is inclusive, end index is exclusive. Third return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be sorted from false to true.
func BoolRngDesc ¶
BoolRngDesc searches element in list and returns matching start and end index. Start index is inclusive, end index is exclusive. Third return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be sorted from true to false.
func Byte ¶
Byte searches element in list and returns its index. Second return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be unique and in ascending order.
func ByteDesc ¶
ByteDesc searches element in list and returns its index. Second return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be unique and in descending order.
func ByteRng ¶
ByteRng searches element in list and returns matching start and end index. Start index is inclusive, end index is exclusive. Third return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be in ascending order.
func ByteRngDesc ¶
ByteRngDesc searches element in list and returns matching start and end index. Start index is inclusive, end index is exclusive. Third return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be in descending order.
func Complex128 ¶
func Complex128(list []complex128, indices []int, element complex128) (int, bool)
Complex128 searches element in list and returns its index. Second return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be unique and in ascending order.
func Complex128Desc ¶
func Complex128Desc(list []complex128, indices []int, element complex128) (int, bool)
Complex128Desc searches element in list and returns its index. Second return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be unique and in descending order.
func Complex128Rng ¶
func Complex128Rng(list []complex128, indices []int, element complex128) (int, int, bool)
Complex128Rng searches element in list and returns matching start and end index. Start index is inclusive, end index is exclusive. Third return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be in ascending order.
func Complex128RngDesc ¶
func Complex128RngDesc(list []complex128, indices []int, element complex128) (int, int, bool)
Complex128RngDesc searches element in list and returns matching start and end index. Start index is inclusive, end index is exclusive. Third return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be in descending order.
func Complex64 ¶
Complex64 searches element in list and returns its index. Second return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be unique and in ascending order.
func Complex64Desc ¶
Complex64Desc searches element in list and returns its index. Second return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be unique and in descending order.
func Complex64Rng ¶
Complex64Rng searches element in list and returns matching start and end index. Start index is inclusive, end index is exclusive. Third return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be in ascending order.
func Complex64RngDesc ¶
Complex64RngDesc searches element in list and returns matching start and end index. Start index is inclusive, end index is exclusive. Third return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be in descending order.
func Float32 ¶
Float32 searches element in list and returns its index. Second return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be unique and in ascending order.
func Float32Desc ¶
Float32Desc searches element in list and returns its index. Second return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be unique and in descending order.
func Float32Rng ¶
Float32Rng searches element in list and returns matching start and end index. Start index is inclusive, end index is exclusive. Third return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be in ascending order.
func Float32RngDesc ¶
Float32RngDesc searches element in list and returns matching start and end index. Start index is inclusive, end index is exclusive. Third return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be in descending order.
func Float64 ¶
Float64 searches element in list and returns its index. Second return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be unique and in ascending order.
func Float64Desc ¶
Float64Desc searches element in list and returns its index. Second return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be unique and in descending order.
func Float64Rng ¶
Float64Rng searches element in list and returns matching start and end index. Start index is inclusive, end index is exclusive. Third return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be in ascending order.
func Float64RngDesc ¶
Float64RngDesc searches element in list and returns matching start and end index. Start index is inclusive, end index is exclusive. Third return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be in descending order.
func Int ¶
Int searches element in list and returns its index. Second return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be unique and in ascending order.
func Int16 ¶
Int16 searches element in list and returns its index. Second return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be unique and in ascending order.
func Int16Desc ¶
Int16Desc searches element in list and returns its index. Second return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be unique and in descending order.
func Int16Rng ¶
Int16Rng searches element in list and returns matching start and end index. Start index is inclusive, end index is exclusive. Third return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be in ascending order.
func Int16RngDesc ¶
Int16RngDesc searches element in list and returns matching start and end index. Start index is inclusive, end index is exclusive. Third return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be in descending order.
func Int32 ¶
Int32 searches element in list and returns its index. Second return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be unique and in ascending order.
func Int32Desc ¶
Int32Desc searches element in list and returns its index. Second return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be unique and in descending order.
func Int32Rng ¶
Int32Rng searches element in list and returns matching start and end index. Start index is inclusive, end index is exclusive. Third return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be in ascending order.
func Int32RngDesc ¶
Int32RngDesc searches element in list and returns matching start and end index. Start index is inclusive, end index is exclusive. Third return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be in descending order.
func Int64 ¶
Int64 searches element in list and returns its index. Second return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be unique and in ascending order.
func Int64Desc ¶
Int64Desc searches element in list and returns its index. Second return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be unique and in descending order.
func Int64Rng ¶
Int64Rng searches element in list and returns matching start and end index. Start index is inclusive, end index is exclusive. Third return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be in ascending order.
func Int64RngDesc ¶
Int64RngDesc searches element in list and returns matching start and end index. Start index is inclusive, end index is exclusive. Third return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be in descending order.
func Int8 ¶
Int8 searches element in list and returns its index. Second return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be unique and in ascending order.
func Int8Desc ¶
Int8Desc searches element in list and returns its index. Second return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be unique and in descending order.
func Int8Rng ¶
Int8Rng searches element in list and returns matching start and end index. Start index is inclusive, end index is exclusive. Third return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be in ascending order.
func Int8RngDesc ¶
Int8RngDesc searches element in list and returns matching start and end index. Start index is inclusive, end index is exclusive. Third return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be in descending order.
func IntDesc ¶
IntDesc searches element in list and returns its index. Second return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be unique and in descending order.
func IntRng ¶
IntRng searches element in list and returns matching start and end index. Start index is inclusive, end index is exclusive. Third return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be in ascending order.
func IntRngDesc ¶
IntRngDesc searches element in list and returns matching start and end index. Start index is inclusive, end index is exclusive. Third return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be in descending order.
func Pointer ¶
Pointer searches element in list and returns its index. Second return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be unique and in ascending order.
func PointerDesc ¶
PointerDesc searches element in list and returns its index. Second return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be unique and in descending order.
func PointerRng ¶
PointerRng searches element in list and returns matching start and end index. Start index is inclusive, end index is exclusive. Third return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be in ascending order.
func PointerRngDesc ¶
PointerRngDesc searches element in list and returns matching start and end index. Start index is inclusive, end index is exclusive. Third return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be in descending order.
func Rune ¶
Rune searches element in list and returns its index. Second return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be unique and in ascending order.
func RuneDesc ¶
RuneDesc searches element in list and returns its index. Second return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be unique and in descending order.
func RuneRng ¶
RuneRng searches element in list and returns matching start and end index. Start index is inclusive, end index is exclusive. Third return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be in ascending order.
func RuneRngDesc ¶
RuneRngDesc searches element in list and returns matching start and end index. Start index is inclusive, end index is exclusive. Third return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be in descending order.
func String ¶
String searches element in list and returns its index. Second return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be unique and in ascending order.
func StringDesc ¶
StringDesc searches element in list and returns its index. Second return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be unique and in descending order.
func StringOff ¶
StringOff searches elements in list starting at offset matching element, i.e. list[i][offset:offset+len(element)] == element. Returns start and end index, i.e. start <= i < end. Start index is inclusive, end index is exclusive. Third return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be unique and in ascending order regarding offset.
func StringOffDesc ¶
StringOffDesc searches elements in list starting at offset matching element, i.e. list[i][offset:offset+len(element)] == element. Returns start and end index, i.e. start <= i < end. Start index is inclusive, end index is exclusive. Third return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be unique and in descending order regarding offset.
func StringPfx ¶
StringPfx searches element in list by prefix and returns its index. Second return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be unique by prefix and in ascending order.
func StringPfxDesc ¶
StringPfxDesc searches element in list by prefix and returns its index. Second return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be unique by prefix and in descending order.
func StringPfxOff ¶
StringPfxOff searches elements in list by prefix starting at offset matching element, i.e. HasPrefix(list[i][offset:offset+len(element)], element). Returns start and end index, i.e. start <= i < end. Start index is inclusive, end index is exclusive. Third return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be unique by prefix and in ascending order, both regarding offset.
func StringPfxOffDesc ¶
StringPfxOffDesc searches elements in list by prefix starting at offset matching element, i.e. HasPrefix(list[i][offset:offset+len(element)], element). Returns start and end index, i.e. start <= i < end. Start index is inclusive, end index is exclusive. Third return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be unique by prefix and in descending order, both regarding offset.
func StringPfxRngOff ¶
StringPfxRngOff searches elements in list starting at offset matching element, i.e. HasPrefix(list[i][offset:offset+len(element)], element). Returns start and end index, i.e. start <= i < end. Start index is inclusive, end index is exclusive. Third return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be in ascending order regarding offset.
func StringPfxRngOffDesc ¶
StringPfxRngOffDesc searches elements in list starting at offset matching element, i.e. HasPrefix(list[i][offset:offset+len(element)], element). Returns start and end index, i.e. start <= i < end. Start index is inclusive, end index is exclusive. Third return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be in descending order regarding offset.
func StringRng ¶
StringRng searches element in list and returns matching start and end index. Start index is inclusive, end index is exclusive. Third return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be in ascending order.
func StringRngDesc ¶
StringRngDesc searches element in list and returns matching start and end index. Start index is inclusive, end index is exclusive. Third return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be in descending order.
func StringRngOff ¶
StringRngOff searches elements in list starting at offset matching element, i.e. list[i][offset:offset+len(element)] == element. Returns start and end index, i.e. start <= i < end. Start index is inclusive, end index is exclusive. Third return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be in ascending order regarding offset.
func StringRngOffDesc ¶
StringRngOffDesc searches elements in list starting at offset matching element, i.e. list[i][offset:offset+len(element)] == element. Returns start and end index, i.e. start <= i < end. Start index is inclusive, end index is exclusive. Third return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be in descending order regarding offset.
func UInt ¶
UInt searches element in list and returns its index. Second return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be unique and in ascending order.
func UInt16 ¶
UInt16 searches element in list and returns its index. Second return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be unique and in ascending order.
func UInt16Desc ¶
UInt16Desc searches element in list and returns its index. Second return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be unique and in descending order.
func UInt16Rng ¶
UInt16Rng searches element in list and returns matching start and end index. Start index is inclusive, end index is exclusive. Third return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be in ascending order.
func UInt16RngDesc ¶
UInt16RngDesc searches element in list and returns matching start and end index. Start index is inclusive, end index is exclusive. Third return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be in descending order.
func UInt32 ¶
UInt32 searches element in list and returns its index. Second return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be unique and in ascending order.
func UInt32Desc ¶
UInt32Desc searches element in list and returns its index. Second return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be unique and in descending order.
func UInt32Rng ¶
UInt32Rng searches element in list and returns matching start and end index. Start index is inclusive, end index is exclusive. Third return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be in ascending order.
func UInt32RngDesc ¶
UInt32RngDesc searches element in list and returns matching start and end index. Start index is inclusive, end index is exclusive. Third return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be in descending order.
func UInt64 ¶
UInt64 searches element in list and returns its index. Second return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be unique and in ascending order.
func UInt64Desc ¶
UInt64Desc searches element in list and returns its index. Second return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be unique and in descending order.
func UInt64Rng ¶
UInt64Rng searches element in list and returns matching start and end index. Start index is inclusive, end index is exclusive. Third return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be in ascending order.
func UInt64RngDesc ¶
UInt64RngDesc searches element in list and returns matching start and end index. Start index is inclusive, end index is exclusive. Third return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be in descending order.
func UInt8 ¶
UInt8 searches element in list and returns its index. Second return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be unique and in ascending order.
func UInt8Desc ¶
UInt8Desc searches element in list and returns its index. Second return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be unique and in descending order.
func UInt8Rng ¶
UInt8Rng searches element in list and returns matching start and end index. Start index is inclusive, end index is exclusive. Third return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be in ascending order.
func UInt8RngDesc ¶
UInt8RngDesc searches element in list and returns matching start and end index. Start index is inclusive, end index is exclusive. Third return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be in descending order.
func UIntDesc ¶
UIntDesc searches element in list and returns its index. Second return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be unique and in descending order.
func UIntPtr ¶
UIntPtr searches element in list and returns its index. Second return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be unique and in ascending order.
func UIntPtrDesc ¶
UIntPtrDesc searches element in list and returns its index. Second return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be unique and in descending order.
func UIntPtrRng ¶
UIntPtrRng searches element in list and returns matching start and end index. Start index is inclusive, end index is exclusive. Third return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be in ascending order.
func UIntPtrRngDesc ¶
UIntPtrRngDesc searches element in list and returns matching start and end index. Start index is inclusive, end index is exclusive. Third return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be in descending order.
func UIntRng ¶
UIntRng searches element in list and returns matching start and end index. Start index is inclusive, end index is exclusive. Third return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be in ascending order.
func UIntRngDesc ¶
UIntRngDesc searches element in list and returns matching start and end index. Start index is inclusive, end index is exclusive. Third return value is true, if element is in list, otherwise false and the index returned is the insert index. Elements in list must be in descending order.
Types ¶
This section is empty.