package tools
import "github.com/apache/arrow-go/v18/arrow/internal/testing/tools"
Index ¶
- func Bools(v ...int) []bool
- func FPUnwind()
- func GetDataType[T constraints.Integer | constraints.Float | bool | string | []byte | float16.Num]() arrow.DataType
- func IntsToBitsLSB(v ...int32) []byte
Functions ¶
func Bools ¶
func FPUnwind ¶
func FPUnwind()
FPUnwind does frame pointer unwinding. It is implemented in assembly. If frame pointers are broken, it will crash. It is currently only implemented for arm64
func GetDataType ¶
func GetDataType[T constraints.Integer | constraints.Float | bool | string | []byte | float16.Num]() arrow.DataType
func IntsToBitsLSB ¶
IntsToBitsLSB encodes ints as LSB 0 bit numbering per https://en.wikipedia.org/wiki/Bit_numbering#LSB_0_bit_numbering The low bit of each nibble is tested, therefore integers should be written as 8-digit hex numbers consisting of 1s or 0s.
IntsToBitsLSB(0x11001010) -> 0x35
Source Files ¶
bits.go bool.go data_types.go fpunwind_default.go
- Version
- v18.2.0 (latest)
- Published
- Mar 12, 2025
- Platform
- linux/amd64
- Imports
- 5 packages
- Last checked
- 3 days ago –
Tools for package owners.