Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 283 for Percent (0.26 sec)

  1. pkg/scheduler/internal/queue/scheduling_queue.go

    		o.metricsRecorder = recorder
    	}
    }
    
    // WithPluginMetricsSamplePercent sets the percentage of plugin metrics to be sampled.
    func WithPluginMetricsSamplePercent(percent int) Option {
    	return func(o *priorityQueueOptions) {
    		o.pluginMetricsSamplePercent = percent
    	}
    }
    
    var defaultPriorityQueueOptions = priorityQueueOptions{
    	clock:                             clock.RealClock{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 61.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/celcoststability_test.go

    			schema: objectTypePtr(map[string]schema.Structural{
    				"something": withNullable(true, intOrStringType()),
    			}),
    			expectCost: map[string]int64{
    				"!has(self.something)": 2,
    			},
    		},
    		{name: "percent comparison using intOrString",
    			obj: map[string]interface{}{
    				"min":       "50%",
    				"current":   5,
    				"available": 10,
    			},
    			schema: objectTypePtr(map[string]schema.Structural{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:20:16 UTC 2024
    - 80.2K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/printf.go

    	state := &formatState{
    		format:   format,
    		name:     name,
    		flags:    make([]byte, 0, 5),
    		argNum:   argNum,
    		argNums:  make([]int, 0, 1),
    		nbytes:   1, // There's guaranteed to be a percent sign.
    		firstArg: firstArg,
    		pass:     pass,
    		call:     call,
    	}
    	// There may be flags.
    	state.parseFlags()
    	// There may be an index.
    	if !state.parseIndex() {
    		return nil
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  4. src/cmd/cover/cover.go

    	// Initialize the position array field.
    	fmt.Fprintf(w, "\tNumStmt: [%d]uint16{\n", len(f.blocks))
    
    	// A nice long list of statements-per-block, so we can give a conventional
    	// valuation of "percent covered". To save space, it's a 16-bit number, so we
    	// clamp it if it overflows - won't matter in practice.
    	for i, block := range f.blocks {
    		n := block.numStmt
    		if n > 1<<16-1 {
    			n = 1<<16 - 1
    		}
    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. docs/metrics/prometheus/grafana/minio-dashboard.json

          "options": {
            "displayLabels": [],
            "legend": {
              "displayMode": "table",
              "placement": "bottom",
              "showLegend": true,
              "values": [
                "percent"
              ]
            },
            "pieType": "donut",
            "reduceOptions": {
              "calcs": [
                "lastNotNull"
              ],
              "fields": "",
              "values": false
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Apr 15 10:03:01 UTC 2024
    - 93K bytes
    - Viewed (0)
  6. src/strings/strings.go

    		if f(rune) {
    			if start >= 0 {
    				spans = append(spans, span{start, end})
    				// Set start to a negative value.
    				// Note: using -1 here consistently and reproducibly
    				// slows down this code by a several percent on amd64.
    				start = ^start
    			}
    		} else {
    			if start < 0 {
    				start = end
    			}
    		}
    	}
    
    	// Last field might end at EOF.
    	if start >= 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:48:16 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  7. pkg/controller/nodelifecycle/node_lifecycle_controller.go

    // The zone is considered:
    // - fullyDisrupted if there're no Ready Nodes,
    // - partiallyDisrupted if at least than nc.unhealthyZoneThreshold percent of Nodes are not Ready,
    // - normal otherwise
    func (nc *Controller) ComputeZoneState(nodeReadyConditions []*v1.NodeCondition) (int, ZoneState) {
    	readyNodes := 0
    	notReadyNodes := 0
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  8. src/runtime/metrics_test.go

    	runtime.GC()
    
    	// Set an arbitrary memory limit to check the metric for it
    	limit := int64(512 * 1024 * 1024)
    	oldLimit := debug.SetMemoryLimit(limit)
    	defer debug.SetMemoryLimit(oldLimit)
    
    	// Set a GC percent to check the metric for it
    	gcPercent := 99
    	oldGCPercent := debug.SetGCPercent(gcPercent)
    	defer debug.SetGCPercent(oldGCPercent)
    
    	// Tests whether readMetrics produces values aligning
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 45K bytes
    - Viewed (0)
  9. pkg/config/validation/validation.go

    	}
    	return nil
    }
    
    // ValidatePercent checks that percent is in range
    func ValidatePercent(val int32) error {
    	if val < 0 || val > 100 {
    		return fmt.Errorf("percentage %v is not in range 0..100", val)
    	}
    	return nil
    }
    
    // validatePercentage checks if the specified fractional percentage is valid.
    func validatePercentage(percentage *networking.Percent) error {
    	if percentage != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  10. apache-maven/src/main/appended-resources/licenses/CDDL+GPLv2-with-classpath-exception.txt

        purposes of this definition, "control" means (a) the power, direct
        or indirect, to cause the direction or management of such entity,
        whether by contract or otherwise, or (b) ownership of more than
        fifty percent (50%) of the outstanding shares or beneficial
        ownership of such entity.
    
    2. License Grants.
    
        2.1. The Initial Developer Grant.
    
        Conditioned upon Your compliance with Section 3.1 below and subject
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri May 17 19:14:22 UTC 2024
    - 38.5K bytes
    - Viewed (0)
Back to top