Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 107 for casePC (0.33 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

    //===----------------------------------------------------------------------===//
    // CaseOp
    //===----------------------------------------------------------------------===//
    
    class FoldConstantCaseOp : public OpRewritePattern<TF::CaseOp> {
     public:
      explicit FoldConstantCaseOp(MLIRContext* context)
          : OpRewritePattern<TF::CaseOp>(context) {}
      LogicalResult matchAndRewrite(TF::CaseOp op,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K 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. 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)
  4. pkg/kubelet/kubelet_node_status_test.go

    	for _, addr := range addrs {
    		var ip net.IP
    		switch v := addr.(type) {
    		case *net.IPNet:
    			ip = v.IP
    		case *net.IPAddr:
    			ip = v.IP
    		}
    		if ip.IsLoopback() || ip.IsLinkLocalUnicast() {
    			continue
    		}
    		successTest := test{
    			nodeIP:   ip.String(),
    			success:  true,
    			testName: fmt.Sprintf("Success test case for address %s", ip.String()),
    		}
    		tests = append(tests, successTest)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 08 19:23:19 UTC 2024
    - 115.8K bytes
    - Viewed (0)
  5. pkg/kubelet/kubelet_pods.go

    		podIP = podIPs[0]
    	}
    
    	switch internalFieldPath {
    	case "spec.nodeName":
    		return pod.Spec.NodeName, nil
    	case "spec.serviceAccountName":
    		return pod.Spec.ServiceAccountName, nil
    	case "status.hostIP":
    		hostIPs, err := kl.getHostIPsAnyWay()
    		if err != nil {
    			return "", err
    		}
    		return hostIPs[0].String(), nil
    	case "status.hostIPs":
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  6. pkg/config/validation/validation_test.go

    				},
    			},
    			valid: false,
    		},
    	}
    	for _, c := range cases {
    		if got := validateTrafficPolicy(c.in).Err; (got == nil) != c.valid {
    			t.Errorf("ValidateTrafficPolicy failed on %v: got valid=%v but wanted valid=%v: %v",
    				c.name, got == nil, c.valid, got)
    		}
    	}
    }
    
    func TestValidateConnectionPool(t *testing.T) {
    	cases := []struct {
    		name  string
    		in    *networking.ConnectionPoolSettings
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 03:11:45 UTC 2024
    - 196K bytes
    - Viewed (0)
  7. 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)
  8. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

      // 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.
      bool InferShapeForCase(CaseOp op);
    
      // Infers the shape CaseRegion outputs based on the shapes of the branch
      // yields.
      bool InferShapeForCaseRegion(CaseRegionOp op);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K 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. src/cmd/compile/internal/ssa/rewriteMIPS64.go

    	case OpClosureCall:
    		v.Op = OpMIPS64CALLclosure
    		return true
    	case OpCom16:
    		return rewriteValueMIPS64_OpCom16(v)
    	case OpCom32:
    		return rewriteValueMIPS64_OpCom32(v)
    	case OpCom64:
    		return rewriteValueMIPS64_OpCom64(v)
    	case OpCom8:
    		return rewriteValueMIPS64_OpCom8(v)
    	case OpConst16:
    		return rewriteValueMIPS64_OpConst16(v)
    	case OpConst32:
    		return rewriteValueMIPS64_OpConst32(v)
    	case OpConst32F:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 31 03:59:48 UTC 2023
    - 211.6K bytes
    - Viewed (0)
Back to top