Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 86 for perfunc (0.12 sec)

  1. src/cmd/compile/internal/ssa/func.go

    }
    
    type LocalSlotSplitKey struct {
    	parent *LocalSlot
    	Off    int64       // offset of slot in N
    	Type   *types.Type // type of slot
    }
    
    // NewFunc returns a new, empty function object.
    // Caller must reset cache before calling NewFunc.
    func (c *Config) NewFunc(fe Frontend, cache *Cache) *Func {
    	return &Func{
    		fe:     fe,
    		Config: c,
    		Cache:  cache,
    
    		NamedValues:          make(map[LocalSlot][]*Value),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  2. pkg/controller/statefulset/stateful_set.go

    		return nil
    	}
    	return set
    }
    
    // enqueueStatefulSet enqueues the given statefulset in the work queue.
    func (ssc *StatefulSetController) enqueueStatefulSet(obj interface{}) {
    	key, err := controller.KeyFunc(obj)
    	if err != nil {
    		utilruntime.HandleError(fmt.Errorf("couldn't get key for object %+v: %v", obj, err))
    		return
    	}
    	ssc.queue.Add(key)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/v2/conversion_test.go

    			t.Fatalf("failed to convert to kube-openapi/pkg/util/proto model: %v", err)
    		}
    	}
    }
    
    // fuzzFuncs is copied from kube-openapi/pkg/aggregator. It fuzzes go-openapi/spec schemata.
    func fuzzFuncs(f *fuzz.Fuzzer, refFunc func(ref *spec.Ref, c fuzz.Continue, visible bool)) {
    	invisible := 0 // == 0 means visible, > 0 means invisible
    	depth := 0
    	maxDepth := 3
    	nilChance := func(depth int) float64 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 02 14:34:26 UTC 2023
    - 23.2K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/native-binaries/cunit/groovy/libs/cunit/2.1-2/include/CUnit/TestDB.h

     *  returned if the function succeeds, or CUE_NOTEST if either pTest or
     *  pNewFunc is NULL.
     *
     *  @param pTest    Pointer to the test to modify (non-NULL).
     *  @param pNewFunc Pointer to function to use for test function (non-NULL).
     *  @return Returns CUE_NOTEST if pTest or pNewFunc is NULL, and CUE_SUCCESS 
     *          if all is well.
     */
    
    CU_EXPORT 
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 40.4K bytes
    - Viewed (0)
  5. src/runtime/pprof/proto.go

    	// We can't write out functions while in the middle of the
    	// Location message, so record new functions we encounter and
    	// write them out after the Location.
    	type newFunc struct {
    		id         uint64
    		name, file string
    		startLine  int64
    	}
    	newFuncs := make([]newFunc, 0, 8)
    
    	id := uint64(len(b.locs)) + 1
    	b.locs[addr] = locInfo{
    		id:                     id,
    		pcs:                    append([]uintptr{}, b.deck.pcs...),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 13 20:40:52 UTC 2023
    - 25.7K bytes
    - Viewed (0)
  6. pkg/controller/endpointslice/endpointslice_controller.go

    	}
    
    	return nil
    }
    
    // onServiceUpdate updates the Service Selector in the cache and queues the Service for processing.
    func (c *Controller) onServiceUpdate(obj interface{}) {
    	key, err := controller.KeyFunc(obj)
    	if err != nil {
    		utilruntime.HandleError(fmt.Errorf("Couldn't get key for object %+v: %v", obj, err))
    		return
    	}
    
    	c.serviceQueue.Add(key)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/walk/switch.go

    	s.srcName = walkExpr(s.srcName, sw.PtrInit())
    	s.srcName = copyExpr(s.srcName, s.srcName.Type(), &sw.Compiled)
    	s.okName = typecheck.TempAt(base.Pos, ir.CurFunc, types.Types[types.TBOOL])
    	s.itabName = typecheck.TempAt(base.Pos, ir.CurFunc, types.Types[types.TUINT8].PtrTo())
    
    	// Get interface descriptor word.
    	// For empty interfaces this will be the type.
    	// For non-empty interfaces this will be the itab.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  8. pkg/controller/disruption/disruption.go

    	key, err := controller.KeyFunc(pdb)
    	if err != nil {
    		logger.Error(err, "Couldn't get key for PodDisruptionBudget", "podDisruptionBudget", klog.KObj(pdb))
    		return
    	}
    	dc.queue.Add(key)
    }
    
    func (dc *DisruptionController) enqueuePdbForRecheck(logger klog.Logger, pdb *policy.PodDisruptionBudget, delay time.Duration) {
    	key, err := controller.KeyFunc(pdb)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 36.1K bytes
    - Viewed (0)
  9. pkg/registry/core/pod/storage/storage_test.go

    	for i, tc := range testCases {
    		// unique namespace/storage location per test
    		ctx := genericapirequest.WithNamespace(genericapirequest.NewDefaultContext(), fmt.Sprintf("namespace-%d", i))
    		key, _ := storage.KeyFunc(ctx, tc.pod.Name)
    		if err := storage.Storage.Create(ctx, key, &tc.pod, nil, 0, false); err != nil {
    			t.Fatalf("unexpected error: %v", err)
    		}
    
    		redirector := rest.Redirector(storage)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 07:18:44 UTC 2024
    - 38.8K bytes
    - Viewed (0)
  10. pkg/registry/core/replicationcontroller/storage/storage.go

    }
    
    // NewREST returns a RESTStorage object that will work against replication controllers.
    func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, *StatusREST, error) {
    	store := &genericregistry.Store{
    		NewFunc:                   func() runtime.Object { return &api.ReplicationController{} },
    		NewListFunc:               func() runtime.Object { return &api.ReplicationControllerList{} },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 12K bytes
    - Viewed (0)
Back to top