Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 58 for yield4x (0.33 sec)

  1. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/PropertyAccessResolver.kt

                runPropertyAccessResolution(
                    propertyAccess,
                    onLocalValue = { yield(AssignmentResolution.ReassignLocalVal(it.localValue)) },
                    onProperty = { yield(AssignmentResolution.AssignProperty(PropertyReferenceResolution(it.receiver, it.property))) },
                    onExternalObject = { yield(AssignmentResolution.ReassignExternal(it)) }
                )
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:01 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/tests/legalize-tf-while.mlir

    // CHECK:   call @while_cond_10_frozen0
    // CHECK:   yield
    // CHECK: ^bb0([[ARGS]]):
    // CHECK:   call @while_body
    // CHECK:   yield
    // CHECK: while_body
    // CHECK: while_cond
    
    // INLINE: tfl.while
    // INLINE: ^bb0([[ARGS:.*]]):
    // INLINE:   tf.Less
    // INLINE:   yield
    // INLINE: ^bb0([[ARGS]]):
    // INLINE:   %cst_2 = arith.constant
    // INLINE:   yield
    // INLINE-NOT: while_body
    // INLINE-NOT: while_cond
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. src/go/ast/walk_test.go

    	// This test checks that Preorder correctly handles a break statement while
    	// in the middle of walking a node. Previously, incorrect handling of the
    	// boolean returned by the yield function resulted in the iterator calling
    	// yield for sibling nodes even after yield had returned false. With that
    	// bug, this test failed with a runtime panic.
    	src := "package p\ntype T struct {\n\tF int `json:\"f\"` // a field\n}\n"
    
    	fset := token.NewFileSet()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:34:10 UTC 2024
    - 916 bytes
    - Viewed (0)
  4. src/cmd/link/testdata/linkname/ok.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Use of public API is ok.
    
    package main
    
    import (
    	"iter"
    	"unique"
    )
    
    func seq(yield func(int) bool) {
    	yield(123)
    }
    
    var s = "hello"
    
    func main() {
    	h := unique.Make(s)
    	next, stop := iter.Pull(seq)
    	defer stop()
    	println(h.Value())
    	println(next())
    	println(next())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 17:05:33 UTC 2024
    - 433 bytes
    - Viewed (0)
  5. docs/pt/docs/advanced/events.md

    A primeira coisa a notar, é que estamos definindo uma função assíncrona com `yield`. Isso é muito semelhante à Dependências com `yield`.
    
    ```Python hl_lines="14-19"
    {!../../../docs_src/events/tutorial003.py!}
    ```
    
    A primeira parte da função, antes do `yield`, será  executada **antes** da aplicação inicializar.
    
    E a parte posterior do `yield` irá executar **após** a aplicação ser encerrada.
    
    ### Gerenciador de Contexto Assíncrono
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/events.md

    ```Python hl_lines="14-19"
    {!../../../docs_src/events/tutorial003.py!}
    ```
    
    The first part of the function, before the `yield`, will be executed **before** the application starts.
    
    And the part after the `yield` will be executed **after** the application has finished.
    
    ### Async Context Manager
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  7. src/cmd/link/testdata/linkname/coro.go

    // Linkname coroswitch is not allowed, even if iter.Pull
    // is instantiated in the same package.
    
    package main
    
    import (
    	"iter"
    	"unsafe"
    )
    
    func seq(yield func(int) bool) {
    	yield(123)
    }
    
    func main() {
    	next, stop := iter.Pull(seq)
    	next()
    	stop()
    	coroswitch(nil)
    }
    
    //go:linkname coroswitch runtime.coroswitch
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 17:05:33 UTC 2024
    - 506 bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/cluster_outlining.mlir

          %3 = "tf_device.cluster"() ({
            %4 = "tf.B"(%2) : (tensor<?xi32>) -> tensor<?xi32>
            tf_device.return %4 : tensor<?xi32>
          }) {} : () -> tensor<?xi32>
    
          // CHECK: tf_executor.yield %[[CLUSTER_OUTPUT]]
          tf_executor.yield %3 : tensor<?xi32>
        }
        tf_executor.fetch %1#0 : tensor<?xi32>
      }
      func.return %0 : tensor<?xi32>
    }
    
    // CHECK: func private @[[CLUSTER]]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. src/internal/trace/testdata/testprog/iter-pull.go

    				break
    			}
    			iterChans[0] <- i
    		}
    	}()
    	wg.Wait()
    
    	// End of traced execution.
    	trace.Stop()
    }
    
    func pullRange(n int) intIter {
    	next, stop := iter.Pull(func(yield func(v int) bool) {
    		for i := range n {
    			yield(i)
    		}
    	})
    	return intIter{next: next, stop: stop}
    }
    
    type intIter struct {
    	next func() (int, bool)
    	stop func()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/BuildScriptErrorIntegrationTest.groovy

                    .assertHasLineNumber(4)
        }
    
        @Issue("https://github.com/gradle/gradle/issues/14984")
        def "referencing a non-existing closure-taking method yields a helpful error message"() {
            buildFile << """
                plugins {
                    id("java")
                }
    
                java {
                    toolchains { // should be toolchain
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 17:01:37 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top