Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 134 for cased (0.51 sec)

  1. src/net/http/serve_test.go

    	c := ts.Client()
    
    	cases := []struct {
    		reqPath string
    		path    string // If empty we want a 404.
    		rawPath string
    	}{
    		{"/foo/bar/qux", "/qux", ""},
    		{"/foo/bar%2Fqux", "/qux", "%2Fqux"},
    		{"/foo%2Fbar/qux", "", ""}, // Escaped prefix does not match.
    		{"/bar", "", ""},           // No prefix match.
    	}
    	for _, tc := range cases {
    		t.Run(tc.reqPath, func(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  2. src/reflect/all_test.go

    		v = v.Elem()
    		switch v.Kind() {
    		case Int:
    			v.SetInt(132)
    		case Int8:
    			v.SetInt(8)
    		case Int16:
    			v.SetInt(16)
    		case Int32:
    			v.SetInt(32)
    		case Int64:
    			v.SetInt(64)
    		case Uint:
    			v.SetUint(132)
    		case Uint8:
    			v.SetUint(8)
    		case Uint16:
    			v.SetUint(16)
    		case Uint32:
    			v.SetUint(32)
    		case Uint64:
    			v.SetUint(64)
    		case Float32:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  3. pkg/controller/job/job_controller_test.go

    const fastJobApiBackoff = 10 * time.Millisecond
    const fastRequeue = 10 * time.Millisecond
    
    // testFinishedAt represents time one second later than unix epoch
    // this will be used in various test cases where we don't want back-off to kick in
    var testFinishedAt = metav1.NewTime((time.Time{}).Add(time.Second))
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
  4. tests/integration/pilot/common/routing.go

    	var cases []TrafficTestCase
    	gatewayListenPort := 80
    	gatewayListenPortName := "tcp"
    
    	destinationSets := []echo.Instances{
    		apps.A,
    	}
    
    	for _, d := range destinationSets {
    		d := d
    		if len(d) == 0 {
    			continue
    		}
    
    		fqdn := d[0].Config().ClusterLocalFQDN()
    		cases = append(cases, TrafficTestCase{
    			name: d[0].Config().Service,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 21:52:51 UTC 2024
    - 135.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

      // Infers the shape IfOp outputs based on the shapes of the then and else
      // function result types.
      bool InferShapeForIf(IfOp op);
    
      // Infers the shape IfRegion outputs based on the shapes of the then and else
      // yields.
      bool InferShapeForIfRegion(IfRegionOp op);
    
      // Infers the shape CaseOp outputs based on the shapes of branch function
      // result types.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  6. pkg/config/validation/validation.go

    	return
    }
    
    func validateAllowOrigins(origin *networking.StringMatch) error {
    	var match string
    	switch origin.MatchType.(type) {
    	case *networking.StringMatch_Exact:
    		match = origin.GetExact()
    	case *networking.StringMatch_Prefix:
    		match = origin.GetPrefix()
    	case *networking.StringMatch_Regex:
    		match = origin.GetRegex()
    	}
    	if match == "" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  7. src/cmd/go/internal/work/exec.go

    	return id, true
    }
    
    // gccArchArgs returns arguments to pass to gcc based on the architecture.
    func (b *Builder) gccArchArgs() []string {
    	switch cfg.Goarch {
    	case "386":
    		return []string{"-m32"}
    	case "amd64":
    		if cfg.Goos == "darwin" {
    			return []string{"-arch", "x86_64", "-m64"}
    		}
    		return []string{"-m64"}
    	case "arm64":
    		if cfg.Goos == "darwin" {
    			return []string{"-arch", "arm64"}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
  8. doc/go1.17_spec.html

    </p>
    
    <pre>
    switch tag {
    default: s3()
    case 0, 1, 2, 3: s1()
    case 4, 5, 6, 7: s2()
    }
    
    switch x := f(); {  // missing switch expression means "true"
    case x &lt; 0: return -x
    default: return x
    }
    
    switch {
    case x &lt; y: f1()
    case x &lt; z: f2()
    case x == 4: f3()
    }
    </pre>
    
    <p>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/rewriteRISCV64.go

    	case OpAddPtr:
    		v.Op = OpRISCV64ADD
    		return true
    	case OpAddr:
    		return rewriteValueRISCV64_OpAddr(v)
    	case OpAnd16:
    		v.Op = OpRISCV64AND
    		return true
    	case OpAnd32:
    		v.Op = OpRISCV64AND
    		return true
    	case OpAnd64:
    		v.Op = OpRISCV64AND
    		return true
    	case OpAnd8:
    		v.Op = OpRISCV64AND
    		return true
    	case OpAndB:
    		v.Op = OpRISCV64AND
    		return true
    	case OpAtomicAdd32:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 14:57:07 UTC 2024
    - 205.1K bytes
    - Viewed (0)
  10. pkg/registry/batch/job/strategy_test.go

    			},
    		},
    	}
    	updatedSuccessPolicy := &batch.SuccessPolicy{
    		Rules: []batch.SuccessPolicyRule{
    			{
    				SucceededIndexes: ptr.To("1,3-7"),
    				SucceededCount:   ptr.To[int32](5),
    			},
    		},
    	}
    
    	cases := map[string]struct {
    		enableJobPodFailurePolicy     bool
    		enableJobBackoffLimitPerIndex bool
    		enableJobPodReplacementPolicy bool
    		enableJobSuccessPolicy        bool
    		job                           batch.Job
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 101.5K bytes
    - Viewed (0)
Back to top