- Sort Score
- Num 10 results
- Language All
Results 1 - 8 of 8 for AtomicInteger (0.09 seconds)
-
src/test/java/org/codelibs/fess/helper/CoordinatorHelperTest.java
coordinatorHelper.dispatchEvent(event); assertTrue(called.get()); } @Test public void test_addEventHandler_multipleHandlers() { final AtomicInteger count = new AtomicInteger(0); coordinatorHelper.addEventHandler("config_updated", event -> count.incrementAndGet()); coordinatorHelper.addEventHandler("config_updated", event -> count.incrementAndGet());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 58.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java
assertThat(stats.loadExceptionCount()).isEqualTo(1); assertThat(stats.hitCount()).isEqualTo(0); } public void testReloadAfterFailure() throws ExecutionException { AtomicInteger count = new AtomicInteger(); Exception e = new IllegalStateException("exception to trigger failure on first load()"); CacheLoader<Integer, String> failOnceFunction = new CacheLoader<Integer, String>() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 91K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/CacheLoadingTest.java
assertThat(stats.loadExceptionCount()).isEqualTo(1); assertThat(stats.hitCount()).isEqualTo(0); } public void testReloadAfterFailure() throws ExecutionException { AtomicInteger count = new AtomicInteger(); Exception e = new IllegalStateException("exception to trigger failure on first load()"); CacheLoader<Integer, String> failOnceFunction = new CacheLoader<Integer, String>() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 91K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbSessionImpl.java
/* * 0 - not connected * 1 - connecting * 2 - connected * 3 - disconnecting */ private final AtomicInteger connectionState = new AtomicInteger(); private int uid; private List<SmbTreeImpl> trees; private final SmbTransportImpl transport; private long expiration; private String netbiosName = null;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 68.9K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
import java.util.concurrent.RejectedExecutionException; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; import java.util.concurrent.atomic.AtomicInteger; import org.jspecify.annotations.Nullable; /** * Static utility methods pertaining to the {@link Future} interface. * * <p>Many of these methods use the {@link ListenableFuture} API; consult the Guava User GuideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 64.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/MapMakerInternalMap.java
/** * A counter of the number of reads since the last write, used to drain queues on a small * fraction of read operations. */ final AtomicInteger readCount = new AtomicInteger(); Segment(MapMakerInternalMap<K, V, E, S> map, int initialCapacity) { this.map = map; initTable(newEntryArray(initialCapacity)); } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 89.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/MapMakerInternalMap.java
/** * A counter of the number of reads since the last write, used to drain queues on a small * fraction of read operations. */ final AtomicInteger readCount = new AtomicInteger(); Segment(MapMakerInternalMap<K, V, E, S> map, int initialCapacity) { this.map = map; initTable(newEntryArray(initialCapacity)); } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 89.9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt
import java.io.EOFException import java.io.IOException import java.io.InterruptedIOException import java.util.concurrent.CountDownLatch import java.util.concurrent.TimeUnit import java.util.concurrent.atomic.AtomicInteger import kotlin.test.assertFailsWith import okhttp3.Headers import okhttp3.Headers.Companion.headersOf import okhttp3.TestUtil.headerEntries import okhttp3.TestUtil.repeat import okhttp3.internal.EMPTY_BYTE_ARRAY
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Jul 31 04:18:40 GMT 2025 - 75.5K bytes - Click Count (0)