Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 3,443 for switch3 (0.14 sec)

  1. build-logic/jvm/src/main/kotlin/gradlebuild/startscript/tasks/GradleStartScriptGenerator.kt

                        line + getAgentOptions("\$APP_HOME").joinToString(separator = " ", prefix = "\" ", postfix = "\"") {
                            // Wrap the agent switch in double quotes, as the expanded APP_HOME may contain spaces.
                            // The joined line is enclosed in double quotes too, so double quotes here must be escaped.
                            "\\\"$it\\\""
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 24 10:25:27 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  2. src/vendor/golang.org/x/sys/cpu/cpu_arm64.go

    	}
    
    	switch extractBits(isar0, 16, 19) {
    	case 1:
    		ARM64.HasCRC32 = true
    	}
    
    	switch extractBits(isar0, 20, 23) {
    	case 2:
    		ARM64.HasATOMICS = true
    	}
    
    	switch extractBits(isar0, 28, 31) {
    	case 1:
    		ARM64.HasASIMDRDM = true
    	}
    
    	switch extractBits(isar0, 32, 35) {
    	case 1:
    		ARM64.HasSHA3 = true
    	}
    
    	switch extractBits(isar0, 36, 39) {
    	case 1:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. src/internal/types/testdata/check/stmt0.go

    func typeswitches() {
    	var i int
    	var x interface{}
    
    	switch x.(type) {}
    	switch (x /* ERROR "outside type switch" */ .(type)) {}
    
    	switch x.(type) {
    	default:
    	default /* ERROR "multiple defaults" */ :
    	}
    
    	switch x /* ERROR "declared and not used" */ := x.(type) {}
    	switch _ /* ERROR "no new variable on left side of :=" */ := x.(type) {}
    
    	switch x := x.(type) {
    	case int:
    		var y int = x
    		_ = y
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 19K bytes
    - Viewed (0)
  4. pkg/client/conditions/conditions.go

    func PodRunning(event watch.Event) (bool, error) {
    	switch event.Type {
    	case watch.Deleted:
    		return false, errors.NewNotFound(schema.GroupResource{Resource: "pods"}, "")
    	}
    	switch t := event.Object.(type) {
    	case *v1.Pod:
    		switch t.Status.Phase {
    		case v1.PodRunning:
    			return true, nil
    		case v1.PodFailed, v1.PodSucceeded:
    			return false, ErrPodCompleted
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 16 13:43:36 UTC 2023
    - 2K bytes
    - Viewed (0)
  5. src/vendor/golang.org/x/net/nettest/nettest.go

    	ss := strings.Split(network, ":")
    	switch ss[0] {
    	case "ip+nopriv":
    		// This is an internal network name for testing on the
    		// package net of the standard library.
    		switch runtime.GOOS {
    		case "android", "fuchsia", "hurd", "ios", "js", "nacl", "plan9", "wasip1", "windows":
    			return false
    		}
    	case "ip", "ip4", "ip6":
    		switch runtime.GOOS {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  6. src/internal/cpu/cpu_arm64.go

    }
    
    func parseARM64SystemRegisters(isar0 uint64) {
    	// ID_AA64ISAR0_EL1
    	switch extractBits(isar0, 4, 7) {
    	case 1:
    		ARM64.HasAES = true
    	case 2:
    		ARM64.HasAES = true
    		ARM64.HasPMULL = true
    	}
    
    	switch extractBits(isar0, 8, 11) {
    	case 1:
    		ARM64.HasSHA1 = true
    	}
    
    	switch extractBits(isar0, 12, 15) {
    	case 1:
    		ARM64.HasSHA2 = true
    	case 2:
    		ARM64.HasSHA2 = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 25 14:08:20 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/ir/tf_executor.cc

    //===----------------------------------------------------------------------===//
    // tf_executor.SwitchN
    //===----------------------------------------------------------------------===//
    
    LogicalResult SwitchNOp::verify() {
      SwitchNOp switchn = *this;
      IntegerAttr num_outs = switchn->getAttrOfType<IntegerAttr>("num_outs");
      if (!num_outs)
        return switchn.emitOpError() << "expects a `num_outs` integer attribute";
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  8. src/internal/platform/supported.go

    		return false // platform unrecognized
    	}
    
    	platform := goos + "/" + goarch
    	switch buildmode {
    	case "archive":
    		return true
    
    	case "c-archive":
    		switch goos {
    		case "aix", "darwin", "ios", "windows":
    			return true
    		case "linux":
    			switch goarch {
    			case "386", "amd64", "arm", "armbe", "arm64", "arm64be", "loong64", "ppc64le", "riscv64", "s390x":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:50:22 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  9. src/internal/types/testdata/check/stmt1.go

    	switch x {
    	case 0: return
    	case 1: break
    	}
    } /* ERROR "missing return" */
    
    func _(x, y int) (z int) {
    	switch x {
    	case 0: return
    	default:
    		switch y {
    		case 0: break
    		}
    		panic(0)
    	}
    }
    
    func _(x, y int) (z int) {
    	switch x {
    	case 0: return
    	default:
    		switch y {
    		case 0: break
    		}
    		panic(0); ; ;
    	}
    	;
    }
    
    func _(x, y int) (z int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 02 02:58:32 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  10. pkg/config/protocol/instance.go

    func (i Instance) IsTLS() bool {
    	switch i {
    	case HTTPS, TLS:
    		return true
    	default:
    		return false
    	}
    }
    
    // IsHTTPS is true if protocol is HTTPS
    func (i Instance) IsHTTPS() bool {
    	switch i {
    	case HTTPS:
    		return true
    	default:
    		return false
    	}
    }
    
    // IsGRPC is true for GRPC protocols.
    func (i Instance) IsGRPC() bool {
    	switch i {
    	case GRPC, GRPCWeb:
    		return true
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 01 02:46:15 UTC 2023
    - 4.3K bytes
    - Viewed (0)
Back to top