Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 744 for Percent (0.17 sec)

  1. src/encoding/json/stream_test.go

    			break
    		}
    	}
    }
    
    func TestEncoderErrorAndReuseEncodeState(t *testing.T) {
    	// Disable the GC temporarily to prevent encodeState's in Pool being cleaned away during the test.
    	percent := debug.SetGCPercent(-1)
    	defer debug.SetGCPercent(percent)
    
    	// Trigger an error in Marshal with cyclic data.
    	type Dummy struct {
    		Name string
    		Next *Dummy
    	}
    	dummy := Dummy{Name: "Dummy"}
    	dummy.Next = &dummy
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 25 16:00:37 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  2. 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)
  3. pkg/kubelet/apis/config/types.go

    	// imageGCHighThresholdPercent is the percent of disk usage after which
    	// image garbage collection is always run. The percent is calculated as
    	// this field value out of 100.
    	ImageGCHighThresholdPercent int32
    	// imageGCLowThresholdPercent is the percent of disk usage before which
    	// image garbage collection is never run. Lowest disk usage to garbage
    	// collect to. The percent is calculated as this field value out of 100.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 21:10:42 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  4. src/html/template/url.go

    		// so can be safely encoded.
    		case '!', '#', '$', '&', '*', '+', ',', '/', ':', ';', '=', '?', '@', '[', ']':
    			if norm {
    				continue
    			}
    		// Unreserved according to RFC 3986 sec 2.3
    		// "For consistency, percent-encoded octets in the ranges of
    		// ALPHA (%41-%5A and %61-%7A), DIGIT (%30-%39), hyphen (%2D),
    		// period (%2E), underscore (%5F), or tilde (%7E) should not be
    		// created by URI producers
    		case '-', '.', '_', '~':
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 06 15:48:16 UTC 2022
    - 6.6K bytes
    - Viewed (0)
  5. src/cmd/vendor/github.com/google/pprof/internal/driver/html/stacks.js

      }
    
      // percentText returns text that displays v in appropriate units alongside its
      // percentange.
      function percentText(v) {
        function percent(v, total) {
          return Number(((100.0 * v) / total).toFixed(1)) + '%';
        }
        return unitText(v) + " (" + percent(v, stacks.Total) + ")";
      }
    
      // unitText returns a formatted string to display for value.
      function unitText(value) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  6. pilot/pkg/networking/grpcgen/grpcecho_test.go

    apiVersion: networking.istio.io/v1alpha3
    kind: VirtualService
    metadata:
      name: echo-delay
    spec:
      hosts:
      - echo-app.default.svc.cluster.local
      http:
      - fault:
          delay:
            percent: 100
            fixedDelay: 100ms
        route:
        - destination:
            host: echo-app.default.svc.cluster.local
    `,
    	}, echoCfg{version: "v1"})
    	c := tt.dialEcho("xds:///echo-app.default.svc.cluster.local:7071")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 12 18:20:36 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  7. src/cmd/cover/cfg_test.go

    	if inf, err := os.Open(mpath); err != nil {
    		t.Fatalf("meta-data file not created: %v", err)
    	} else {
    		inf.Close()
    	}
    
    	// Make sure it is digestible.
    	cdargs := []string{"tool", "covdata", "percent", "-i", mdir}
    	cmd := testenv.Command(t, testenv.GoToolPath(t), cdargs...)
    	run(cmd, t)
    }
    
    func testCoverNoTestsNoFuncs(t *testing.T) {
    	t.Parallel()
    	dir := tempDir(t)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 12:51:11 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/util/intstr/intstr.go

    		}
    	}
    	return value, nil
    }
    
    // GetValueFromIntOrPercent was deprecated in favor of
    // GetScaledValueFromIntOrPercent. This method was treating all int as a numeric value and all
    // strings with or without a percent symbol as a percentage value.
    // Deprecated
    func GetValueFromIntOrPercent(intOrPercent *IntOrString, total int, roundUp bool) (int, error) {
    	if intOrPercent == nil {
    		return 0, errors.New("nil value for IntOrString")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:09 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  9. src/internal/coverage/cfile/testsupport.go

    	if _, err := os.Stat(metafilespath); err == nil {
    		if err := ts.readAuxMetaFiles(metafilespath, importpaths); err != nil {
    			return err
    		}
    	}
    
    	// Emit percent.
    	if err := ts.cf.EmitPercent(w, cpkg, true, true); err != nil {
    		return err
    	}
    
    	// Emit text output.
    	if tf != nil {
    		if err := ts.cf.EmitTextual(tf); err != nil {
    			return err
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  10. platforms/core-runtime/wrapper-main/src/executable/resources/META-INF/LICENSE

          "control" means (i) the power, direct or indirect, to cause the
          direction or management of such entity, whether by contract or
          otherwise, or (ii) ownership of fifty percent (50%) or more of the
          outstanding shares, or (iii) beneficial ownership of such entity.
    
          "You" (or "Your") shall mean an individual or Legal Entity
          exercising permissions granted by this License.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:54:32 UTC 2024
    - 9.9K bytes
    - Viewed (0)
Back to top