Documentation ¶
Index ¶
Constants ¶
View Source
const IDBitSize = uint8(32)
Variables ¶
This section is empty.
Functions ¶
func IsLeftBitSet ¶
Types ¶
type IDSet ¶
type IDSet struct {
// contains filtered or unexported fields
}
type IDSetBuilder ¶
type IDSetBuilder struct {
// contains filtered or unexported fields
}
func (*IDSetBuilder) AddId ¶
func (s *IDSetBuilder) AddId(id tree.ID)
func (*IDSetBuilder) AddRange ¶
func (s *IDSetBuilder) AddRange(r tree.Range)
func (*IDSetBuilder) AddSet ¶
func (s *IDSetBuilder) AddSet(b *IDSet)
AddSet adds all IPs in b to s.
func (*IDSetBuilder) IPSet ¶
func (s *IDSetBuilder) IPSet() (*IDSet, error)
func (*IDSetBuilder) RemoveId ¶
func (s *IDSetBuilder) RemoveId(id tree.ID)
RemoveId removes all Ids in p from s.
func (*IDSetBuilder) RemoveRange ¶
func (s *IDSetBuilder) RemoveRange(r tree.Range)
RemoveRange removes all IPs in r from s.
Click to show internal directories.
Click to hide internal directories.