Documentation
¶
Overview ¶
* @Author: zengzh * @Date: 2023-04-23 19:48:01 * @Last Modified by: zengzh * @Last Modified time: 2023-04-23 19:56:55
* @Author: zengzh * @Date: 2023-04-23 19:48:08 * @Last Modified by: zengzh * @Last Modified time: 2023-04-23 19:48:08
Index ¶
- func SipHash(v interface{}) uint64
- type Dict
- func (d *Dict) Cap() uint64
- func (d *Dict) Delete(key interface{})
- func (d *Dict) Len() uint64
- func (d *Dict) Load(key interface{}) (value interface{}, ok bool)
- func (d *Dict) Range(fn func(key, value interface{}) bool)
- func (d *Dict) RangeSafely(fn func(key, value interface{}) bool)
- func (d *Dict) RehashForAWhile(duration time.Duration) int64
- func (d *Dict) Resize() error
- func (d *Dict) Store(key, value interface{})
- func (d *Dict) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Dict ¶
type Dict struct {
// contains filtered or unexported fields
}
func (*Dict) RangeSafely ¶
RangeSafely range all key-value pairs safely
func (*Dict) RehashForAWhile ¶
RehashForAWhile rehash for a while
Click to show internal directories.
Click to hide internal directories.