Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 283 for Percent (0.18 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/validation/validation.go

    }
    
    const percentFmt string = "[0-9]+%"
    const percentErrMsg string = "a valid percent string must be a numeric string followed by an ending '%'"
    
    var percentRegexp = regexp.MustCompile("^" + percentFmt + "$")
    
    // IsValidPercent checks that string is in the form of a percentage
    func IsValidPercent(percent string) []string {
    	if !percentRegexp.MatchString(percent) {
    		return []string{RegexError(percentErrMsg, percentFmt, "1%", "93%")}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 16:08:43 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/cover_coverpkg_partial.txt

    stdout '^\s*M/f\s+coverage: 0.0% of statements'
    
    # Test just the test-only package ./e but with -coverpkg=./...
    # Total number of statements should be 7 (e.g. a/b/d/f but not c)
    # and covered percent should be 6/7 (we hit everything in the
    # coverpkg pattern except the func in "d").
    go test -coverprofile=bar.p -coverpkg=./... ./e
    stdout '^ok\s+M/e\s+\S+\s+coverage: 85.7% of statements in ./...'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 20:12:49 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. src/runtime/debug/garbage.go

    // limit.
    // A negative percentage effectively disables garbage collection, unless
    // the memory limit is reached.
    // See SetMemoryLimit for more details.
    func SetGCPercent(percent int) int {
    	return int(setGCPercent(int32(percent)))
    }
    
    // FreeOSMemory forces a garbage collection followed by an
    // attempt to return as much memory to the operating system
    // as possible. (Even if this is not called, the runtime gradually
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  4. src/cmd/trace/goroutines.go

    			})
    			name = summary.Name
    			execTime += summary.ExecTime
    			if maxTotalTime < summary.TotalTime {
    				maxTotalTime = summary.TotalTime
    			}
    		}
    
    		// Compute the percent of total execution time these goroutines represent.
    		execTimePercent := ""
    		if totalExecTime > 0 {
    			execTimePercent = fmt.Sprintf("%.2f%%", float64(execTime)/float64(totalExecTime)*100)
    		}
    
    		// Sort.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  5. pkg/controller/podautoscaler/horizontal_test.go

    			autoscalingv2.HPAScalingPolicy{Type: autoscalingv2.PodsScalingPolicy, Value: pods, PeriodSeconds: podsPeriod})
    	}
    	if percent != 0 {
    		directionBehavior.Policies = append(directionBehavior.Policies,
    			autoscalingv2.HPAScalingPolicy{Type: autoscalingv2.PercentScalingPolicy, Value: percent, PeriodSeconds: percentPeriod})
    	}
    	return &directionBehavior
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 199.3K bytes
    - Viewed (0)
  6. manifests/charts/istio-cni/values.yaml

        # `updateStrategy.rollingUpdate.maxUnavailable` here:
        # https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/daemon-set-v1/#DaemonSetSpec).
        # May be specified as a number of pods or as a percent of the total number
        # of pods at the start of the update.
        rollingMaxUnavailable: 1
    
      # Revision is set as 'version' label and part of the resource names when installing multiple control planes.
      revision: ""
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. pkg/apis/apps/validation/validation_test.go

    			tweakMaxUnavailable(intstr.FromInt32(0)),
    		),
    		errs: field.ErrorList{
    			field.Invalid(field.NewPath("spec", "updateStrategy", "rollingUpdate", "maxUnavailable"), nil, ""),
    		},
    	}, {
    		name: "zero percent maxUnavailable",
    		set: mkStatefulSet(&validPodTemplate,
    			tweakReplicas(3),
    			tweakUpdateStrategyType(apps.RollingUpdateStatefulSetStrategyType),
    			tweakMaxUnavailable(intstr.FromString("0%")),
    		),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 111.9K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/tracing.go

    	}
    }
    
    func configureSampling(hcmTracing *hcm.HttpConnectionManager_Tracing, providerPercentage float64) {
    	hcmTracing.ClientSampling = &xdstype.Percent{
    		Value: 100.0,
    	}
    	hcmTracing.OverallSampling = &xdstype.Percent{
    		Value: 100.0,
    	}
    	hcmTracing.RandomSampling = &xdstype.Percent{
    		Value: providerPercentage,
    	}
    }
    
    func proxyConfigSamplingValue(config *meshconfig.ProxyConfig) float64 {
    	// PILOT_TRACE_SAMPLING
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 17:05:28 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/tracing_test.go

    	t := &hcm.HttpConnectionManager_Tracing{
    		ClientSampling: &xdstype.Percent{
    			Value: 100.0,
    		},
    		OverallSampling: &xdstype.Percent{
    			Value: 100.0,
    		},
    		RandomSampling: &xdstype.Percent{
    			Value: randomSampling,
    		},
    		CustomTags: tags,
    	}
    	if maxLen != 0 {
    		t.MaxPathTagLength = wrapperspb.UInt32(maxLen)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 20:47:52 UTC 2024
    - 38.6K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/cluster_traffic_policy.go

    	// end points when load balancer is in panic mode.
    	if features.SendUnhealthyEndpoints.Load() {
    		c.CommonLbConfig.HealthyPanicThreshold = &xdstype.Percent{Value: 0}
    	}
    	localityLbSetting := loadbalancer.GetLocalityLbSetting(meshConfig.GetLocalityLbSetting(), lb.GetLocalityLbSetting())
    	if localityLbSetting != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 23 05:38:57 UTC 2024
    - 20K bytes
    - Viewed (0)
Back to top