- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 221 for nilfunc (0.18 sec)
-
test/escape_closure.go
f(new(int)) // ERROR "new\(int\) does not escape" g := f g(new(int)) // ERROR "new\(int\) does not escape" h := nopFunc h(new(int)) // ERROR "new\(int\) does not escape" } func nopFunc(p *int) {} // ERROR "p does not escape" func ClosureIndirect2() { f := func(p *int) *int { return p } // ERROR "leaking param: p to result ~r0 level=0" "func literal does not escape"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 17 16:36:09 UTC 2023 - 4.6K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresourcedefinition/etcd.go
func NewREST(scheme *runtime.Scheme, optsGetter generic.RESTOptionsGetter) (*REST, error) { strategy := NewStrategy(scheme) store := &genericregistry.Store{ NewFunc: func() runtime.Object { return &apiextensions.CustomResourceDefinition{} }, NewListFunc: func() runtime.Object { return &apiextensions.CustomResourceDefinitionList{} },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 18 09:21:19 UTC 2022 - 8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/webhook/authentication.go
ret.Wrap(tracing.WrapperFor(tp)) } if egressSelector != nil { networkContext := egressselector.ControlPlane.AsNetworkContext() var egressDialer utilnet.DialFunc egressDialer, err = egressSelector.Lookup(networkContext) if err != nil { return nil, err } ret.Dial = egressDialer } return ret, nil },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 29 15:48:39 UTC 2023 - 9.5K bytes - Viewed (0) -
pkg/registry/core/serviceaccount/storage/storage.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 21:15:10 UTC 2023 - 3K bytes - Viewed (0) -
pkg/registry/admissionregistration/mutatingwebhookconfiguration/storage/storage.go
} // NewREST returns a RESTStorage object that will work against mutatingWebhookConfiguration. func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, error) { store := &genericregistry.Store{ NewFunc: func() runtime.Object { return &admissionregistration.MutatingWebhookConfiguration{} }, NewListFunc: func() runtime.Object { return &admissionregistration.MutatingWebhookConfigurationList{} },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 13 15:10:55 UTC 2023 - 2.6K bytes - Viewed (0) -
pkg/registry/rbac/clusterrolebinding/storage/storage.go
*genericregistry.Store } // NewREST returns a RESTStorage object that will work against ClusterRoleBinding objects. func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, error) { store := &genericregistry.Store{ NewFunc: func() runtime.Object { return &rbac.ClusterRoleBinding{} }, NewListFunc: func() runtime.Object { return &rbac.ClusterRoleBindingList{} },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 18 09:21:13 UTC 2022 - 2K bytes - Viewed (0) -
pkg/registry/resource/resourceclaimtemplate/storage/storage.go
*genericregistry.Store } // NewREST returns a RESTStorage object that will work against ResourceClass. func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, error) { store := &genericregistry.Store{ NewFunc: func() runtime.Object { return &resource.ResourceClaimTemplate{} }, NewListFunc: func() runtime.Object { return &resource.ResourceClaimTemplateList{} },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 18 10:11:16 UTC 2022 - 2.1K bytes - Viewed (0) -
pkg/registry/resource/resourceclassparameters/storage/storage.go
*genericregistry.Store } // NewREST returns a RESTStorage object that will work against ResourceClassParameters. func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, error) { store := &genericregistry.Store{ NewFunc: func() runtime.Object { return &resource.ResourceClassParameters{} }, NewListFunc: func() runtime.Object { return &resource.ResourceClassParametersList{} },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 15:15:31 UTC 2024 - 2.2K bytes - Viewed (0) -
src/go/types/instantiate_test.go
"package equivalentinterfaces; type T[P any] int", "T", []Type{ NewInterfaceType([]*Func{NewFunc(nopos, nil, "M", emptySignature)}, nil), }, "T", []Type{ NewInterfaceType( nil, []Type{ NewInterfaceType([]*Func{NewFunc(nopos, nil, "M", emptySignature)}, nil), }, ), }, true, }, { // int|string is equivalent to string|int
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 5.9K bytes - Viewed (0) -
cmd/kube-controller-manager/app/policy.go
) func newDisruptionControllerDescriptor() *ControllerDescriptor { return &ControllerDescriptor{ name: names.DisruptionController, aliases: []string{"disruption"}, initFunc: startDisruptionController, } } func startDisruptionController(ctx context.Context, controllerContext ControllerContext, controllerName string) (controller.Interface, bool, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 27 11:28:02 UTC 2023 - 2.2K bytes - Viewed (0)