package utils
Import Path
github.com/apache/arrow-go/v18/internal/utils (on go.dev)
Dependency Relation
imports 13 packages, and imported by 8 packages
Involved Source Files
buf_reader.go
endians_default.go
math.go
min_max.go
min_max_amd64.go
min_max_avx2_amd64.go
min_max_sse4_amd64.go
recovery.go
ref_count.go
transpose_ints.go
transpose_ints_amd64.go
transpose_ints_avx2_amd64.go
transpose_ints_def.go
transpose_ints_sse4_amd64.go
min_max_avx2_amd64.s
min_max_sse4_amd64.s
transpose_ints_avx2_amd64.s
transpose_ints_sse4_amd64.s
Package-Level Type Names (only one)
( Reader) Read(p []byte) (n int, err error)
( Reader) ReadAt(p []byte, off int64) (n int, err error)
( Reader) Seek(offset int64, whence int) (int64, error)
github.com/apache/arrow-go/v18/arrow/ipc.ReadAtSeeker (interface)
github.com/coreos/etcd/pkg/fileutil.LockedFile
*github.com/klauspost/compress/s2.ReadSeeker
*github.com/polarsignals/wal/fs.File
*bytes.Reader
*io.SectionReader
mime/multipart.File (interface)
*os.File
*strings.Reader
Reader : github.com/apache/arrow-go/v18/arrow/ipc.ReadAtSeeker
Reader : github.com/apache/arrow-go/v18/parquet.ReaderAtSeeker
Reader : io.Reader
Reader : io.ReaderAt
Reader : io.ReadSeeker
Reader : io.Seeker
func github.com/apache/arrow-go/v18/parquet.BufferedReader.Outer() Reader
func NewBufferedReader(rd Reader, sz int) *bufferedReader
func github.com/apache/arrow-go/v18/parquet.BufferedReader.Reset(Reader)
Package-Level Functions (total 20)
Type Parameters:
T: constraints.Signed
Add returns the sum of two integers while checking for [overflow].
It returns false (not ok) when the operation overflows.
FormatRecoveredError is used in cases where a panic/recover receives an
object which is potentially an error that could be wrapped, instead of
formatted, so that callers can see it. This may be useful, for example,
with custom Allocators which panic to signal failure; these panics will be
recovered as wrapped errors, letting the client distinguish them.
GetMinMaxInt16 returns the min and max for a int16 slice, using AVX2 or
SSE4 cpu extensions if available, falling back to a pure go implementation
if they are unavailable or built with the noasm tag.
GetMinMaxInt32 returns the min and max for a int32 slice, using AVX2 or
SSE4 cpu extensions if available, falling back to a pure go implementation
if they are unavailable or built with the noasm tag.
GetMinMaxInt64 returns the min and max for a int64 slice, using AVX2 or
SSE4 cpu extensions if available, falling back to a pure go implementation
if they are unavailable or built with the noasm tag.
GetMinMaxInt8 returns the min and max for a int8 slice, using AVX2 or
SSE4 cpu extensions if available, falling back to a pure go implementation
if they are unavailable or built with the noasm tag.
GetMinMaxUint16 returns the min and max for a uint16 slice, using AVX2 or
SSE4 cpu extensions if available, falling back to a pure go implementation
if they are unavailable or built with the noasm tag.
GetMinMaxUint32 returns the min and max for a uint32 slice, using AVX2 or
SSE4 cpu extensions if available, falling back to a pure go implementation
if they are unavailable or built with the noasm tag.
GetMinMaxUint64 returns the min and max for a uint64 slice, using AVX2 or
SSE4 cpu extensions if available, falling back to a pure go implementation
if they are unavailable or built with the noasm tag.
GetMinMaxUint8 returns the min and max for a uint8 slice, using AVX2 or
SSE4 cpu extensions if available, falling back to a pure go implementation
if they are unavailable or built with the noasm tag.
Mul returns the product of two integers while checking for [overflow].
It returns false (not ok) when the operation overflows.
Mul64 returns the product of two integers while checking for [overflow].
It returns false (not ok) when the operation overflows.
NewBufferedReader returns a buffered reader with similar semantics to bufio.Reader
except Peek will expand the internal buffer if needed rather than return
an error.
NewByteReader creates a new ByteReader instance from the given byte slice.
It wraps the bytes.NewReader function to implement BufferedReader interface.
NewRefCount creates a new atomic counter set to the specified initial value.
Type Parameters:
T: constraints.Integer | constraints.Float
TransposeInts expects two integral slices and the values they map to. Returning
an error if either src or dest are not an integral type.
TransposeIntsBuffers takes the data-types, byte buffers, and offsets of a source and destination
buffer to perform TransposeInts on with the provided mapping data.
Package-Level Variables (total 72)
var ToLEFloat32 func(x float32) float32 var ToLEFloat64 func(x float64) float64 var ToLEUint16 func(x uint16) uint16 var ToLEUint32 func(x uint32) uint32 var ToLEUint64 func(x uint64) uint64 var TransposeInt16Int16 ([]int16, []int16, []int32) var TransposeInt16Int32 ([]int16, []int32, []int32) var TransposeInt16Int64 ([]int16, []int64, []int32) var TransposeInt16Int8 ([]int16, []int8, []int32) var TransposeInt16Uint16 ([]int16, []uint16, []int32) var TransposeInt16Uint32 ([]int16, []uint32, []int32) var TransposeInt16Uint64 ([]int16, []uint64, []int32) var TransposeInt16Uint8 ([]int16, []uint8, []int32) var TransposeInt32Int16 ([]int32, []int16, []int32) var TransposeInt32Int32 ([]int32, []int32, []int32) var TransposeInt32Int64 ([]int32, []int64, []int32) var TransposeInt32Int8 ([]int32, []int8, []int32) var TransposeInt32Uint16 ([]int32, []uint16, []int32) var TransposeInt32Uint32 ([]int32, []uint32, []int32) var TransposeInt32Uint64 ([]int32, []uint64, []int32) var TransposeInt32Uint8 ([]int32, []uint8, []int32) var TransposeInt64Int16 ([]int64, []int16, []int32) var TransposeInt64Int32 ([]int64, []int32, []int32) var TransposeInt64Int64 ([]int64, []int64, []int32) var TransposeInt64Int8 ([]int64, []int8, []int32) var TransposeInt64Uint16 ([]int64, []uint16, []int32) var TransposeInt64Uint32 ([]int64, []uint32, []int32) var TransposeInt64Uint64 ([]int64, []uint64, []int32) var TransposeInt64Uint8 ([]int64, []uint8, []int32) var TransposeInt8Int16 ([]int8, []int16, []int32) var TransposeInt8Int32 ([]int8, []int32, []int32) var TransposeInt8Int64 ([]int8, []int64, []int32) var TransposeInt8Int8 ([]int8, []int8, []int32) var TransposeInt8Uint16 ([]int8, []uint16, []int32) var TransposeInt8Uint32 ([]int8, []uint32, []int32) var TransposeInt8Uint64 ([]int8, []uint64, []int32) var TransposeInt8Uint8 ([]int8, []uint8, []int32) var TransposeUint16Int16 ([]uint16, []int16, []int32) var TransposeUint16Int32 ([]uint16, []int32, []int32) var TransposeUint16Int64 ([]uint16, []int64, []int32) var TransposeUint16Int8 ([]uint16, []int8, []int32) var TransposeUint16Uint16 ([]uint16, []uint16, []int32) var TransposeUint16Uint32 ([]uint16, []uint32, []int32) var TransposeUint16Uint64 ([]uint16, []uint64, []int32) var TransposeUint16Uint8 ([]uint16, []uint8, []int32) var TransposeUint32Int16 ([]uint32, []int16, []int32) var TransposeUint32Int32 ([]uint32, []int32, []int32) var TransposeUint32Int64 ([]uint32, []int64, []int32) var TransposeUint32Int8 ([]uint32, []int8, []int32) var TransposeUint32Uint16 ([]uint32, []uint16, []int32) var TransposeUint32Uint32 ([]uint32, []uint32, []int32) var TransposeUint32Uint64 ([]uint32, []uint64, []int32) var TransposeUint32Uint8 ([]uint32, []uint8, []int32) var TransposeUint64Int16 ([]uint64, []int16, []int32) var TransposeUint64Int32 ([]uint64, []int32, []int32) var TransposeUint64Int64 ([]uint64, []int64, []int32) var TransposeUint64Int8 ([]uint64, []int8, []int32) var TransposeUint64Uint16 ([]uint64, []uint16, []int32) var TransposeUint64Uint32 ([]uint64, []uint32, []int32) var TransposeUint64Uint64 ([]uint64, []uint64, []int32) var TransposeUint64Uint8 ([]uint64, []uint8, []int32) var TransposeUint8Int16 ([]uint8, []int16, []int32) var TransposeUint8Int32 ([]uint8, []int32, []int32) var TransposeUint8Int64 ([]uint8, []int64, []int32) var TransposeUint8Int8 ([]uint8, []int8, []int32) var TransposeUint8Uint16 ([]uint8, []uint16, []int32) var TransposeUint8Uint32 ([]uint8, []uint32, []int32) var TransposeUint8Uint64 ([]uint8, []uint64, []int32) var TransposeUint8Uint8 ([]uint8, []uint8, []int32)![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |