Home | History | Annotate | Download | only in gc

Lines Matching defs:Int

14 var x int
20 if got := i.(int); got != 5 {
30 if got := i.(int); got != 5 {
43 func e2int3(i interface{}) int {
45 return i.(int)
56 func e2int4(i interface{}, p *int) int {
58 return i.(int)
61 type Int int
63 var y Int
69 func (i Int) foo() {
73 a := Int(5)
76 if got := i.(Int); got != 5 {
77 t.Errorf("wanted 5, got %d\n", int(got))
82 a := Int(5)
86 if got := i.(Int); got != 5 {
87 t.Errorf("wanted 5, got %d\n", int(got))
94 t.Errorf("wanted 5, got %d\n", int(got))
99 func i2Int3(i I) Int {
101 return i.(Int)
105 a := Int(5)
107 t.Errorf("wanted 5, got %d\n", int(got))
112 func i2Int4(i I, p *Int) Int {
114 return i.(Int)
126 func i2int(i interface{}) int {
127 return i.(int)