Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 201 for flts (0.14 sec)

  1. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/metrics/union_gauge.go

    */
    
    package metrics
    
    type unionGauge []Gauge
    
    var _ Gauge = unionGauge(nil)
    
    // NewUnionGauge constructs a Gauge that delegates to all of the given Gauges
    func NewUnionGauge(elts ...Gauge) Gauge {
    	return unionGauge(elts)
    }
    
    func (ug unionGauge) Set(x float64) {
    	for _, gauge := range ug {
    		gauge.Set(x)
    	}
    }
    
    func (ug unionGauge) Add(x float64) {
    	for _, gauge := range ug {
    		gauge.Add(x)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 03 17:37:20 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  2. src/cmd/gofmt/gofmt_test.go

    	*rewriteRule = ""
    	info, err := os.Lstat(in)
    	if err != nil {
    		t.Error(err)
    		return
    	}
    	for _, flag := range strings.Split(gofmtFlags(in, 20), " ") {
    		elts := strings.SplitN(flag, "=", 2)
    		name := elts[0]
    		value := ""
    		if len(elts) == 2 {
    			value = elts[1]
    		}
    		switch name {
    		case "":
    			// no flags
    		case "-r":
    			*rewriteRule = value
    		case "-s":
    			*simplifyAST = true
    		case "-stdin":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 10 19:22:49 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/nodeports/node_ports.go

    	wantPorts, err := getPreFilterState(cycleState)
    	if err != nil {
    		return framework.AsStatus(err)
    	}
    
    	fits := fitsPorts(wantPorts, nodeInfo)
    	if !fits {
    		return framework.NewStatus(framework.Unschedulable, ErrReason)
    	}
    
    	return nil
    }
    
    // Fits checks if the pod fits the node.
    func Fits(pod *v1.Pod, nodeInfo *framework.NodeInfo) bool {
    	return fitsPorts(getContainerPorts(pod), nodeInfo)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 10:53:29 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. src/cmd/go/internal/work/security_test.go

    	// except for anything that begins with "-flto".
    	for _, f := range goodCompilerFlags {
    		foundLTO := false
    		for _, s := range f {
    			if strings.Contains(s, "-flto") {
    				foundLTO = true
    			}
    		}
    		if err := checkCompilerFlagsForInternalLink("test", "test", f); err != nil {
    			// expect error for -flto
    			if !foundLTO {
    				t.Errorf("unexpected error for %q: %v", f, err)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:47:34 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/darwin_lto_library_ldflag.txt

    [!GOOS:darwin] skip
    [!cgo] skip
    
    ! go build
    stderr 'invalid flag in #cgo LDFLAGS: -lto_library'
    
    -- go.mod --
    module ldflag
    
    -- main.go --
    package main
    
    // #cgo CFLAGS: -flto
    // #cgo LDFLAGS: -lto_library bad.dylib
    import "C"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 15:41:16 UTC 2024
    - 241 bytes
    - Viewed (0)
  6. src/cmd/link/cgo_test.go

    	case 1:
    		writeTempFile("main.go", test2_main)
    	default:
    		t.Fatalf("bad case %d", test)
    	}
    
    	cmd := testenv.Command(t, testenv.GoToolPath(t), "build")
    	cmd.Dir = dir
    	cgoCflags += " -flto"
    	cmd.Env = append(cmd.Environ(), "CGO_CFLAGS="+cgoCflags)
    
    	t.Logf("CGO_CFLAGS=%q %v", cgoCflags, cmd)
    	out, err := cmd.CombinedOutput()
    	t.Logf("%s", out)
    
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 09 22:13:02 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ObjectArrays.java

       * of the returned array is that of the specified array. If the collection fits in the specified
       * array, it is returned therein. Otherwise, a new array is allocated with the runtime type of the
       * specified array and the size of the specified collection.
       *
       * <p>If the collection fits in the specified array with room to spare (i.e., the array has more
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 12 15:59:22 UTC 2023
    - 9K bytes
    - Viewed (0)
  8. pkg/scheduler/framework/plugins/defaultpreemption/default_preemption.go

    		fits := status.IsSuccess()
    		if !fits {
    			if err := removePod(pi); err != nil {
    				return false, err
    			}
    			rpi := pi.Pod
    			victims = append(victims, rpi)
    			logger.V(5).Info("Pod is a potential preemption victim on node", "pod", klog.KObj(rpi), "node", klog.KObj(nodeInfo.Node()))
    		}
    		return fits, nil
    	}
    	for _, p := range violatingVictims {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Nov 25 19:36:04 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  9. src/go/doc/exports.go

    			j++
    		}
    	}
    	return list[0:j]
    }
    
    var underscore = ast.NewIdent("_")
    
    func filterCompositeLit(lit *ast.CompositeLit, filter Filter, export bool) {
    	n := len(lit.Elts)
    	lit.Elts = filterExprList(lit.Elts, filter, export)
    	if len(lit.Elts) < n {
    		lit.Incomplete = true
    	}
    }
    
    func filterExprList(list []ast.Expr, filter Filter, export bool) []ast.Expr {
    	j := 0
    	for _, exp := range list {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 01 18:18:07 UTC 2022
    - 8.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ObjectArrays.java

       * of the returned array is that of the specified array. If the collection fits in the specified
       * array, it is returned therein. Otherwise, a new array is allocated with the runtime type of the
       * specified array and the size of the specified collection.
       *
       * <p>If the collection fits in the specified array with room to spare (i.e., the array has more
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 12 15:59:22 UTC 2023
    - 9K bytes
    - Viewed (0)
Back to top