github.com/parquet-go/parquet-go@v0.21.1-0.20240501160520-b3c3a0c3ed6f/encoding/rle/rle_purego.go (about) 1 //go:build purego || !amd64 2 3 package rle 4 5 func encodeBytesBitpack(dst []byte, src []uint64, bitWidth uint) int { 6 return encodeBytesBitpackDefault(dst, src, bitWidth) 7 } 8 9 func encodeInt32IndexEqual8Contiguous(words [][8]int32) (n int) { 10 for n < len(words) && words[n] != broadcast8x4(words[n][0]) { 11 n++ 12 } 13 return n 14 } 15 16 func encodeInt32Bitpack(dst []byte, src [][8]int32, bitWidth uint) int { 17 return encodeInt32BitpackDefault(dst, src, bitWidth) 18 } 19 20 func decodeBytesBitpack(dst, src []byte, count, bitWidth uint) { 21 decodeBytesBitpackDefault(dst, src, count, bitWidth) 22 }