Documentation ¶
Index ¶
- func AppendFloat64Ones(dst []float64, items int) []float64
- func AppendFloat64Zeros(dst []float64, items int) []float64
- func AppendInt64Ones(dst []int64, items int) []int64
- func AppendInt64Zeros(dst []int64, items int) []int64
- func IsFloat64Ones(a []float64) bool
- func IsFloat64Zeros(a []float64) bool
- func IsInt64Ones(a []int64) bool
- func IsInt64Zeros(a []int64) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendFloat64Ones ¶
AppendFloat64Ones appends items ones to dst and returns the result.
It is faster than the corresponding loop.
func AppendFloat64Zeros ¶
AppendFloat64Zeros appends items zeros to dst and returns the result.
It is faster than the corresponding loop.
func AppendInt64Ones ¶
AppendInt64Ones appends items ones to dst and returns the result.
It is faster than the corresponding loop.
func AppendInt64Zeros ¶
AppendInt64Zeros appends items zeros to dst and returns the result.
It is faster than the corresponding loop.
func IsFloat64Ones ¶
IsFloat64Ones checks whether a contains only ones.
func IsFloat64Zeros ¶
IsFloat64Zeros checks whether a contains only zeros.
func IsInt64Ones ¶
IsInt64Ones checks whether a contains only ones.
func IsInt64Zeros ¶
IsInt64Zeros checks whether a contains only zeros.
Types ¶
This section is empty.