Versions in this module Expand all Collapse all v0 v0.3.1 Feb 18, 2021 Changes in this version + var AllDatas = regexp.MustCompile(`(\d+)`) + var BitMapBadExpression = regexp.MustCompile(...) + var HexMap = map[byte]int + func CbmLen(cbm string) int + func GenCPUResString(mapList []string, bitLen int) (string, error) + func GenerateBitMap(coreids []string, num int) (string, error) + func IsZeroHexString(s string) bool + func SetField(obj interface{}, name string, value interface{}) error + func StringInSlice(val string, list []string) bool + type Bitmap struct + Bits []int + Len int + func NewBitmap(value ...interface{}) (*Bitmap, error) + func (b *Bitmap) And(m *Bitmap) *Bitmap + func (b *Bitmap) Axor(m *Bitmap) *Bitmap + func (b *Bitmap) GetConnectiveBits(ways, offset uint32, fromLow bool) *Bitmap + func (b *Bitmap) IsEmpty() bool + func (b *Bitmap) MaxConnectiveBits() *Bitmap + func (b *Bitmap) Maximum() uint32 + func (b *Bitmap) Or(m *Bitmap) *Bitmap + func (b *Bitmap) ToBinString() string + func (b *Bitmap) ToBinStrings() []string + func (b *Bitmap) ToHumanString() string + func (b *Bitmap) ToString() string + func (b *Bitmap) Xor(m *Bitmap) *Bitmap