- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 65 for tn (0.02 sec)
-
src/internal/types/testdata/fixedbugs/issue60946.go
// license that can be found in the LICENSE file. package p type Tn interface{ m() } type T1 struct{} type T2 struct{} func (*T1) m() {} func (*T2) m() {} func g[P any](...P) {} func _() { var t interface{ m() } var tn Tn var t1 *T1 var t2 *T2 // these are ok (interface types only) g(t, t) g(t, tn) g(tn, t) g(tn, tn) // these are not ok (interface and non-interface types)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 26 18:33:36 UTC 2023 - 836 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-type-util.h.pump
// support directly. struct None {}; // The following family of struct and struct templates are used to // represent type lists. In particular, TypesN<T1, T2, ..., TN> // represents a type list with N types (T1, T2, ..., and TN) in it. // Except for Types0, every struct in the family has two member types: // Head for the first type in the list, and Tail for the rest of the // list. // The empty type list.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 9.1K bytes - Viewed (0) -
src/debug/plan9obj/file_test.go
if !reflect.DeepEqual(have, want) { t.Errorf("open %s, section %d:\n\thave %#v\n\twant %#v\n", tt.file, i, have, want) } } tn := len(tt.sections) fn := len(f.Sections) if tn != fn { t.Errorf("open %s: len(Sections) = %d, want %d", tt.file, fn, tn) } } } func TestOpenFailure(t *testing.T) { filename := "file.go" // not a Plan 9 a.out file _, err := Open(filename) // don't crash
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 01 23:34:33 UTC 2016 - 1.7K bytes - Viewed (0) -
testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-type-util.h.pump
// support directly. struct None {}; // The following family of struct and struct templates are used to // represent type lists. In particular, TypesN<T1, T2, ..., TN> // represents a type list with N types (T1, T2, ..., and TN) in it. // Except for Types0, every struct in the family has two member types: // Head for the first type in the list, and Tail for the rest of the // list. // The empty type list.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 9.1K bytes - Viewed (0) -
staging/src/k8s.io/cli-runtime/pkg/resource/query_param_verifier_v3_test.go
}, queryParam: QueryParamFieldValidation, expectedSupports: false, }, } root := openapi3.NewRoot(cached.NewClient(openapitest.NewEmbeddedFileClient())) for tn, tc := range tests { t.Run(tn, func(t *testing.T) { verifier := &queryParamVerifierV3{ finder: NewCRDFinder(func() ([]schema.GroupKind, error) { return tc.crds, nil }), root: root,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 12 04:44:45 UTC 2023 - 5.9K bytes - Viewed (0) -
test/fixedbugs/bug336.go
_ = &T9{&T4{}} _ = &T12{&T15{}, &T13{}, &T16{}} var ( tn struct{ Next *T11 } tz struct{ z *struct{ Next *T11 } } tpz *struct{ z *struct{ Next *T11 } } tppz **struct{ z *struct{ Next *T11 } } tpppz ***struct{ z *struct{ Next *T11 } } ty struct { y ***struct{ z *struct{ Next *T11 } } } ) tn.Next = &T11{} tz.z = &tn tpz = &tz tppz = &tpz tpppz = &tppz ty.y = tpppz
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 1.2K bytes - Viewed (0) -
src/internal/xcoff/ar_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 06 22:19:22 UTC 2019 - 1.7K bytes - Viewed (0) -
src/internal/xcoff/file_test.go
if !reflect.DeepEqual(have, want) { t.Errorf("open %s, section %d:\n\thave %#v\n\twant %#v\n", tt.file, i, have, want) } } tn := len(tt.sections) fn := len(f.Sections) if tn != fn { t.Errorf("open %s: len(Sections) = %d, want %d", tt.file, fn, tn) } tl := tt.needed fl, err := f.ImportedLibraries() if err != nil { t.Error(err) } if !reflect.DeepEqual(tl, fl) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 10 18:52:31 UTC 2018 - 3K bytes - Viewed (0) -
src/debug/macho/file_test.go
} default: t.Errorf("open %s, command %d: unknown load command\n\thave %#v\n\twant %#v\n", tt.file, i, l, want) } } tn := len(tt.loads) fn := len(f.Loads) if tn != fn { t.Errorf("open %s: len(Loads) = %d, want %d", tt.file, fn, tn) } } if tt.sections != nil { for i, sh := range f.Sections { if i >= len(tt.sections) { break }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 12.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/typeparams/termlist.go
// Code generated by copytermlist.go DO NOT EDIT. package typeparams import ( "bytes" "go/types" ) // A termlist represents the type set represented by the union // t1 ∪ y2 ∪ ... tn of the type sets of the terms t1 to tn. // A termlist is in normal form if all terms are disjoint. // termlist operations don't require the operands to be in // normal form. type termlist []*term
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 21 21:08:44 UTC 2023 - 3.8K bytes - Viewed (0)