Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for T18 (0.02 sec)

  1. test/fixedbugs/bug336.go

    		}
    	}
    }
    
    type T11 T10
    
    type T12 struct {
    	F1 *T15
    	F2 *T13
    	F3 *T16
    }
    
    type T13 T14
    type T14 T15
    type T15 T16
    type T16 T17
    type T17 T12
    
    // issue 1672
    type T18 *[10]T19
    type T19 T18
    
    func main() {
    	_ = &T1{&T2{}}
    	_ = &T2{&T2{}}
    	_ = &T3{&T4{}}
    	_ = &T4{&T4{}}
    	_ = &T5{&T4{}}
    	_ = &T6{&T4{}}
    	_ = &T7{&T4{}}
    	_ = &T8{&T4{}}
    	_ = &T9{&T4{}}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 1.2K bytes
    - Viewed (0)
  2. src/internal/types/testdata/check/unions.go

    // Disallow them for now.
    
    package p
    
    type t int
    
    type (
    	t00 t; t01 t; t02 t; t03 t; t04 t; t05 t; t06 t; t07 t; t08 t; t09 t
    	t10 t; t11 t; t12 t; t13 t; t14 t; t15 t; t16 t; t17 t; t18 t; t19 t
    	t20 t; t21 t; t22 t; t23 t; t24 t; t25 t; t26 t; t27 t; t28 t; t29 t
    	t30 t; t31 t; t32 t; t33 t; t34 t; t35 t; t36 t; t37 t; t38 t; t39 t
    	t40 t; t41 t; t42 t; t43 t; t44 t; t45 t; t46 t; t47 t; t48 t; t49 t
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:25 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  3. src/internal/types/testdata/fixedbugs/issue6977.go

            // T14 interface { T13; T13 }
            // T15 interface { T14; T14 }
            // T16 interface { T15; T15 }
            // T17 interface { T16; T16 }
            // T18 interface { T17; T17 }
            // T19 interface { T18; T18 }
    
            // T20 interface { T19; T19 }
            // T21 interface { T20; T20 }
            // T22 interface { T21; T21 }
            // T23 interface { T22; T22 }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:04:33 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. src/go/internal/gcimporter/testdata/exports.go

    	}
    	T11 map[int]string
    	T12 any
    	T13 interface {
    		m1()
    		m2(int) float32
    	}
    	T14 interface {
    		T12
    		T13
    		m3(x ...struct{}) []T9
    	}
    	T15 func()
    	T16 func(int)
    	T17 func(x int)
    	T18 func() float32
    	T19 func() (x float32)
    	T20 func(...any)
    	T21 struct{ next *T21 }
    	T22 struct{ link *T23 }
    	T23 struct{ link *T22 }
    	T24 *T24
    	T25 *T26
    	T26 *T27
    	T27 *T25
    	T28 func(T28) T28
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  5. test/writebarrier.go

    	// barrier requires both to have barriers.
    	x.f = f17                      // ERROR "write barrier"
    	x.f = func(y *T17) { *y = *x } // ERROR "write barrier"
    }
    
    type T18 struct {
    	a []int
    	s string
    }
    
    func f18(p *T18, x *[]int) {
    	p.a = p.a[:5]    // no barrier
    	*x = (*x)[0:5]   // no barrier
    	p.a = p.a[3:5]   // ERROR "write barrier"
    	p.a = p.a[1:2:3] // ERROR "write barrier"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 23 19:46:36 UTC 2021
    - 5.9K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/sccp_test.go

    			Valu("t15", OpCeil, c.config.Types.Float64, 0, nil, "t14"),
    			Valu("t16", OpTrunc, c.config.Types.Float64, 0, nil, "t15"),
    			Valu("t17", OpRoundToEven, c.config.Types.Float64, 0, nil, "t16"),
    			Valu("t18", OpTrunc64to32, c.config.Types.Int64, 0, nil, "t12"),
    			Valu("t19", OpCvt64Fto64, c.config.Types.Float64, 0, nil, "t17"),
    			Valu("t20", OpCtz64, c.config.Types.Int64, 0, nil, "v2"),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 21:01:50 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  7. src/internal/types/testdata/check/decls1.go

    	t12 complex64 = -(u + *t11) / *&v
    	t13 int = a /* ERROR "shifted operand" */ << d
    	t14 int = i << j
    	t15 math /* ERROR "math is not a type" */
    	t16 math.xxx /* ERROR "undefined" */
    	t17 math /* ERROR "not a type" */ .Pi
    	t18 float64 = math.Pi * 10.0
    	t19 int = t1 /* ERROR "cannot call" */ ()
    	t20 int = f0 /* ERROR "no value" */ ()
    	t21 int = a /* ERRORx `cannot use .* variable declaration` */
    )
    
    // Various more complex expressions
    var (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 05 18:13:11 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top