- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 558 for nThreads (0.14 sec)
-
src/runtime/lock_wasip1.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build wasip1 package runtime // wasm has no support for threads yet. There is no preemption. // See proposal: https://github.com/WebAssembly/threads // Waiting for a mutex or timeout is implemented as a busy loop // while allowing other goroutines to run. const ( mutex_unlocked = 0 mutex_locked = 1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 21:02:20 UTC 2023 - 2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/CallablesTest.java
fail("Expected exception to be thrown"); } catch (ExecutionException e) { assertThat(e).hasCauseThat().isSameInstanceAs(expected); } } @J2ktIncompatible @GwtIncompatible // threads public void testRenaming() throws Exception { String oldName = Thread.currentThread().getName(); final Supplier<String> newName = Suppliers.ofInstance("MyCrazyThreadName"); Callable<@Nullable Void> callable =
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 13 14:28:25 UTC 2024 - 5.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/CallablesTest.java
fail("Expected exception to be thrown"); } catch (ExecutionException e) { assertThat(e).hasCauseThat().isSameInstanceAs(expected); } } @J2ktIncompatible @GwtIncompatible // threads public void testRenaming() throws Exception { String oldName = Thread.currentThread().getName(); final Supplier<String> newName = Suppliers.ofInstance("MyCrazyThreadName"); Callable<@Nullable Void> callable =
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 13 14:28:25 UTC 2024 - 5.4K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/file/archive/DefaultDecompressionCoordinator.java
// withFileLock prevents other processes from extracting into the expandedDir at the same time // but multiple threads in this process could still try to extract into the same directory. cache.withFileLock(() -> { // guardByKey prevents multiple threads in this process from extracting into the same directory at the same time. guard.guardByKey(expandedDir, () -> { action.run();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 26 15:15:04 UTC 2024 - 2.6K bytes - Viewed (0) -
subprojects/core/src/testFixtures/groovy/org/gradle/internal/classpath/intercept/TestInterceptorsSubstitution.groovy
* Make sure that the call sites that should be affected by the change are only reached after the interceptors have been substituted. * * The interceptors are substituted per-thread because other threads may be executing unrelated tests. */ abstract class TestInterceptorsSubstitution<T> { private final T substitution TestInterceptorsSubstitution(T substitution) { this.substitution = substitution
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 16:29:37 UTC 2023 - 3.3K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/CommandLineIntegrationSpec.groovy
when: def gradle = executer.withArgument("-Dorg.gradle.debug=true").withTasks("help").start() then: ConcurrentTestUtil.poll() { // Connect, resume threads, and disconnect from VM jdwpClient.connect().dispose() } gradle.waitForFinish() } @Issue('https://github.com/gradle/gradle/issues/18084')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 05:05:14 UTC 2024 - 8.6K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Striped64.java
* free slot. * * The table size is capped because, when there are more threads * than CPUs, supposing that each thread were bound to a CPU, * there would exist a perfect hash function mapping threads to * slots that eliminates collisions. When we reach capacity, we * search for this mapping by randomly varying the hash codes of * colliding threads. Because search is random, and collisions
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Jun 07 22:25:23 UTC 2024 - 11.5K bytes - Viewed (0) -
guava/src/com/google/common/cache/Striped64.java
* free slot. * * The table size is capped because, when there are more threads * than CPUs, supposing that each thread were bound to a CPU, * there would exist a perfect hash function mapping threads to * slots that eliminates collisions. When we reach capacity, we * search for this mapping by randomly varying the hash codes of * colliding threads. Because search is random, and collisions
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Jun 07 22:25:23 UTC 2024 - 11.5K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/Striped64.java
* free slot. * * The table size is capped because, when there are more threads * than CPUs, supposing that each thread were bound to a CPU, * there would exist a perfect hash function mapping threads to * slots that eliminates collisions. When we reach capacity, we * search for this mapping by randomly varying the hash codes of * colliding threads. Because search is random, and collisions
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Jun 07 22:25:23 UTC 2024 - 11.5K bytes - Viewed (2) -
guava/src/com/google/common/hash/Striped64.java
* free slot. * * The table size is capped because, when there are more threads * than CPUs, supposing that each thread were bound to a CPU, * there would exist a perfect hash function mapping threads to * slots that eliminates collisions. When we reach capacity, we * search for this mapping by randomly varying the hash codes of * colliding threads. Because search is random, and collisions
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Jun 07 22:25:23 UTC 2024 - 11.5K bytes - Viewed (0)