- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 48 for AtomicBoolean (0.23 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
AtomicReference<AbstractFuture<String>> setFutureFuture = Atomics.newReference(); AtomicBoolean setFutureSetSuccess = new AtomicBoolean(); AtomicBoolean setFutureCompletionSuccess = new AtomicBoolean(); AtomicBoolean cancellationSuccess = new AtomicBoolean(); Runnable cancelRunnable = new Runnable() { @Override public void run() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 46.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java
/** Queue of documents. */ protected final Queue<Map<String, Object>> queue = new ConcurrentLinkedQueue<>(); /** Flag indicating if reading is finished. */ protected final AtomicBoolean isFinished = new AtomicBoolean(false); /** OpenSearch client. */ protected final Client client; /** Suggest settings. */ protected final SuggestSettings settings; /** Index name. */Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 11.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java
public void testRemovalNotification_clear() throws InterruptedException { // If a clear() happens while a computation is pending, we should not get a removal // notification. AtomicBoolean shouldWait = new AtomicBoolean(false); CountDownLatch computingLatch = new CountDownLatch(1); CacheLoader<String, String> computingFunction = new CacheLoader<String, String>() { @Override
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 22:03:28 UTC 2025 - 25.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
when(service.awaitTermination(HALF_SECOND_NANOS, NANOSECONDS)) .thenThrow(new InterruptedException()); AtomicBoolean terminated = new AtomicBoolean(); // we need to keep this in a flag because t.isInterrupted() returns false after t.join() AtomicBoolean interrupted = new AtomicBoolean(); // we need to use another thread because it will be interrupted and thus using
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 00:25:21 UTC 2025 - 26.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java
assertEquals(2, numCalls.get()); assertTrue(Thread.interrupted()); } public void testDelegateRejection() { AtomicInteger numCalls = new AtomicInteger(); AtomicBoolean reject = new AtomicBoolean(true); SequentialExecutor executor = new SequentialExecutor( new Executor() { @Override public void execute(Runnable r) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 11.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java
assertFalse(component.isDestroyed()); } /** * Test destroyObject with listener */ public void test_destroyObject_withListener() throws Exception { AtomicBoolean listenerCalled = new AtomicBoolean(false); final PooledObject<TestComponent>[] capturedObject = new PooledObject[1]; OnDestroyListener<TestComponent> listener = new OnDestroyListener<TestComponent>() {
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 20 13:07:01 UTC 2025 - 36.7K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java
/** Helper for managing content length limits */ @Resource protected ContentLengthHelper contentLengthHelper; /** Flag to track initialization status */ protected AtomicBoolean isInit = new AtomicBoolean(false); /** * Constructs a new FileSystemClient. */ public FileSystemClient() { // Default constructor } /* * (non-Javadoc) *Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Nov 23 12:19:14 UTC 2025 - 15.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/BasePublicSuffixList.kt
import java.util.concurrent.CountDownLatch import java.util.concurrent.atomic.AtomicBoolean import okio.ByteString import okio.Source import okio.buffer internal abstract class BasePublicSuffixList : PublicSuffixList { /** True after we've attempted to read the list for the first time. */ private val listRead = AtomicBoolean(false) /** Used for concurrent threads reading the list for the first time. */Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Jul 28 07:33:49 UTC 2025 - 3.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/PdfExtractor.java
final StringWriter writer = new StringWriter(); final PDFTextStripper stripper = new PDFTextStripper(); final AtomicBoolean done = new AtomicBoolean(false); final PDDocument doc = document; final Set<Exception> exceptionSet = new HashSet<>(); final Thread task = new Thread(() -> { try {
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Nov 23 12:19:14 UTC 2025 - 12.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java
/** The input stream thread reading process output. */ private final InputStreamThread ist; /** Flag indicating if the destroyer has been executed. */ private final AtomicBoolean executed = new AtomicBoolean(false); /** Timeout for process destruction in milliseconds. */ private final long timeout; /** * Constructor for ProcessDestroyer.Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Dec 04 08:02:36 UTC 2025 - 16K bytes - Viewed (0)