Versions in this module Expand all Collapse all v1 v1.4.1 Sep 2, 2020 Changes in this version + const ArrayMaxSize + var NewFileBitmap func(a ...uint64) *Bitmap = NewBitmap + type Bitmap struct + Containers Containers + OpWriter io.Writer + func NewBitmap(a ...uint64) *Bitmap + func NewBitmapWithDefaultPooling(maxPoolCapacity int, a ...uint64) *Bitmap + func NewBitmapWithPooling(pooling ContainerPoolingConfiguration, a ...uint64) *Bitmap + func (b *Bitmap) Add(a ...uint64) (changed bool, err error) + func (b *Bitmap) Check() error + func (b *Bitmap) Clone() *Bitmap + func (b *Bitmap) Contains(v uint64) bool + func (b *Bitmap) Count() (n uint64) + func (b *Bitmap) CountRange(start, end uint64) (n uint64) + func (b *Bitmap) Difference(other *Bitmap) *Bitmap + func (b *Bitmap) DirectAdd(v uint64) bool + func (b *Bitmap) Flip(start, end uint64) *Bitmap + func (b *Bitmap) ForEach(fn func(uint64)) + func (b *Bitmap) ForEachRange(start, end uint64, fn func(uint64)) + func (b *Bitmap) Info() bitmapInfo + func (b *Bitmap) Intersect(other *Bitmap) *Bitmap + func (b *Bitmap) IntersectionCount(other *Bitmap) uint64 + func (b *Bitmap) Iterator() *Iterator + func (b *Bitmap) Max() uint64 + func (b *Bitmap) OffsetRange(offset, start, end uint64) *Bitmap + func (b *Bitmap) Optimize() + func (b *Bitmap) Remove(a ...uint64) (changed bool, err error) + func (b *Bitmap) Reset() + func (b *Bitmap) Slice() []uint64 + func (b *Bitmap) SliceRange(start, end uint64) []uint64 + func (b *Bitmap) Union(others ...*Bitmap) *Bitmap + func (b *Bitmap) UnionInPlace(others ...*Bitmap) + func (b *Bitmap) UnmarshalBinary(data []byte) error + func (b *Bitmap) WriteTo(w io.Writer) (n int64, err error) + func (b *Bitmap) Xor(other *Bitmap) *Bitmap + type Container struct + func NewContainer() *Container + func NewContainerWithPooling(poolingConfig ContainerPoolingConfiguration) *Container + func (c *Container) Clone() *Container + func (c *Container) Contains(v uint16) bool + func (c *Container) Mapped() bool + func (c *Container) N() int32 + func (c *Container) Repair() + func (c *Container) Reset() + func (c *Container) Update(containerType byte, n int32, mapped bool) + func (c *Container) WriteTo(w io.Writer) (n int64, err error) + type ContainerIterator interface + Next func() bool + Value func() (uint64, *Container) + type ContainerPoolingConfiguration struct + AllocateBitmap bool + MaxArraySize int + MaxCapacity int + MaxKeysAndContainersSliceLength int + MaxRunsSize int + func NewDefaultContainerPoolingConfiguration(maxCapacity int) ContainerPoolingConfiguration + type Containers interface + Clone func() Containers + Count func() uint64 + Get func(key uint64) *Container + GetOrCreate func(key uint64) *Container + Iterator func(key uint64) (citer ContainerIterator, found bool) + Last func() (key uint64, c *Container) + Put func(key uint64, c *Container) + PutContainerValues func(key uint64, containerType byte, n int, mapped bool) + Remove func(key uint64) + Repair func() + Reset func() + Size func() int + type ErrorList []error + func (a *ErrorList) Append(err error) + func (a *ErrorList) AppendWithPrefix(err error, prefix string) + func (a ErrorList) Error() string + type Iterator struct + func (itr *Iterator) Next() (v uint64, eof bool) + func (itr *Iterator) Reset(b *Bitmap) + func (itr *Iterator) Seek(seek uint64)