Documentation ¶
Index ¶
- type Bitmap
- func (this *Bitmap) Count() uint64
- func (this *Bitmap) GetData() []uint64
- func (this *Bitmap) IsEmpty() bool
- func (this *Bitmap) IsFully() bool
- func (this *Bitmap) Reset(num uint64)
- func (this *Bitmap) Set(num uint64)
- func (this *Bitmap) Size() uint64
- func (this *Bitmap) String() string
- func (this *Bitmap) Test(num uint64) bool
- type RollingWaitGroup
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bitmap ¶ added in v0.2.0
type Bitmap struct {
// contains filtered or unexported fields
}
Bitmap 首字母小写 只能调用 工厂函数 创建
type RollingWaitGroup ¶ added in v0.6.1
type RollingWaitGroup struct {
// contains filtered or unexported fields
}
RollingWaitGroup 滑动窗口n的WaitGroup
func NewRollingWaitGroup ¶ added in v0.6.1
func NewRollingWaitGroup(n int) *RollingWaitGroup
NewRollingWaitGroup initialization RollingWaitGroup struct
func (*RollingWaitGroup) Add ¶ added in v0.6.1
func (g *RollingWaitGroup) Add(delta int)
func (*RollingWaitGroup) Done ¶ added in v0.6.1
func (g *RollingWaitGroup) Done()
func (*RollingWaitGroup) Wait ¶ added in v0.6.1
func (g *RollingWaitGroup) Wait()
Click to show internal directories.
Click to hide internal directories.