go/src/internal/reflectlite/all_test.go

func ToValue(v Value) reflect.Value {}

func TypeString(t Type) string {}

type integer

type T

type pair

func assert(t *testing.T, s, want string) {}

var typeTests

var valueTests

func testType(t *testing.T, i int, typ Type, want string) {}

func testReflectType(t *testing.T, i int, typ Type, want string) {}

func TestTypes(t *testing.T) {}

func TestSetValue(t *testing.T) {}

func TestCanSetField(t *testing.T) {}

var _i

var valueToStringTests

func TestValueToString(t *testing.T) {}

func TestPtrSetNil(t *testing.T) {}

func TestMapSetNil(t *testing.T) {}

func TestAll(t *testing.T) {}

func TestInterfaceValue(t *testing.T) {}

func TestFunctionValue(t *testing.T) {}

var appendTests

func sameInts(x, y []int) bool {}

func TestBigUnnamedStruct(t *testing.T) {}

type big

func TestBigStruct(t *testing.T) {}

type Basic

type NotBasic

type DeepEqualTest

var fn1

var fn2

var fn3

type self

type Loop

type Loopy

var (
	loop1
	loop2
)

var (
	loopy1
	loopy2
)

func init() {}

var typeOfTests

func TestTypeOf(t *testing.T) {}

func Nil(a any, t *testing.T) {}

func NotNil(a any, t *testing.T) {}

func TestIsNil(t *testing.T) {}

// Indirect returns the value that v points to.
// If v is a nil pointer, Indirect returns a zero Value.
// If v is not a pointer, Indirect returns v.
func Indirect(v Value) Value {}

func TestNilPtrValueSub(t *testing.T) {}

type Point

// This will be index 0.
func (p Point) AnotherMethod(scale int) int {}

// This will be index 1.
func (p Point) Dist(scale int) int {}

// This will be index 2.
func (p Point) GCMethod(k int) int {}

// This will be index 3.
func (p Point) NoArgs() {}

// This will be index 4.
func (p Point) TotalDist(points ...Point) int {}

type D1

type D2

func TestImportPath(t *testing.T) {}

func noAlloc(t *testing.T, n int, f func(int)) {}

func TestAllocations(t *testing.T) {}

func TestSetPanic(t *testing.T) {}

func shouldPanic(f func()) {}

type S

func TestBigZero(t *testing.T) {}

func TestInvalid(t *testing.T) {}

type TheNameOfThisTypeIsExactly255BytesLongSoWhenTheCompilerPrependsTheReflectTestPackageNameAndExtraStarTheLinkerRuntimeAndReflectPackagesWillHaveToCorrectlyDecodeTheSecondLengthByte0123456789_0123456789_0123456789_0123456789_0123456789_012345678

type nameTest

type A

type B

var nameTests

func TestNames(t *testing.T) {}

// TestUnaddressableField tests that the reflect package will not allow
// a type from another package to be used as a named type with an
// unexported field.
//
// This ensures that unexported fields cannot be modified by other packages.
func TestUnaddressableField(t *testing.T) {}

type Tint

type Tint2

type Talias1

type Talias2

func TestAliasNames(t *testing.T) {}