Documentation ¶
Index ¶
- Variables
- func Abs(a int) int
- func Abs64(i int64) int64
- func AddToSet64(n int64, slice *[]int64) bool
- func Clamp(a, min, max int) int
- func FromBool(b bool) int
- func GetAny(i interface{}) (int64, error)
- func HashTo32(str string) int32
- func HashTo64(str string) int64
- func IndexInSlice64(n int64, slice []int64) int
- func Intersection64(a, b []int64) []int64
- func IsInSlice32(n int32, slice []int32) bool
- func Join64(ids []int64, sep string) (str string)
- func MapBoolToSlice(m map[int]bool) (slice []int)
- func MapBoolToSlice64(m map[int64]bool) (slice []int64)
- func Max(a, b int) int
- func Max64(a int64, b int64) int64
- func Maximize(a *int, b int) bool
- func Maximize64(a *int64, b int64) bool
- func Min(a, b int) int
- func MinMax(a, b int) (min, max int)
- func Minimize(a *int, b int) bool
- func Minimize64(a *int64, b int64) bool
- func RemoveFromSet64(n int64, set *[]int64) bool
- func SetAny(num interface{}, i int64) error
- func Slice64Contains(slice []int64, i int64) bool
- func SplitStringTo64(str string, sep string) (ints []int64)
- func StringsTo64(snums []string) (ints []int64)
- func SubtractedSets64(set []int64, subtract []int64) []int64
- func ToStrings64(ints []int64) (s []string)
- type Range
- type Slice
Constants ¶
This section is empty.
Variables ¶
View Source
var SizeOfInt = int(unsafe.Sizeof(dummy))
SizeOfInt is the size of an int type
Functions ¶
func AddToSet64 ¶
func IndexInSlice64 ¶
func Intersection64 ¶
func IsInSlice32 ¶
func MapBoolToSlice ¶
func MapBoolToSlice64 ¶
func Maximize64 ¶
func Minimize64 ¶
func RemoveFromSet64 ¶
func Slice64Contains ¶
func SplitStringTo64 ¶
func StringsTo64 ¶
func SubtractedSets64 ¶
func ToStrings64 ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.