Lines Matching defs:Mutable
17 type Mutable struct { struct
18 root *treapNode
19 count int
23 totalSize uint64
27 func (t *Mutable) Len() int {
35 func (t *Mutable) Size() uint64 {
42 func (t *Mutable) get(key []byte) (*treapNode, *treapNode) {
68 func (t *Mutable) Has(key []byte) bool {
77 func (t *Mutable) Get(key []byte) []byte {
89 func (t *Mutable) relinkGrandparent(node, parent, grandparent *treapNode) {
106 func (t *Mutable) Put(key, value []byte) {
179 func (t *Mutable) Delete(key []byte) {
245 func (t *Mutable) ForEach(fn func(k, v []byte) bool) {
268 func (t *Mutable) Reset() {