- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for AtomicBoolean (0.07 sec)
-
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.cache-miss-monitor.gradle.kts
gradleRootProject.extensions.findByType<BuildScanConfiguration>()?.run { buildFinished { if ((cacheMissInBuildLogic as AtomicBoolean).get() || (cacheMissInMainBuild as AtomicBoolean).get()) { tag("CACHE_MISS") } } } } } fun buildCacheEnabled() = gradle.startParameter.isBuildCacheEnabled
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Fri Apr 11 20:57:49 UTC 2025 - 4.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java
private ServerSocket makeMyServerExampleWithFrq(AtomicBoolean finalizeReferentRan) throws IOException { MyServerExampleWithFrq myServer = MyServerExampleWithFrq.create(finalizeReferentRan); assertThat(myServer.serverSocket.isClosed()).isFalse(); return myServer.serverSocket; } @Test public void testMyServerExampleWithFrq() throws Exception { AtomicBoolean finalizeReferentRan = new AtomicBoolean(false);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:07:52 UTC 2025 - 8.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java
Monitor monitor, boolean expectedIsOccupied, boolean expectedIsOccupiedByCurrentThread, int expectedOccupiedDepth) { AtomicBoolean actualIsOccupied = new AtomicBoolean(); AtomicBoolean actualIsOccupiedByCurrentThread = new AtomicBoolean(); AtomicInteger actualOccupiedDepth = new AtomicInteger(); AtomicReference<Throwable> thrown = new AtomicReference<>(); joinUninterruptibly(Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 5K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java
Monitor monitor, boolean expectedIsOccupied, boolean expectedIsOccupiedByCurrentThread, int expectedOccupiedDepth) { AtomicBoolean actualIsOccupied = new AtomicBoolean(); AtomicBoolean actualIsOccupiedByCurrentThread = new AtomicBoolean(); AtomicInteger actualOccupiedDepth = new AtomicInteger(); AtomicReference<Throwable> thrown = new AtomicReference<>(); joinUninterruptibly(Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/AccessTimeoutTarget.java
private static final int MAX_LOOP_COUNT = 10; /** The thread being monitored. */ protected Thread runningThread; /** Flag indicating if the thread is still running. */ protected AtomicBoolean running = new AtomicBoolean(); /** * Constructs an AccessTimeoutTarget with the specified thread. * @param thread The thread to monitor. */ public AccessTimeoutTarget(final Thread thread) {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 2.8K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java
class Interruptenator extends Thread { final AtomicBoolean shutdown; Interruptenator(Thread interruptee) { this(interruptee, new AtomicBoolean(false)); } @SuppressWarnings("ThreadPriorityCheck") // TODO: b/175898629 - Consider onSpinWait. Interruptenator(Thread interruptee, AtomicBoolean shutdown) { super( new Runnable() { @OverrideRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Dec 08 17:02:07 UTC 2025 - 7.9K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildStep.java
final Collection<BuildStep> predecessors = new HashSet<>(); final Collection<BuildStep> successors = new HashSet<>(); final AtomicInteger status = new AtomicInteger(); final AtomicBoolean skip = new AtomicBoolean(); volatile Exception exception; public BuildStep(String name, MavenProject project, Lifecycle.Phase phase) { this.name = Objects.requireNonNull(name, "name cannot be null");
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Apr 30 16:21:08 UTC 2025 - 4.9K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/GcFinalizationTest.java
class Interruptenator extends Thread { final AtomicBoolean shutdown; Interruptenator(Thread interruptee) { this(interruptee, new AtomicBoolean(false)); } @SuppressWarnings("ThreadPriorityCheck") // TODO: b/175898629 - Consider onSpinWait. Interruptenator(Thread interruptee, AtomicBoolean shutdown) { super( new Runnable() { @OverrideRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Dec 08 17:02:07 UTC 2025 - 7.9K bytes - Viewed (0) -
mockwebserver-junit4/src/test/java/mockwebserver3/junit4/MockWebServerRuleTest.kt
import java.net.ConnectException import java.util.concurrent.atomic.AtomicBoolean import org.junit.Assert.fail import org.junit.Test import org.junit.runner.Description import org.junit.runners.model.Statement class MockWebServerRuleTest { @Test fun statementStartsAndStops() { val rule = MockWebServerRule() val called = AtomicBoolean() val statement: Statement = rule.apply(Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java
assertThat(executionException).hasCauseThat().isEqualTo(e); } @J2ktIncompatible @GwtIncompatible // blocking wait public void testCancel_interrupted() throws Exception { AtomicBoolean interruptedExceptionThrown = new AtomicBoolean(); CountDownLatch enterLatch = new CountDownLatch(1); CountDownLatch exitLatch = new CountDownLatch(1); TrustedListenableFutureTask<Integer> task =
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 7.2K bytes - Viewed (0)