Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 64 for Testfunc (0.17 sec)

  1. pkg/scheduler/framework/interface.go

    type PreEnqueuePlugin interface {
    	Plugin
    	// PreEnqueue is called prior to adding Pods to activeQ.
    	PreEnqueue(ctx context.Context, p *v1.Pod) *Status
    }
    
    // LessFunc is the function to sort pod info
    type LessFunc func(podInfo1, podInfo2 *QueuedPodInfo) bool
    
    // QueueSortPlugin is an interface that must be implemented by "QueueSort" plugins.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  2. src/internal/coverage/cfile/testsupport.go

    		cdr, err = decodecounter.NewCounterDataReader(cdf, cf)
    		if err != nil {
    			return fmt.Errorf("reading counter data file %s: %s", cdf, err)
    		}
    		var data decodecounter.FuncPayload
    		for {
    			ok, err := cdr.NextFunc(&data)
    			if err != nil {
    				return fmt.Errorf("reading counter data file %s: %v", cdf, err)
    			}
    			if !ok {
    				break
    			}
    
    			// NB: sanity check on pkg and func IDs?
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  3. src/cmd/internal/cov/readcovdata.go

    		if err != nil {
    			return r.fatal("reading counter data file %s: %s", cdf, err)
    		}
    		r.vis.BeginCounterDataFile(cdf, cdr, p.Origins[k])
    		var data decodecounter.FuncPayload
    		for {
    			ok, err := cdr.NextFunc(&data)
    			if err != nil {
    				return r.fatal("reading counter data file %s: %v", cdf, err)
    			}
    			if !ok {
    				break
    			}
    			r.vis.VisitFuncCounterData(data)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  4. src/cmd/cover/cover.go

    			f.preFunc(n, fname)
    			if pkgconfig.Granularity == "perfunc" {
    				walkBody = false
    			}
    		}
    		if walkBody {
    			ast.Walk(f, n.Body)
    		}
    		if *pkgcfg != "" {
    			flit := false
    			f.postFunc(n, fname, flit, n.Body)
    		}
    		return nil
    	case *ast.FuncLit:
    		// For function literals enclosed in functions, just glom the
    		// code for the literal in with the enclosing function (for now).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/internal/generic/controller_test.go

    	// Set up fake informers that return instances of mock Policy definitoins
    	// and mock policy bindings
    	informer = &testInformer{SharedIndexInformer: cache.NewSharedIndexInformer(&cache.ListWatch{
    		ListFunc: func(options metav1.ListOptions) (runtime.Object, error) {
    			return tracker.List(fakeGVR, fakeGVK, "")
    		},
    		WatchFunc: func(options metav1.ListOptions) (watch.Interface, error) {
    			return tracker.Watch(fakeGVR, "")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 12 18:58:24 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  6. src/cmd/link/internal/ld/symtab.go

    	// findfunctab
    	moduledata.AddAddr(ctxt.Arch, pcln.findfunctab)
    	// minpc, maxpc
    	moduledata.AddAddr(ctxt.Arch, pcln.firstFunc)
    	moduledata.AddAddrPlus(ctxt.Arch, pcln.lastFunc, ldr.SymSize(pcln.lastFunc))
    	// pointers to specific parts of the module
    	moduledata.AddAddr(ctxt.Arch, ldr.Lookup("runtime.text", 0))
    	moduledata.AddAddr(ctxt.Arch, ldr.Lookup("runtime.etext", 0))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 16:29:40 UTC 2023
    - 29.2K bytes
    - Viewed (0)
  7. cmd/kube-proxy/app/server_linux.go

    	ctx, cancelFunc := context.WithTimeout(ctx, timeoutForNodePodCIDR)
    	defer cancelFunc()
    
    	fieldSelector := fields.OneTermEqualSelector("metadata.name", nodeName).String()
    	lw := &cache.ListWatch{
    		ListFunc: func(options metav1.ListOptions) (object runtime.Object, e error) {
    			options.FieldSelector = fieldSelector
    			return client.CoreV1().Nodes().List(ctx, options)
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_sharding_identification_pass.cc

      // Look up function definition from module.
      mlir::func::FuncOp func =
          cluster_func->getParentOfType<ModuleOp>()
              .lookupSymbol<mlir::func::FuncOp>(cluster_func.getFunc());
    
      bool use_spmd = false;
      if (auto use_spmd_attr = cluster_func->getAttrOfType<BoolAttr>(kUseSpmdAttr))
        use_spmd = use_spmd_attr.getValue();
    
      auto num_cores_per_replica_attr =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 02:01:13 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  9. src/path/filepath/path_windows_test.go

    		if err != nil {
    			t.Errorf("toNorm(%s) failed: %v (wd=%s)\n", arg, err, wd)
    		} else if got != want {
    			t.Errorf("toNorm(%s) returns %s, but %s expected (wd=%s)\n", arg, got, want, wd)
    		}
    	}
    }
    
    func TestUNC(t *testing.T) {
    	// Test that this doesn't go into an infinite recursion.
    	// See golang.org/issue/15879.
    	defer debug.SetMaxStack(debug.SetMaxStack(1e6))
    	filepath.Glob(`\\?\c:\*`)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 20:38:54 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ir/func.go

    //
    // TODO(mdempsky): I suspect there's no need for separate fpos and
    // npos.
    func NewFunc(fpos, npos src.XPos, sym *types.Sym, typ *types.Type) *Func {
    	name := NewNameAt(npos, sym, typ)
    	name.Class = PFUNC
    	sym.SetFunc(true)
    
    	fn := &Func{Nname: name}
    	fn.pos = fpos
    	fn.op = ODCLFUNC
    	// Most functions are ABIInternal. The importer or symabis
    	// pass may override this.
    	fn.ABI = obj.ABIInternal
    	fn.SetTypecheck(1)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 21.1K bytes
    - Viewed (0)
Back to top