package bitvec
import "cmd/compile/internal/bitvec"
Index ¶
- type BitVec
- func New(n int32) BitVec
- func (dst BitVec) And(src1, src2 BitVec)
- func (dst BitVec) AndNot(src1, src2 BitVec)
- func (bv BitVec) Clear()
- func (dst BitVec) Copy(src BitVec)
- func (bv BitVec) Count() int
- func (bv1 BitVec) Eq(bv2 BitVec) bool
- func (bv BitVec) Get(i int32) bool
- func (bv BitVec) IsEmpty() bool
- func (bv BitVec) Next(i int32) int32
- func (bv BitVec) Not()
- func (dst BitVec) Or(src1, src2 BitVec)
- func (bv BitVec) Set(i int32)
- func (bv BitVec) String() string
- func (bv BitVec) Unset(i int32)
- type Bulk
Types ¶
type BitVec ¶
A BitVec is a bit vector.
func New ¶
func (BitVec) And ¶
intersection
func (BitVec) AndNot ¶
difference
func (BitVec) Clear ¶
func (bv BitVec) Clear()
func (BitVec) Copy ¶
func (BitVec) Count ¶
func (BitVec) Eq ¶
func (BitVec) Get ¶
func (BitVec) IsEmpty ¶
func (BitVec) Next ¶
bvnext returns the smallest index >= i for which bvget(bv, i) == 1. If there is no such index, bvnext returns -1.
func (BitVec) Not ¶
func (bv BitVec) Not()
func (BitVec) Or ¶
union
func (BitVec) Set ¶
func (BitVec) String ¶
func (BitVec) Unset ¶
type Bulk ¶
type Bulk struct {
// contains filtered or unexported fields
}
func NewBulk ¶
func (*Bulk) Next ¶
Source Files ¶
- Version
- v1.24.0 (latest)
- Published
- Feb 10, 2025
- Platform
- linux/amd64
- Imports
- 3 packages
- Last checked
- 17 minutes ago –
Tools for package owners.