Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 294 for Percent (0.17 sec)

  1. pilot/pkg/networking/core/route/route.go

    	default:
    		// Default to 100 percent if percent is not given.
    		return &core.RuntimeFractionalPercent{
    			DefaultValue: translateIntegerToFractionalPercent(100),
    		}
    	}
    }
    
    // MirrorPercentByPolicy computes the mirror percent to be used based on HTTPMirrorPolicy.
    func MirrorPercentByPolicy(mirror *networking.HTTPMirrorPolicy) *core.RuntimeFractionalPercent {
    	switch {
    	case mirror.Percentage != nil:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 56.1K bytes
    - Viewed (0)
  2. src/internal/coverage/cfile/ts_test.go

    		t.Fatalf("problems opening text file %s: %v", textfile, err)
    	} else {
    		inf.Close()
    	}
    
    	// Check for percent output with expected tokens.
    	strout := sb.String()
    	want := "of statements"
    	if !strings.Contains(strout, want) {
    		t.Logf("output from run: %s\n", strout)
    		t.Fatalf("percent output missing token: %q", want)
    	}
    }
    
    var funcInvoked bool
    
    //go:noinline
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:58:07 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. pkg/config/validation/virtualservice_test.go

    			MirrorPercentage: &networking.Percent{
    				Value: 101,
    			},
    			Route: []*networking.HTTPRouteDestination{{
    				Destination: &networking.Destination{Host: "foo.bar"},
    			}},
    			Match: []*networking.HTTPMatchRequest{nil},
    		}, valid: false},
    		{name: "valid mirror percentage", route: &networking.HTTPRoute{
    			MirrorPercentage: &networking.Percent{
    				Value: 1,
    			},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 15:33:55 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  4. tests/integration/security/normalization_test.go

    			switch i {
    			case 0x5c:
    				output = strings.ReplaceAll(output, `\`, `/`)
    			case 0x7e:
    				output = strings.ReplaceAll(output, `%7e`, `~`)
    			}
    			if err != nil {
    				t.Errorf("failed to unescape percent encoded path %s: %v", input, err)
    			}
    		}
    		percentEncodedCases = append(percentEncodedCases, expect{in: input, out: output})
    	}
    	framework.NewTest(t).
    		Run(func(t framework.TestContext) {
    			cases := []struct {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  5. tests/integration/pilot/mirror_test.go

    //	| Host0 | ----------> | Host1 | ----------> | Host2 |
    //	|-------|             |-------|             |-------|
    //
    
    type VirtualServiceMirrorConfig struct {
    	Name       string
    	Absent     bool
    	Percent    float64
    	MirrorHost string
    }
    
    type testCaseMirror struct {
    	name                string
    	absent              bool
    	percentage          float64
    	threshold           float64
    	expectedDestination echo.Instances
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  6. src/cmd/covdata/tool_test.go

    	dargs := []string{"-pkg=" + mainPkgPath, "-i=" + s.outdirs[0] + "," + s.outdirs[1]}
    	lines := runToolOp(t, s, "percent", dargs)
    
    	// Sift through the output to make sure it has the needful.
    	testpoints := []struct {
    		tag string
    		re  *regexp.Regexp
    	}{
    		{
    			"statement coverage percent",
    			regexp.MustCompile(`coverage: \d+\.\d% of statements\s*$`),
    		},
    	}
    
    	bad := false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 20:46:32 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  7. pkg/kubelet/kuberuntime/kuberuntime_container_windows.go

    		//   JOB_OBJECT_CPU_RATE_CONTROL_ENABLE = JOB_OBJECT_CPU_RATE_CONTROL_WEIGHT_BASED ignoring CpuMaximum.
    		//   Option a: Set HostConfig.CpuPercent. The units are whole percent of the total CPU capacity of the system, meaning the resolution
    		//      is different based on the number of cores.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/SystemHelper.java

            }
        }
    
        public void calibrateCpuLoad() {
            final short percent = ComponentUtil.getFessConfig().getAdaptiveLoadControlAsInteger().shortValue();
            if (percent <= 0) {
                return;
            }
            short current = getSystemCpuPercent();
            if (current < percent) {
                return;
            }
            final String threadName = Thread.currentThread().getName();
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Sun May 26 05:52:29 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/endpoints/filters/authentication_test.go

    				"X-Remote-Extra-Alph4num3r1c":                              {"alphanumeric"},
    				"X-Remote-Extra-Percent%20encoded":                         {"percent encoded"},
    				"X-Remote-Extra-Almost%zzpercent%xxencoded":                {"not quite percent encoded"},
    				"X-Remote-Extra-Example.com%2fpercent%2520encoded":         {"url with double percent encoding"},
    				"X-Remote-Extra-Example.com%2F%E4%BB%8A%E6%97%A5%E3%81%AF": {"url with unicode"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  10. pkg/config/validation/validation_test.go

    			Percentage: &networking.Percent{
    				Value: 0.001,
    			},
    			ErrorType: &networking.HTTPFaultInjection_Abort_HttpStatus{
    				HttpStatus: 200,
    			},
    		}, valid: true},
    		{name: "invalid fractional percent", in: &networking.HTTPFaultInjection_Abort{
    			Percentage: &networking.Percent{
    				Value: -10.0,
    			},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 03:11:45 UTC 2024
    - 196K bytes
    - Viewed (0)
Back to top