Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 2,757 for yield (0.15 sec)

  1. platforms/jvm/toolchains-jvm/src/main/java/org/gradle/jvm/toolchain/internal/JavaExecutableUtils.java

            if (!executableFile.isAbsolute()) {
                DeprecationLogger.deprecateBehaviour("Configuring a Java executable via a relative path.")
                        .withContext("Resolving relative file paths might yield unexpected results, there is no single clear location it would make sense to resolve against.")
                        .withAdvice("Configure an absolute path to a Java executable instead.")
                        .willBecomeAnErrorInGradle9()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jul 28 16:17:59 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  2. platforms/core-configuration/kotlin-dsl-provider-plugins/src/main/kotlin/org/gradle/kotlin/dsl/provider/plugins/DefaultProjectSchemaProvider.kt

        get() = sequence {
    
            yield(this@ancestorClassesIncludingSelf)
    
            var superclass: Class<*>? = superclass
            while (superclass != null) {
                val thisSuperclass: Class<*> = superclass
                val nextSuperclass = thisSuperclass.superclass
                if (nextSuperclass != null) { // skip java.lang.Object
                    yield(thisSuperclass)
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 13:09:46 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  3. src/fmt/doc.go

    will use arguments n+1, n+2, etc. unless otherwise directed.
    
    For example,
    
    	fmt.Sprintf("%[2]d %[1]d\n", 11, 22)
    
    will yield "22 11", while
    
    	fmt.Sprintf("%[3]*.[2]*[1]f", 12.0, 2, 6)
    
    equivalent to
    
    	fmt.Sprintf("%6.2f", 12.0)
    
    will yield " 12.00". Because an explicit index affects subsequent verbs,
    this notation can be used to print the same values multiple times
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:56:20 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  4. tests/test_router_events.py

    
    def test_app_lifespan_state(state: State) -> None:
        @asynccontextmanager
        async def lifespan(app: FastAPI) -> AsyncGenerator[None, None]:
            state.app_startup = True
            yield
            state.app_shutdown = True
    
        app = FastAPI(lifespan=lifespan)
    
        @app.get("/")
        def main() -> Dict[str, str]:
            return {"message": "Hello World"}
    
        assert state.app_startup is False
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Oct 18 12:36:40 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  5. src/reflect/iter_test.go

    				}
    				m[v.Int()] = true
    				i++
    			}
    			if i != 3 {
    				t.Fatalf("should loop three times")
    			}
    		}},
    		{"func", ValueOf(func(yield func(int) bool) {
    			for i := range 4 {
    				if !yield(i) {
    					return
    				}
    			}
    		}), func(t *testing.T, s iter.Seq[Value]) {
    			i := int64(0)
    			for v := range s {
    				if v.Int() != i {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 14:27:54 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/zip.kt

    fun zipTo(zipFile: File, baseDir: File) {
        zipTo(zipFile, baseDir, baseDir.walkReproducibly())
    }
    
    
    internal
    fun File.walkReproducibly(): Sequence<File> = sequence {
    
        require(isDirectory)
    
        yield(this@walkReproducibly)
    
        var directories: List<File> = listOf(this@walkReproducibly)
        while (directories.isNotEmpty()) {
            val subDirectories = mutableListOf<File>()
            directories.forEach { dir ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Aug 31 20:39:17 UTC 2023
    - 3.5K bytes
    - Viewed (1)
  7. tensorflow/compiler/mlir/tensorflow/transforms/tf_executor_to_functional.cc

                                             island_body.begin(),
                                             std::prev(island_body.end()));
        // Forward island fetches (tf_executor.yield operands) to island op result
        // uses.
        for (auto result :
             llvm::zip(island_op.getOutputs(), island_op.GetYield().getFetches()))
          std::get<0>(result).replaceAllUsesWith(std::get<1>(result));
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 11 20:52:36 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/concurrency_test.py

                  ),
              ]
          )
          def add(self, x, y):
            res = math_ops.add(x, y)
            return {'output': res}
    
        def data_gen():
          for _ in range(255):
            yield {
                'x': ops.convert_to_tensor(
                    np.random.uniform(size=(10)).astype('f4')
                ),
                'y': ops.convert_to_tensor(
                    np.random.uniform(size=(10)).astype('f4')
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Sep 11 00:47:05 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  9. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/inet/SocketConnection.java

                    if (count < 0) {
                        throw new EOFException();
                    } else if (count == 0) {
                        // buffer was full, just call Thread.yield
                        Thread.yield();
                    }
                }
                return count;
            }
    
            private void waitForWriteBufferToDrain() throws IOException {
                if (selector == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/tests/default_quant_params.mlir

        %4 = "tf.LayerNorm"(%a1, %a2, %a3, %a4) {_tfl_quant_trait = "fully_quantizable", device = ""} : (tensor<128x128xf32>, tensor<1xf32>, tensor<1xf32>, tensor<1xi32>) -> tensor<128x128xf32>
       "tfl.yield"(%4) : (tensor<128x128xf32>) -> ()
      }) {_tfl_quant_trait = "fully_quantizable", device = ""} : (tensor<128x128xf32>, tensor<1xf32>, tensor<1xf32>, tensor<1xi32>) -> tensor<128x128xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 8.8K bytes
    - Viewed (0)
Back to top