package sparse
import "github.com/parquet-go/parquet-go/internal/unsafecast"
func GatherInt32 (dst []int32 , src Int32Array ) int {
return GatherUint32 (unsafecast .Slice [uint32 ](dst ), src .Uint32Array ())
}
func GatherInt64 (dst []int64 , src Int64Array ) int {
return GatherUint64 (unsafecast .Slice [uint64 ](dst ), src .Uint64Array ())
}
func GatherFloat32 (dst []float32 , src Float32Array ) int {
return GatherUint32 (unsafecast .Slice [uint32 ](dst ), src .Uint32Array ())
}
func GatherFloat64 (dst []float64 , src Float64Array ) int {
return GatherUint64 (unsafecast .Slice [uint64 ](dst ), src .Uint64Array ())
}
func GatherBits (dst []byte , src Uint8Array ) int { return gatherBits (dst , src ) }
func GatherUint32 (dst []uint32 , src Uint32Array ) int { return gather32 (dst , src ) }
func GatherUint64 (dst []uint64 , src Uint64Array ) int { return gather64 (dst , src ) }
func GatherUint128 (dst [][16 ]byte , src Uint128Array ) int { return gather128 (dst , src ) }
func GatherString (dst []string , src StringArray ) int {
n := min (len (dst ), src .Len ())
for i := range dst [:n ] {
dst [i ] = src .Index (i )
}
return n
}
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 .