Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 30 for rangefunc (0.22 sec)

  1. src/internal/trace/trace_test.go

    		cmd := testenv.Command(t, testenv.GoToolPath(t), "run")
    		if race.Enabled {
    			cmd.Args = append(cmd.Args, "-race")
    		}
    		cmd.Args = append(cmd.Args, testPath)
    		cmd.Env = append(os.Environ(), "GOEXPERIMENT=rangefunc")
    		// Add a stack ownership check. This is cheap enough for testing.
    		godebug := "tracecheckstackownership=1"
    		if stress {
    			// Advance a generation constantly to stress the tracer.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/stmt.go

    	case *Chan:
    		if typ.dir == SendOnly {
    			return bad("receive from send-only channel")
    		}
    		return typ.elem, nil, "", false, true
    	case *Signature:
    		if !buildcfg.Experiment.RangeFunc && allowVersion != nil && !allowVersion(go1_23) {
    			return bad("requires go1.23 or later")
    		}
    		assert(typ.Recv() == nil)
    		switch {
    		case typ.Params().Len() != 1:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/debug.go

    // entry block prolog.
    func locatePrologEnd(f *Func, needCloCtx bool) (ID, *Value) {
    
    	// returns true if this instruction looks like it moves an ABI
    	// register (or context register for rangefunc bodies) to the
    	// stack, along with the value being stored.
    	isRegMoveLike := func(v *Value) (bool, ID) {
    		n, ok := v.Aux.(*ir.Name)
    		var r ID
    		if (!ok || n.Class != ir.PPARAM) && !needCloCtx {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
  4. src/go/types/stmt.go

    	case *Chan:
    		if typ.dir == SendOnly {
    			return bad("receive from send-only channel")
    		}
    		return typ.elem, nil, "", false, true
    	case *Signature:
    		if !buildcfg.Experiment.RangeFunc && allowVersion != nil && !allowVersion(go1_23) {
    			return bad("requires go1.23 or later")
    		}
    		assert(typ.Recv() == nil)
    		switch {
    		case typ.Params().Len() != 1:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  5. pkg/kubelet/eviction/types.go

    type PodCleanedUpFunc func(*v1.Pod) bool
    
    // statsFunc returns the usage stats if known for an input pod.
    type statsFunc func(pod *v1.Pod) (statsapi.PodStats, bool)
    
    // rankFunc sorts the pods in eviction order
    type rankFunc func(pods []*v1.Pod, stats statsFunc)
    
    // signalObservation is the observed resource usage
    type signalObservation struct {
    	// The resource capacity
    	capacity *resource.Quantity
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 18:46:33 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  6. pkg/kubelet/eviction/helpers.go

    func rankPIDPressure(pods []*v1.Pod, stats statsFunc) {
    	orderedBy(priority, process(stats)).Sort(pods)
    }
    
    // rankDiskPressureFunc returns a rankFunc that measures the specified fs stats.
    func rankDiskPressureFunc(fsStatsToMeasure []fsStatsType, diskResource v1.ResourceName) rankFunc {
    	return func(pods []*v1.Pod, stats statsFunc) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 18:46:33 UTC 2023
    - 53.6K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssagen/ssa.go

    		sym := (*types.Pkg)(nil).Lookup(name)
    		return types.NewField(src.NoXPos, sym, t)
    	}
    
    	fields := []*types.Field{
    		makefield("heap", types.Types[types.TBOOL]),
    		makefield("rangefunc", types.Types[types.TBOOL]),
    		makefield("sp", types.Types[types.TUINTPTR]),
    		makefield("pc", types.Types[types.TUINTPTR]),
    		// Note: the types here don't really matter. Defer structures
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  8. pkg/kubelet/eviction/eviction_manager.go

    	thresholdsMet []evictionapi.Threshold
    	// signalToRankFunc maps a resource to ranking function for that resource.
    	signalToRankFunc map[evictionapi.Signal]rankFunc
    	// signalToNodeReclaimFuncs maps a resource to an ordered list of functions that know how to reclaim that resource.
    	signalToNodeReclaimFuncs map[evictionapi.Signal]nodeReclaimFuncs
    	// last observations from synchronize
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 27 18:55:56 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/rewrite.go

    				case "runtime.racefuncenter", "runtime.racefuncexit",
    					"runtime.panicdivide", "runtime.panicwrap",
    					"runtime.panicshift":
    					continue
    				}
    				// If we encountered any call, we need to keep racefunc*,
    				// for accurate stacktraces.
    				return false
    			case OpPanicBounds, OpPanicExtend:
    				// Note: these are panic generators that are ok (like the static calls above).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.18.md

        * kubelet_docker_operations_latency_microseconds
        * kubelet_docker_operations_errors
        * kubelet_docker_operations_timeout
        * network_plugin_operations_latency_microseconds
    * Kubelet cert TTL via GaugeFunc: ([#85874](https://github.com/kubernetes/kubernetes/pull/85874), [@sambdavidson](https://github.com/sambdavidson))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 16 17:18:28 UTC 2021
    - 373.2K bytes
    - Viewed (0)
Back to top