bitmap

package
v1.12.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 5, 2026 License: MIT, Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BitVec

type BitVec struct {
	N uintptr
	B unsafe.Pointer
}

func (BitVec) Bit

func (self BitVec) Bit(i uintptr) byte

Bit returns the result.

func (BitVec) String

func (self BitVec) String() string

String returns the string representation.

type Bitmap

type Bitmap struct {
	N int
	B []byte
}

func (*Bitmap) Append

func (self *Bitmap) Append(bv int)

Append updates or inserts a value.

func (*Bitmap) AppendMany

func (self *Bitmap) AppendMany(n int, bv int)

AppendMany updates or inserts a value.

func (*Bitmap) Set

func (self *Bitmap) Set(i int, bv int)

Set updates or inserts a value.

type StackMap

type StackMap struct {
	N int32
	L int32
	B [1]byte
}

func (*StackMap) Get

func (self *StackMap) Get(i int32) BitVec

Get returns the value.

func (*StackMap) MarshalBinary

func (self *StackMap) MarshalBinary() ([]byte, error)

MarshalBinary encodes the value.

func (*StackMap) Pin

func (self *StackMap) Pin() uintptr

Pin returns the result.

func (*StackMap) String

func (self *StackMap) String() string

String returns the string representation.

type StackMapBuilder

type StackMapBuilder struct {
	// contains filtered or unexported fields
}

func (*StackMapBuilder) AddField

func (self *StackMapBuilder) AddField(ptr bool)

AddField updates or inserts a value.

func (*StackMapBuilder) AddFields

func (self *StackMapBuilder) AddFields(n int, ptr bool)

AddFields updates or inserts a value.

func (*StackMapBuilder) Build

func (self *StackMapBuilder) Build() (p *StackMap)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL