Versions in this module Expand all Collapse all v11 v11.0.0 Jan 18, 2023 Changes in this version + var BitMask = [8]byte + var FlippedBitMask = [8]byte + var PrecedingBitmask = [8]byte + var TrailingBitmask = [8]byte + func BitIsNotSet(buf []byte, i int) bool + func BitIsSet(buf []byte, i int) bool + func BitmapAnd(left, right []byte, lOffset, rOffset int64, out []byte, outOffset int64, ...) + func BitmapAndAlloc(mem memory.Allocator, left, right []byte, lOffset, rOffset int64, ...) *memory.Buffer + func BitmapAndNot(left, right []byte, lOffset, rOffset int64, out []byte, outOffset int64, ...) + func BitmapAndNotAlloc(mem memory.Allocator, left, right []byte, lOffset, rOffset int64, ...) *memory.Buffer + func BitmapEquals(left, right []byte, lOffset, rOffset int64, length int64) bool + func BitmapOp(op bitOp, left, right []byte, lOffset, rOffset int64, out []byte, ...) + func BitmapOpAlloc(mem memory.Allocator, op bitOp, left, right []byte, lOffset, rOffset int64, ...) *memory.Buffer + func BitmapOr(left, right []byte, lOffset, rOffset int64, out []byte, outOffset int64, ...) + func BitmapOrAlloc(mem memory.Allocator, left, right []byte, lOffset, rOffset int64, ...) *memory.Buffer + func BitmapXor(left, right []byte, lOffset, rOffset int64, out []byte, outOffset int64, ...) + func BitmapXorAlloc(mem memory.Allocator, left, right []byte, lOffset, rOffset int64, ...) *memory.Buffer + func BytesForBits(bits int64) int64 + func CeilByte(size int) int + func CeilByte64(size int64) int64 + func ClearBit(buf []byte, i int) + func CopyBitmap(src []byte, srcOffset, length int, dst []byte, dstOffset int) + func CountSetBits(buf []byte, offset, n int) int + func InvertBitmap(src []byte, srcOffset, length int, dst []byte, dstOffset int) + func IsMultipleOf64(v int64) bool + func IsMultipleOf8(v int64) bool + func NextPowerOf2(x int) int + func SetBit(buf []byte, i int) + func SetBitTo(buf []byte, i int, val bool) + func SetBitsTo(bits []byte, startOffset, length int64, areSet bool) + func VisitWordsAndWrite(args []Bitmap, out []Bitmap, visitor func(in, out []uint64)) error + type Bitmap struct + Data []byte + Len int64 + Offset int64 + type BitmapReader struct + func NewBitmapReader(bitmap []byte, offset, length int) *BitmapReader + func (b *BitmapReader) Len() int + func (b *BitmapReader) Next() + func (b *BitmapReader) NotSet() bool + func (b *BitmapReader) Pos() int + func (b *BitmapReader) Set() bool + type BitmapWordReader struct + func NewBitmapWordReader(bitmap []byte, offset, length int) *BitmapWordReader + func (bm *BitmapWordReader) NextTrailingByte() (val byte, validBits int) + func (bm *BitmapWordReader) NextWord() uint64 + func (bm *BitmapWordReader) TrailingBytes() int + func (bm *BitmapWordReader) Words() int + type BitmapWordWriter struct + func NewBitmapWordWriter(bitmap []byte, start, len int) *BitmapWordWriter + func (bm *BitmapWordWriter) PutNextTrailingByte(b byte, validBits int) + func (bm *BitmapWordWriter) PutNextWord(word uint64) + type BitmapWriter struct + func NewBitmapWriter(bitmap []byte, start, length int) *BitmapWriter + func (b *BitmapWriter) AppendBools(in []bool) int + func (b *BitmapWriter) Clear() + func (b *BitmapWriter) Finish() + func (b *BitmapWriter) Next() + func (b *BitmapWriter) Pos() int + func (b *BitmapWriter) Reset(start, length int) + func (b *BitmapWriter) Set() + type OptionalBitIndexer struct + Bitmap []byte + Offset int + func (b *OptionalBitIndexer) GetBit(i int) bool Other modules containing this package github.com/apache/arrow/go/v10 github.com/apache/arrow/go/v12 github.com/apache/arrow/go/v13 github.com/apache/arrow/go/v14 github.com/apache/arrow/go/v15 github.com/apache/arrow/go/v16 github.com/apache/arrow/go/v6 github.com/apache/arrow/go/v7 github.com/apache/arrow/go/v8 github.com/apache/arrow/go/v9