Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. test/inline.go

    }
    
    // Issue #14768 - make sure we can inline for loops.
    func for1(fn func() bool) { // ERROR "can inline for1" "fn does not escape"
    	for {
    		if fn() {
    			break
    		} else {
    			continue
    		}
    	}
    }
    
    func for2(fn func() bool) { // ERROR "can inline for2" "fn does not escape"
    Loop:
    	for {
    		if fn() {
    			break Loop
    		} else {
    			continue Loop
    		}
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  2. test/newinline.go

    }
    
    // Issue #14768 - make sure we can inline for loops.
    func for1(fn func() bool) { // ERROR "can inline for1" "fn does not escape"
    	for {
    		if fn() {
    			break
    		} else {
    			continue
    		}
    	}
    }
    
    func for2(fn func() bool) { // ERROR "can inline for2" "fn does not escape"
    Loop:
    	for {
    		if fn() {
    			break Loop
    		} else {
    			continue Loop
    		}
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 20:15:25 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  3. src/go/parser/parser_test.go

    	{name: "for0", format: "package main; func main() { «for { «» }» }", scope: true, scopeMultiplier: 2},                            // Scopes: ForStmt, BlockStmt
    	{name: "for1", format: "package main; func main() { «for x { «» }» }", scope: true, scopeMultiplier: 2},                          // Scopes: ForStmt, BlockStmt
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 20:26:14 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  4. test/for.go

    	sum = 0
    	for i := 0; i <= 10; {
    		sum = sum + i
    		i++
    	}
    	assertequal(sum, 55, "only two")
    
    	sum = 0
    	for sum < 100 {
    		sum = sum + 9
    	}
    	assertequal(sum, 99+9, "only one")
    
    	sum = 0
    	for i := 0; i <= 10; i++ {
    		if i%2 == 0 {
    			continue
    		}
    		sum = sum + i
    	}
    	assertequal(sum, 1+3+5+7+9, "continue")
    
    	i = 0
    	for i = range [5]struct{}{} {
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 10 16:36:41 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/tpu-resource-read-for-write.mlir

    // RUN: tf-opt -tf-tpu-resource-read-for-write %s | FileCheck %s --dump-input=always
    
    // CHECK-LABEL: func @write_only_resource
    // CHECK-SAME: ([[ARG0:%.*]]: tensor<i32>, [[ARG1:%.*]]: tensor<f32>, [[ARG2:%.*]]: tensor<*x!tf_type.resource<tensor<i32>>>)
    func.func @write_only_resource(%arg0: tensor<i32>, %arg1: tensor<f32>, %arg2: tensor<*x!tf_type.resource<tensor<i32>>>) {
      // CHECK-NEXT: [[READ:%.*]] = "tf.ReadVariableOp"([[ARG2]])
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 16:54:40 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/dependencyManagement/managingTransitiveDependencies-excludeForConfiguration/tests/exclude-transitive-for-configuration.sample.conf

    Laura Kassovic <******@****.***> 1701107622 -0800
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 100 bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/dependencyManagement/managingTransitiveDependencies-excludeForDependency/tests/exclude-transitive-for-dependency.sample.conf

    Laura Kassovic <******@****.***> 1701107622 -0800
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 409 bytes
    - Viewed (0)
  8. .github/workflows/notify-on-rc-for-manual-test.yml

    name: IDE Experience team notifier
    run-name: Notify the IDE Experience team about new RCs for manual testing
    on:
      push:
        tags:
          - 'v*.*.*-RC1'
    
    permissions: {}
    
    jobs:
      send-slack-notification:
        runs-on: ubuntu-latest
        steps:
          - name: Send Slack notification about new RCs for manual testing
            id: slack
            uses: slackapi/slack-github-action@v1.23.0
            with:
              payload: |
                {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 02 09:13:16 UTC 2024
    - 1K bytes
    - Viewed (0)
  9. releasenotes/notes/45564-virtualHost-Domains-for-dual-stack.yaml

    Ian Rudie <******@****.***> 1689205986 -0700
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 12 23:53:06 UTC 2023
    - 229 bytes
    - Viewed (0)
  10. releasenotes/notes/add-cluster-id-for-cluster-sync-metrics.yaml

    apiVersion: release-notes/v2
    
    # This YAML file describes the format for specifying a release notes entry for Istio.
    # This should be filled in for all user facing changes.
    
    # kind describes the type of change that this represents.
    # Valid Values are:
    # - bug-fix -- Used to specify that this change represents a bug fix.
    # - security-fix -- Used to specify that this change represents a vulnerability fix.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 01 17:51:34 UTC 2023
    - 1.1K bytes
    - Viewed (0)
Back to top