Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for t7 (0.03 sec)

  1. src/internal/types/testdata/check/cycles5a.go

    // more esoteric cases
    
    type (
    	T1 interface { T2 }
    	T2 /* ERROR "invalid recursive type" */ T2
    )
    
    type (
    	T3 interface { T4 }
    	T4 /* ERROR "invalid recursive type" */ T5
    	T5 = T6
    	T6 = T7
    	T7 = T4
    )
    
    
    // arbitrary code may appear inside an interface
    
    const n = unsafe.Sizeof(func(){})
    
    type I interface {
    	m([unsafe.Sizeof(func() { I.m(nil, [n]byte{}) })]byte)
    }
    
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 05 18:13:11 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. src/internal/types/testdata/check/cycles0.go

    package cycles
    
    import "unsafe"
    
    type (
    	T0 int
    	T1 /* ERROR "invalid recursive type: T1 refers to itself" */ T1
    	T2 *T2
    
    	T3 /* ERROR "invalid recursive type" */ T4
    	T4 T5
    	T5 T3
    
    	T6 T7
    	T7 *T8
    	T8 T6
    
    	// arrays
    	A0 /* ERROR "invalid recursive type" */ [10]A0
    	A1 [10]*A1
    
    	A2 /* ERROR "invalid recursive type" */ [10]A3
    	A3 [10]A4
    	A4 A2
    
    	A5 [10]A6
    	A6 *A5
    
    	// slices
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:25 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  3. src/go/internal/gcimporter/testdata/exports.go

    	C8          = 42
    	C9  int     = 42
    	C10 float64 = 42
    )
    
    type (
    	T1  int
    	T2  [10]int
    	T3  []int
    	T4  *int
    	T5  chan int
    	T6a chan<- int
    	T6b chan (<-chan int)
    	T6c chan<- (chan int)
    	T7  <-chan *ast.File
    	T8  struct{}
    	T9  struct {
    		a    int
    		b, c float32
    		d    []string `go:"tag"`
    	}
    	T10 struct {
    		T8
    		T9
    		_ *T10
    	}
    	T11 map[int]string
    	T12 any
    	T13 interface {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/sccp_test.go

    			Valu("t5", OpMul64, c.config.Types.Int64, 0, nil, "t4", "v2"),
    			Valu("t6", OpMod64, c.config.Types.Int64, 0, nil, "t5", "v2"),
    			Valu("t7", OpAnd64, c.config.Types.Int64, 0, nil, "t6", "v2"),
    			Valu("t8", OpOr64, c.config.Types.Int64, 0, nil, "t7", "v2"),
    			Valu("t9", OpXor64, c.config.Types.Int64, 0, nil, "t8", "v2"),
    			Valu("t10", OpNeg64, c.config.Types.Int64, 0, nil, "t9"),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 21:01:50 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  5. test/fixedbugs/issue4813.go

    	t1 = T[i]
    	t2 = T[f]
    	t3 = T[f2] // ERROR "truncated|must be integer"
    	t4 = T[c]
    	t5 = T[c2] // ERROR "truncated|must be integer"
    	t6 = T[vf] // ERROR "non-integer|must be integer"
    	t7 = T[vc] // ERROR "non-integer|must be integer"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 13 01:18:12 UTC 2013
    - 1.1K bytes
    - Viewed (0)
  6. src/internal/types/testdata/check/decls1.go

    	t1 int = i + j
    	t2 int = i /* ERROR "mismatched types" */ + x
    	t3 int = c /* ERRORx `cannot use .* variable declaration` */ + d
    	t4 string = s + t
    	t5 string = s /* ERROR "invalid operation" */ / t
    	t6 byte = array[t1]
    	t7 byte = array[x /* ERROR "must be integer" */]
    	t8 *int = & /* ERRORx `cannot use .* variable declaration` */ a
    	t10 *int = &42 /* ERROR "cannot take address" */
    	t11 *complex64 = &v
    	t12 complex64 = -(u + *t11) / *&v
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 05 18:13:11 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. src/crypto/tls/testdata/Server-TLSv13-ClientAuthRequestedNotGiven

    00000000  17 03 03 00 8b 69 2e 81  c4 4d 43 a6 1f 96 b7 8e  |.....i...MC.....|
    00000010  87 4a 9b be 48 3c 31 18  98 f4 8c 04 24 b2 52 96  |.J..H<1.....$.R.|
    00000020  04 b5 12 7c 54 37 83 6d  51 42 c6 52 f4 a5 bc d3  |...|T7.mQB.R....|
    00000030  d1 c8 29 ab 4f e4 02 da  74 ec 8e 13 ad 03 f3 e0  |..).O...t.......|
    00000040  7f 44 58 6b c7 28 a5 6a  75 30 b8 b1 31 38 fe ba  |.DXk.(.ju0..18..|
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 25 00:14:50 UTC 2023
    - 7.7K bytes
    - Viewed (0)
Back to top