Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 249 for perfunc (0.15 sec)

  1. src/cmd/compile/internal/typecheck/syms.go

    // user labels.
    func AutoLabel(prefix string) *types.Sym {
    	if prefix[0] != '.' {
    		base.Fatalf("autolabel prefix must start with '.', have %q", prefix)
    	}
    	fn := ir.CurFunc
    	if ir.CurFunc == nil {
    		base.Fatalf("autolabel outside function")
    	}
    	n := fn.Label
    	fn.Label++
    	return LookupNum(prefix, int(n))
    }
    
    func Lookup(name string) *types.Sym {
    	return types.LocalPkg.Lookup(name)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 21:17:13 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  2. pkg/registry/resource/resourceclaimparameters/storage/storage.go

    	*genericregistry.Store
    }
    
    // NewREST returns a RESTStorage object that will work against ResourceClaimParameters.
    func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, error) {
    	store := &genericregistry.Store{
    		NewFunc:                   func() runtime.Object { return &resource.ResourceClaimParameters{} },
    		NewListFunc:               func() runtime.Object { return &resource.ResourceClaimParametersList{} },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 15:15:31 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. pkg/registry/storage/csistoragecapacity/storage/storage.go

    }
    
    // NewStorage returns a RESTStorage object that will work against CSIStorageCapacity
    func NewStorage(optsGetter generic.RESTOptionsGetter) (*CSIStorageCapacityStorage, error) {
    	store := &genericregistry.Store{
    		NewFunc:                   func() runtime.Object { return &storageapi.CSIStorageCapacity{} },
    		NewListFunc:               func() runtime.Object { return &storageapi.CSIStorageCapacityList{} },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:13 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  4. pkg/registry/storage/volumeattributesclass/storage/storage.go

    	*genericregistry.Store
    }
    
    // NewREST returns a RESTStorage object that will work against storage classes.
    func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, error) {
    	store := &genericregistry.Store{
    		NewFunc:                   func() runtime.Object { return &storageapi.VolumeAttributesClass{} },
    		NewListFunc:               func() runtime.Object { return &storageapi.VolumeAttributesClassList{} },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 03:18:56 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/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: Fri Apr 28 17:58:07 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  6. pkg/kubelet/token/token_manager.go

    // * If refresh fails and the old token is no longer valid, return an error
    func (m *Manager) GetServiceAccountToken(namespace, name string, tr *authenticationv1.TokenRequest) (*authenticationv1.TokenRequest, error) {
    	key := keyFunc(name, namespace, tr)
    
    	ctr, ok := m.get(key)
    
    	if ok && !m.requiresRefresh(ctr) {
    		return ctr, nil
    	}
    
    	tr, err := m.getToken(name, namespace, tr)
    	if err != nil {
    		switch {
    		case !ok:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 10 10:20:09 UTC 2021
    - 6.1K bytes
    - Viewed (0)
  7. pkg/registry/core/podtemplate/storage/storage.go

    	*genericregistry.Store
    }
    
    // NewREST returns a RESTStorage object that will work against pod templates.
    func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, error) {
    	store := &genericregistry.Store{
    		NewFunc:                   func() runtime.Object { return &api.PodTemplate{} },
    		NewListFunc:               func() runtime.Object { return &api.PodTemplateList{} },
    		DefaultQualifiedResource:  api.Resource("podtemplates"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:13 UTC 2022
    - 2K bytes
    - Viewed (0)
  8. pkg/registry/coordination/lease/storage/storage.go

    type REST struct {
    	*genericregistry.Store
    }
    
    // NewREST returns a RESTStorage object that will work against leases.
    func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, error) {
    	store := &genericregistry.Store{
    		NewFunc:                   func() runtime.Object { return &coordinationapi.Lease{} },
    		NewListFunc:               func() runtime.Object { return &coordinationapi.LeaseList{} },
    		DefaultQualifiedResource:  coordinationapi.Resource("leases"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:13 UTC 2022
    - 2K bytes
    - Viewed (0)
  9. pkg/registry/resource/resourceclass/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.ResourceClass{} },
    		NewListFunc:               func() runtime.Object { return &resource.ResourceClassList{} },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 10:11:16 UTC 2022
    - 2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/informers/externalversions/factory.go

    	}
    	return res
    }
    
    // InformerFor returns the SharedIndexInformer for obj using an internal
    // client.
    func (f *sharedInformerFactory) InformerFor(obj runtime.Object, newFunc internalinterfaces.NewInformerFunc) cache.SharedIndexInformer {
    	f.lock.Lock()
    	defer f.lock.Unlock()
    
    	informerType := reflect.TypeOf(obj)
    	informer, exists := f.informers[informerType]
    	if exists {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 18:31:26 UTC 2023
    - 8.9K bytes
    - Viewed (0)
Back to top