Documentation ¶
Index ¶
- type Counter
- type U128IDMap
- func (m *U128IDMap) AddOrGet(key0, key1 uint64, value uint32, overwrite bool) (uint32, bool)
- func (m *U128IDMap) AddOrGetWithSlice(key []byte, _ uint32, value uint32, overwrite bool) (uint32, bool)
- func (m *U128IDMap) Clear()
- func (m *U128IDMap) Close() error
- func (m *U128IDMap) Get(key0, key1 uint64) (uint32, bool)
- func (m *U128IDMap) GetCollisionChain() []byte
- func (m *U128IDMap) GetCounter() interface{}
- func (m *U128IDMap) GetWithSlice(key []byte, _ uint32) (uint32, bool)
- func (m *U128IDMap) ID() string
- func (m *U128IDMap) KeySize() int
- func (m *U128IDMap) NoStats() *U128IDMap
- func (m *U128IDMap) SetCollisionChainDebugThreshold(t int)
- func (m *U128IDMap) Size() int
- func (m *U128IDMap) Width() int
- type UBigIDMap
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type U128IDMap ¶
注意:不是线程安全的
func NewU128IDMap ¶
func NewU128IDMap(module string, hashSlots uint32, opts ...stats.OptionStatTags) *U128IDMap
func NewU128IDMapNoStats ¶
func (*U128IDMap) AddOrGetWithSlice ¶
func (*U128IDMap) GetCollisionChain ¶
func (*U128IDMap) GetCounter ¶
func (m *U128IDMap) GetCounter() interface{}
func (*U128IDMap) GetWithSlice ¶
func (*U128IDMap) SetCollisionChainDebugThreshold ¶
Click to show internal directories.
Click to hide internal directories.