Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 77 for ptrval (0.1 sec)

  1. pkg/apis/apps/validation/validation.go

    	if intOrStringValue.Type != intstr.String {
    		return 0, false
    	}
    	if len(validation.IsValidPercent(intOrStringValue.StrVal)) != 0 {
    		return 0, false
    	}
    	value, _ := strconv.Atoi(intOrStringValue.StrVal[:len(intOrStringValue.StrVal)-1])
    	return value, true
    }
    
    func getIntOrPercentValue(intOrStringValue intstr.IntOrString) int {
    	value, isPercent := getPercentValue(intOrStringValue)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 06 22:11:20 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/cmd/bisect/main.go

    	Timeout time.Duration // kill target and assume failed after this duration (0 = unlimited)
    	Count   int           // run target this many times for each trial and give up if flaky (min 1 assumed; default 2 on command line set in main)
    	Verbose bool          // print long output about each trial (only useful for debugging bisect itself)
    
    	// State for running bisect, replaced during testing.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 22 18:11:19 UTC 2023
    - 23.9K bytes
    - Viewed (0)
  3. pkg/apis/core/fuzzer/fuzzer.go

    				switch ss.Ports[i].TargetPort.Type {
    				case intstr.Int:
    					ss.Ports[i].TargetPort.IntVal = 1 + ss.Ports[i].TargetPort.IntVal%65535 // non-zero
    				case intstr.String:
    					ss.Ports[i].TargetPort.StrVal = "x" + ss.Ports[i].TargetPort.StrVal // non-empty
    				}
    			}
    			types := []core.ServiceAffinity{core.ServiceAffinityNone, core.ServiceAffinityClientIP}
    			ss.SessionAffinity = types[c.Rand.Intn(len(types))]
    			switch ss.SessionAffinity {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 04:32:01 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  4. .teamcity/src/main/kotlin/common/extensions.kt

    import jetbrains.buildServer.configs.kotlin.failureConditions.failOnText
    import jetbrains.buildServer.configs.kotlin.ui.add
    import java.util.Locale
    
    const val pluginPortalUrlOverride = "-Dorg.gradle.internal.plugins.portal.url.override=%gradle.plugins.portal.url%"
    
    fun BuildSteps.customGradle(init: GradleBuildStep.() -> Unit, custom: GradleBuildStep.() -> Unit): GradleBuildStep =
        GradleBuildStep(init)
            .apply(custom)
            .also {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 03 03:39:03 UTC 2024
    - 13.1K bytes
    - Viewed (1)
  5. platforms/documentation/docs/src/docs/userguide/authoring-builds/basics/plugins.adoc

    ====
    
    This tells Gradle to first look in the Maven repository at `../maven-repo` when resolving plugins and then to check the Gradle Plugin Portal if the plugins are not found in the Maven repository.
    If you don't want the Gradle Plugin Portal to be searched, omit the `gradlePluginPortal()` line.
    Finally, the Ivy repository at `../ivy-repo` will be checked.
    
    [[sec:plugin_version_management]]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 04:11:37 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  6. cluster/images/etcd-version-monitor/etcd-version-monitor.go

    						mf = deepCopyMetricFamily(mf)
    						renameMetric(mf, "grpc_server_handling_seconds")
    						tpeName := "grpc_type"
    						tpeVal := "unary"
    						for _, m := range mf.Metric {
    							m.Label = append(m.Label, &dto.LabelPair{Name: &tpeName, Value: &tpeVal})
    						}
    						return mf, nil
    					},
    				},
    			},
    			// etcd 3.1+ metric format for total grpc requests.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Dec 16 06:50:02 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  7. pkg/volume/csi/nodeinfomanager/nodeinfomanager.go

    		if len(topology) == 0 {
    			return node, false, nil
    		}
    
    		for k, v := range topology {
    			if curVal, exists := node.Labels[k]; exists && curVal != v {
    				return nil, false, fmt.Errorf("detected topology value collision: driver reported %q:%q but existing label is %q:%q", k, v, k, curVal)
    			}
    		}
    
    		if node.Labels == nil {
    			node.Labels = make(map[string]string)
    		}
    		for k, v := range topology {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 09:02:45 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/samples/readme-templates/multi-common-body.adoc.template

      The convention plugin will then take care of applying and configuring core Gradle plugins (like `application` or `java-library`) other convention plugin or community plugins from the Plugin Portal.
    * Second, if the project has dependencies, a `dependencies {}` block should be added.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 08 11:21:22 UTC 2023
    - 14.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        Random random = new Random();
        int warmupPermits = 10;
        double[] coldFactorsToTest = {2.0, 3.0, 10.0};
        double[] qpsToTest = {4.0, 2.0, 1.0, 0.5, 0.1};
        for (int trial = 0; trial < 100; trial++) {
          for (double coldFactor : coldFactorsToTest) {
            for (double qps : qpsToTest) {
              // If warmupPermits = maxPermits - thresholdPermits then
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 21.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        Random random = new Random();
        int warmupPermits = 10;
        double[] coldFactorsToTest = {2.0, 3.0, 10.0};
        double[] qpsToTest = {4.0, 2.0, 1.0, 0.5, 0.1};
        for (int trial = 0; trial < 100; trial++) {
          for (double coldFactor : coldFactorsToTest) {
            for (double qps : qpsToTest) {
              // If warmupPermits = maxPermits - thresholdPermits then
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 21.6K bytes
    - Viewed (0)
Back to top