go/src/sync/map_reference_test.go

type mapInterface

var _

var _

type RWMutexMap

func (m *RWMutexMap) Load(key any) (value any, ok bool) {}

func (m *RWMutexMap) Store(key, value any) {}

func (m *RWMutexMap) LoadOrStore(key, value any) (actual any, loaded bool) {}

func (m *RWMutexMap) Swap(key, value any) (previous any, loaded bool) {}

func (m *RWMutexMap) LoadAndDelete(key any) (value any, loaded bool) {}

func (m *RWMutexMap) Delete(key any) {}

func (m *RWMutexMap) CompareAndSwap(key, old, new any) (swapped bool) {}

func (m *RWMutexMap) CompareAndDelete(key, old any) (deleted bool) {}

func (m *RWMutexMap) Range(f func(key, value any) (shouldContinue bool)) {}

func (m *RWMutexMap) Clear() {}

type DeepCopyMap

func (m *DeepCopyMap) Load(key any) (value any, ok bool) {}

func (m *DeepCopyMap) Store(key, value any) {}

func (m *DeepCopyMap) LoadOrStore(key, value any) (actual any, loaded bool) {}

func (m *DeepCopyMap) Swap(key, value any) (previous any, loaded bool) {}

func (m *DeepCopyMap) LoadAndDelete(key any) (value any, loaded bool) {}

func (m *DeepCopyMap) Delete(key any) {}

func (m *DeepCopyMap) CompareAndSwap(key, old, new any) (swapped bool) {}

func (m *DeepCopyMap) CompareAndDelete(key, old any) (deleted bool) {}

func (m *DeepCopyMap) Range(f func(key, value any) (shouldContinue bool)) {}

func (m *DeepCopyMap) dirty() map[any]any {}

func (m *DeepCopyMap) Clear() {}