gotools/gopls/internal/util/persistent/map_test.go

type mapEntry

type validatedMap

func TestSimpleMap(t *testing.T) {}

func TestRandomMap(t *testing.T) {}

func entrySet(m map[mapEntry]int) map[mapEntry]struct{}

func TestUpdate(t *testing.T) {}

func validateRef(t *testing.T, maps ...*validatedMap) {}

func dfsRef(node *mapNode, countByEntry map[mapEntry]int32, nodesByEntry map[mapEntry]map[*mapNode]struct{}

func dumpMap(t *testing.T, prefix string, n *mapNode) {}

func (vm *validatedMap) validate(t *testing.T) {}

func validateNode(t *testing.T, node *mapNode) {}

func (vm *validatedMap) setAll(t *testing.T, other *validatedMap) {}

func (vm *validatedMap) set(t *testing.T, key, value int) {}

func (vm *validatedMap) remove(t *testing.T, key int) {}

func (vm *validatedMap) clone() *validatedMap {}

func (vm *validatedMap) destroy() {}

func assertSameMap(t *testing.T, map1, map2 any) {}