Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RefcounterUint32 ¶
type RefcounterUint32 struct {
// contains filtered or unexported fields
}
RefcounterUint32 contains a list of items to keep refcounts on
func NewRefCounterUint32 ¶
func NewRefCounterUint32() *RefcounterUint32
NewRefCounterUint32 creates a list of items to keep refcounts on
func (*RefcounterUint32) Add ¶
func (r *RefcounterUint32) Add(value uint32)
Add adds new item to the list of items or add the ref count of an existing one.
func (*RefcounterUint32) IsPresent ¶
func (r *RefcounterUint32) IsPresent(value uint32) bool
IsPresent checks if a given value is part of the known items
func (*RefcounterUint32) Remove ¶
func (r *RefcounterUint32) Remove(value uint32)
Remove a value from the list of items or decrement the ref count of an existing one.
Click to show internal directories.
Click to hide internal directories.