Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 132 for case2 (0.13 sec)

  1. cmd/object-handlers_test.go

    				switch test.fault {
    				case MissingContentLength:
    					req.ContentLength = -1
    					// Setting the content length to a value greater than the max allowed size of a part.
    					// Used in test case  4.
    				case TooBigObject:
    					req.ContentLength = globalMaxObjectSize + 1
    					// Malformed signature.
    					// Used in test case  6.
    				case BadSignature:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 161.9K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/ppc64/asm9.go

    	case C_S16CON:
    		return cmp(C_U15CON, b)
    	case C_U16CON:
    		return cmp(C_U15CON, b)
    	case C_16CON:
    		return cmp(C_S16CON, b) || cmp(C_U16CON, b)
    	case C_U31CON:
    		return cmp(C_U16CON, b)
    	case C_U32CON:
    		return cmp(C_U31CON, b)
    	case C_S32CON:
    		return cmp(C_U31CON, b) || cmp(C_S16CON, b)
    	case C_32CON:
    		return cmp(C_S32CON, b) || cmp(C_U32CON, b)
    	case C_S34CON:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:55:28 UTC 2024
    - 156.1K bytes
    - Viewed (0)
  3. 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)
  4. src/cmd/internal/obj/arm64/asm7.go

    		}
    
    	case C_PSAUTO_4:
    		switch b {
    		case C_ZAUTO, C_PSAUTO_16, C_PSAUTO_8:
    			return true
    		}
    
    	case C_PSAUTO:
    		switch b {
    		case C_ZAUTO, C_PSAUTO_16, C_PSAUTO_8, C_PSAUTO_4:
    			return true
    		}
    
    	case C_PPAUTO_16:
    		switch b {
    		case C_ZAUTO, C_PSAUTO_16:
    			return true
    		}
    
    	case C_PPAUTO:
    		switch b {
    		case C_ZAUTO, C_PSAUTO_16, C_PSAUTO_8, C_PPAUTO_16:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 201.1K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. src/cmd/internal/obj/s390x/asmz.go

    		case AADDC:
    			opcode = op_ALGRK
    		case AADDE:
    			opcode = op_ALCGR
    		case AADDW:
    			opcode = op_ARK
    		case AMULLW:
    			opcode = op_MSGFR
    		case AMULLD:
    			opcode = op_MSGR
    		case ADIVW, AMODW:
    			opcode = op_DSGFR
    		case ADIVWU, AMODWU:
    			opcode = op_DLR
    		case ADIVD, AMODD:
    			opcode = op_DSGR
    		case ADIVDU, AMODDU:
    			opcode = op_DLGR
    		}
    
    		switch p.As {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 17:46:09 UTC 2024
    - 176.7K bytes
    - Viewed (0)
  9. 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)
  10. src/net/http/server.go

    			// (see above).
    		case *body:
    			bdy.mu.Lock()
    			switch {
    			case bdy.closed:
    				if !bdy.sawEOF {
    					// Body was closed in handler with non-EOF error.
    					w.closeAfterReply = true
    				}
    			case bdy.unreadDataSizeLocked() >= maxPostHandlerReadBytes:
    				tooBig = true
    			default:
    				discard = true
    			}
    			bdy.mu.Unlock()
    		default:
    			discard = true
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
Back to top