Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 37 for t7 (0.02 sec)

  1. test/map1.go

    	_ map[T3]v    // ERROR "invalid map key"
    	_ map[T4]v    // ERROR "invalid map key"
    	_ map[T5]v
    	_ map[T6]v
    	_ map[T7]v
    	_ map[T8]v
    )
    
    type T1 []int
    type T2 struct { F T1 }
    type T3 []T4
    type T4 struct { F T3 }
    
    type T5 *int
    type T6 struct { F T5 }
    type T7 *T4
    type T8 struct { F *T7 }
    
    func main() {
    	m := make(map[int]int)
    	delete()        // ERROR "missing arguments|not enough arguments"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 14 20:13:36 UTC 2020
    - 1.5K bytes
    - Viewed (0)
  2. src/internal/types/testdata/fixedbugs/issue6977.go

            T2 interface { T1; T1 }
            T3 interface { T2; T2 }
            T4 interface { T3; T3 }
            T5 interface { T4; T4 }
            T6 interface { T5; T5 }
            T7 interface { T6; T6 }
            T8 interface { T7; T7 }
            T9 interface { T8; T8 }
    
            // TODO(gri) Enable this longer test once we have found a solution
            //           for the incorrect optimization in the validType check
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:04:33 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. src/internal/types/testdata/fixedbugs/issue28251.go

    type (
            T4 = ((*(T5)))
            T5 = T
    )
    
    func (T4) m4() {}
    func _() { (T{}).m4 /* ERROR "cannot call pointer method m4 on T" */ () }
    func _() { (&T{}).m4() }
    
    type (
            T6 = (((T7)))
            T7 = (*(T8))
            T8 = T
    )
    
    func (T6) m6() {}
    func _() { (T{}).m6 /* ERROR "cannot call pointer method m6 on T" */ () }
    func _() { (&T{}).m6() }
    
    type (
            T9 = *T10
            T10 = *T11
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 17:24:42 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  4. src/internal/types/testdata/fixedbugs/issue39938.go

            _ E3[T3]
    }
    
    type T4 /* ERROR "invalid recursive type" */ [10]E5[T4]
    
    type T5 struct {
    	_ E0[E2[T5]]
    }
    
    type T6 struct {
    	_ E0[E2[E0[E1[E2[[10]T6]]]]]
    }
    
    type T7 struct {
    	_ E0[[10]E2[E0[E2[E2[T7]]]]]
    }
    
    type T8 struct {
    	_ E0[[]E2[E0[E2[E2[T8]]]]]
    }
    
    type T9 /* ERROR "invalid recursive type" */ [10]E2[E5[E2[T9]]]
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:25 UTC 2023
    - 948 bytes
    - Viewed (0)
  5. src/internal/types/testdata/check/cycles5.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.2K bytes
    - Viewed (0)
  6. src/internal/types/testdata/check/init2.go

    type E6p int
    func (*E6p) m() int { _ = x6p; return 0 }
    var x6p /* ERROR "initialization cycle" */ = (*T6p).m(nil)
    
    // cycles through method values
    
    type T7 int
    func (T7) m() int { _ = x7; return 0 }
    var x7 /* ERROR "initialization cycle" */ = T7(0).m
    
    type T8 int
    func (T8) m() int { _ = x8; return 0 }
    var x8 /* ERROR "initialization cycle" */ = T8(0).m()
    
    type T7p int
    func (*T7p) m() int { _ = x7p; return 0 }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:25 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  7. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-tuple.h

        const T3& f3, const T4& f4, const T5& f5, const T6& f6, const T7& f7) {
      return GTEST_8_TUPLE_(T)(f0, f1, f2, f3, f4, f5, f6, f7);
    }
    
    template <GTEST_9_TYPENAMES_(T)>
    inline GTEST_9_TUPLE_(T) make_tuple(const T0& f0, const T1& f1, const T2& f2,
        const T3& f3, const T4& f4, const T5& f5, const T6& f6, const T7& f7,
        const T8& f8) {
      return GTEST_9_TUPLE_(T)(f0, f1, f2, f3, f4, f5, f6, f7, f8);
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  8. 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)
  9. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-tuple.h

        const T3& f3, const T4& f4, const T5& f5, const T6& f6, const T7& f7) {
      return GTEST_8_TUPLE_(T)(f0, f1, f2, f3, f4, f5, f6, f7);
    }
    
    template <GTEST_9_TYPENAMES_(T)>
    inline GTEST_9_TUPLE_(T) make_tuple(const T0& f0, const T1& f1, const T2& f2,
        const T3& f3, const T4& f4, const T5& f5, const T6& f6, const T7& f7,
        const T8& f8) {
      return GTEST_9_TUPLE_(T)(f0, f1, f2, f3, f4, f5, f6, f7, f8);
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 27.6K bytes
    - Viewed (0)
  10. 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)
Back to top