Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,138 for yield (0.23 sec)

  1. guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

                  while (!shutdown.get()) {
                    interruptee.interrupt();
                    Thread.yield();
                  }
                }
              });
          this.shutdown = shutdown;
          start();
        }
    
        void shutdown() {
          shutdown.set(true);
          while (this.isAlive()) {
            Thread.yield();
          }
        }
      }
    
      void assertWrapsInterruptedException(RuntimeException e) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/internal/operations/notify/BuildOperationNotificationListenerRegistrar.java

    /**
     * Mechanism by which the scan plugin registers for notifications.
     * <p>
     * One instance of this exists per build tree.
     * Only one listener may register.
     * Subsequent attempts yield exceptions.
     *
     * @since 4.0
     */
    @UsedByScanPlugin("obtained from the root build's root project's service registry")
    @ServiceScope(Scope.CrossBuildSession.class)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 06:02:18 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

                  while (!shutdown.get()) {
                    interruptee.interrupt();
                    Thread.yield();
                  }
                }
              });
          this.shutdown = shutdown;
          start();
        }
    
        void shutdown() {
          shutdown.set(true);
          while (this.isAlive()) {
            Thread.yield();
          }
        }
      }
    
      void assertWrapsInterruptedException(RuntimeException e) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/inlining.mlir

          %result_2 = "tf.StatefulPartitionedCall"() {config = "", config_proto = "", executor_type = "", f = @inline_into_island_multi_block_callee} : () -> tensor<2xi32>
    
          // CHECK-NEXT: tf_executor.yield %[[CST]], %[[CALL]]
          tf_executor.yield %result, %result_2 : tensor<2xi32>, tensor<2xi32>
        }
        tf_executor.fetch %1#1, %1#1 : tensor<2xi32>, tensor<2xi32>
      }
      func.return %0#1, %0#1 : tensor<2xi32>, tensor<2xi32>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  5. test/rangegen.go

    	if verbose {
    		println("did", "%[3]s", "%[4]s", len(all))
    	}
    }
    `
    
    var mainCode = `
    
    func main() {
    	if verbose {
    		println("main")
    	}
    	%s
    }
    
    func yield2(yield func(int)bool) { _ = yield(1) && yield(2) }
    var slice2 = []int{1,2}
    
    type output struct {
    	ret int
    	trace []any
    }
    
    func (o *output) log(x any) {
    	o.trace = append(o.trace, x)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 23:35:19 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/KtFirPackageScope.kt

            sequence {
                analysisSession.useSitePackageProvider.getSubPackageFqNames(fqName, analysisSession.targetPlatform, nameFilter).forEach {
                    yield(analysisSession.firSymbolBuilder.createPackageSymbol(fqName.child(it)))
                }
            }
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. src/vendor/golang.org/x/crypto/sha3/shake.go

    // N is used to define functions based on cSHAKE, it can be empty when plain cSHAKE is
    // desired. S is a customization byte string used for domain separation - two cSHAKE
    // computations on same input with different S yield unrelated outputs.
    // When N and S are both empty, this is equivalent to NewShake128.
    func NewCShake128(N, S []byte) ShakeHash {
    	if len(N) == 0 && len(S) == 0 {
    		return NewShake128()
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_async_sql_databases/test_tutorial001.py

    from ...utils import needs_pydanticv1
    
    
    @pytest.fixture(name="app", scope="module")
    def get_app():
        with pytest.warns(DeprecationWarning):
            from docs_src.async_sql_databases.tutorial001 import app
        yield app
    
    
    # TODO: pv2 add version with Pydantic v2
    @needs_pydanticv1
    def test_create_read(app: FastAPI):
        with TestClient(app) as client:
            note = {"text": "Foo bar", "completed": False}
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Oct 18 12:36:40 UTC 2023
    - 6K bytes
    - Viewed (0)
  9. 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)
  10. 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 (0)
Back to top