- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for Fooer (0.04 sec)
-
src/internal/types/testdata/fixedbugs/issue48974.go
// license that can be found in the LICENSE file. package p type Fooer interface { Foo() } type Fooable[F /* ERROR "instantiation cycle" */ Fooer] struct { ptr F } func (f *Fooable[F]) Adapter() *Fooable[*FooerImpl[F]] { return &Fooable[*FooerImpl[F]]{&FooerImpl[F]{}} } type FooerImpl[F Fooer] struct { }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:54:25 UTC 2023 - 457 bytes - Viewed (0) -
src/internal/types/testdata/fixedbugs/issue47887.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package p type Fooer[t any] interface { foo(Barer[t]) } type Barer[t any] interface { bar(Bazer[t]) } type Bazer[t any] interface { Fooer[t] baz(t) } type Int int func (n Int) baz(int) {} func (n Int) foo(b Barer[int]) { b.bar(n) } type F[t any] interface { f(G[t]) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 02 02:58:32 UTC 2022 - 554 bytes - Viewed (0) -
pkg/controller/cronjob/cronjob_controllerv2_test.go
cronJob: &batchv1.CronJob{ObjectMeta: metav1.ObjectMeta{Namespace: "foo-ns", Name: "fooer"}}, jobs: []runtime.Object{ &batchv1.Job{ObjectMeta: metav1.ObjectMeta{Name: "foo", Namespace: "foo-ns"}}, &batchv1.Job{ObjectMeta: metav1.ObjectMeta{Name: "foo1", Namespace: "foo-ns", OwnerReferences: []metav1.OwnerReference{{Name: "fooer", Controller: &trueRef}}}},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 70.8K bytes - Viewed (0) -
test/escape2n.go
var u, v, w int // ERROR "moved to heap: u$" "moved to heap: v$" "moved to heap: w$" defer noop(tee(&u)) defer noop(&v, &w) } } type Fooer interface { Foo() } type LimitedFooer struct { Fooer N int64 } func LimitFooer(r Fooer, n int64) Fooer { // ERROR "leaking param: r$" return &LimitedFooer{r, n} // ERROR "&LimitedFooer{...} escapes to heap$" }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 35.1K bytes - Viewed (0) -
test/escape2.go
var u, v, w int // ERROR "moved to heap: u$" "moved to heap: v$" "moved to heap: w$" defer noop(tee(&u)) defer noop(&v, &w) } } type Fooer interface { Foo() } type LimitedFooer struct { Fooer N int64 } func LimitFooer(r Fooer, n int64) Fooer { // ERROR "leaking param: r$" return &LimitedFooer{r, n} // ERROR "&LimitedFooer{...} escapes to heap$" }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 35.1K bytes - Viewed (0)