Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of about 10,000 for if (0.11 sec)

  1. test/if.go

    	}
    	assertequal(count, 0, "if false")
    
    	count = 0
    	if one := 1; true {
    		count = count + one
    	}
    	assertequal(count, 1, "if true one")
    
    	count = 0
    	if one := 1; false {
    		count = count + 1
    		_ = one
    	}
    	assertequal(count, 0, "if false one")
    
    	count = 0
    	if i5 < i7 {
    		count = count + 1
    	}
    	assertequal(count, 1, "if cond")
    
    	count = 0
    	if true {
    		count = count + 1
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 07:47:26 UTC 2012
    - 1.4K bytes
    - Viewed (0)
  2. test/syntax/if.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    func x() {
    }
    
    func main() {
    	if {  // ERROR "missing condition"
    	}
    	
    	if x(); {  // ERROR "missing condition"
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 304 bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/functionalize-if.mlir

    // CHECK: func @main()
    // CHECK: computation = @[[FUNCTIONALIZE_FUNC:[A-Za-z0-9_]*]]
    
    
    // In the newly cloned function, check that we have a _tf.If operation and capture the then and else branch.
    // CHECK: func private @[[FUNCTIONALIZE_FUNC]]
    // CHECK: "tf.If"
    // CHECK-SAME:  else_branch = @[[ELSE_FUNC:[A-Za-z0-9_]*]]
    // CHECK-SAME:  then_branch = @[[THEN_FUNC:[A-Za-z0-9_]*]]
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/functional-if-ops.mlir

      }
      func.return %0 : tensor<*xf32>
    }
    
    // Verify that If op is mapped to TensorFlow StatelessIf op if the is_stateless
    // attribute is present and otherwise it is mapped to TensorFlow If op. In both
    // cases, the additional attribute should be dropped.
    
    // CHECK: name: "StatefulIf"
    // CHECK-NOT: name:
    // CHECK: op: "If"
    // CHECK-NOT: is_stateless
    // CHECK:  attr {
    // CHECK:    key: "output_shapes"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 25 12:28:56 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/functional-if-ops.pbtxt

    # Verify that TensorFlow If and StatelessIf ops are mapped to the
    # composite If op in MLIR with is_stateless attribute set accordingly to
    # distinguish between them.
    
    # CHECK-DAG: "tf.If"{{.*}} is_stateless = false{{.*}} loc(fused["If:", "StatefulIf"])
    # CHECK-DAG: "tf.If"{{.*}} is_stateless = true{{.*}} loc(fused["StatelessIf:", "StatelessIf"])
    
    node {
      name: "tf.Less"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Nov 15 19:42:47 UTC 2021
    - 3.9K bytes
    - Viewed (0)
  6. cluster/images/etcd/migrate-if-needed.sh

    # See the License for the specific language governing permissions and
    # limitations under the License.
    
    
    # DEPRECATED:
    # The functionality has been moved to migrate binary and this script
    # if left for backward compatibility with previous manifests. It will be
    # removed in the future.
    
    set -o errexit
    set -o nounset
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 22 18:45:58 UTC 2020
    - 836 bytes
    - Viewed (0)
  7. cluster/images/etcd/migrate-if-needed.bat

    REM See the License for the specific language governing permissions and
    REM limitations under the License.
    
    REM DEPRECATED:
    REM The functionality has been moved to migrate binary and this script
    REM if left for backward compatibility with previous manifests. It will be
    REM removed in the future.
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 24 18:28:00 UTC 2021
    - 833 bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/functionalize-if-fail.mlir

    Adrian Kuegel <******@****.***> 1648469008 -0700
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  9. releasenotes/notes/exit-if-sds-socket-not-found.yaml

    area: security
    issue:
    - 45534
    releaseNotes:
    - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jul 11 22:42:46 UTC 2023
    - 313 bytes
    - Viewed (0)
  10. test/fixedbugs/issue2615.go

    		return 19
    	} else if x[0]&(1<<20) != 0 {
    		return 20
    	} else if x[0]&(1<<21) != 0 {
    		return 21
    	} else if x[0]&(1<<22) != 0 {
    		return 22
    	} else if x[0]&(1<<23) != 0 {
    		return 23
    	} else if x[0]&(1<<24) != 0 {
    		return 24
    	} else if x[0]&(1<<25) != 0 {
    		return 25
    	} else if x[0]&(1<<26) != 0 {
    		return 26
    	} else if x[0]&(1<<27) != 0 {
    		return 27
    	} else if x[0]&(1<<28) != 0 {
    		return 28
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 11.5K bytes
    - Viewed (0)
Back to top