- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 131 for AtomicInteger (0.2 seconds)
-
android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
private final Class<T> interfaceType; private final Method method; private final @Nullable Object[] passedArgs; private final @Nullable Object returnValue; private final AtomicInteger called = new AtomicInteger(); InteractionTester(Class<T> interfaceType, Method method) { this.interfaceType = interfaceType; this.method = method; this.passedArgs = getParameterValues(method);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 9.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReaderTest.java
Client client = runner.client(); SuggestSettings settings = suggester.settings(); int num = 9999; addDocument(indexName, client, num); AtomicInteger count = new AtomicInteger(0); Set<String> valueSet = Collections.synchronizedSet(new HashSet<>()); Thread[] threads = new Thread[threadNum]; ESSourceReader reader = new ESSourceReader(client, settings, indexName);
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Nov 23 13:04:17 GMT 2025 - 8.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
} private static void insertIntoReplica(Map<Integer, AtomicInteger> replica, int newValue) { if (replica.containsKey(newValue)) { replica.get(newValue).incrementAndGet(); } else { replica.put(newValue, new AtomicInteger(1)); } } private static void removeMinFromReplica( SortedMap<Integer, AtomicInteger> replica, int minValue) { Integer replicatedMinValue = replica.firstKey();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 13:11:08 GMT 2026 - 36.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/witness/MockWitnessService.java
private ServerSocket serverSocket; private final AtomicBoolean running = new AtomicBoolean(false); private final AtomicInteger registrationCounter = new AtomicInteger(0); private final ConcurrentHashMap<String, MockRegistration> registrations = new ConcurrentHashMap<>(); private Thread serverThread; /** * Mock registration data */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 09:06:40 GMT 2025 - 8.2K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java
ExecutorService executor = Executors.newFixedThreadPool(threadCount); CountDownLatch startLatch = new CountDownLatch(1); CountDownLatch endLatch = new CountDownLatch(threadCount); AtomicInteger successCount = new AtomicInteger(0); List<Exception> exceptions = new ArrayList<>(); // When - Multiple threads get and release buffers for (int t = 0; t < threadCount; t++) { executor.submit(() -> {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 9.6K bytes - Click Count (0) -
src/test/java/org/codelibs/curl/io/IOIntegrationTest.java
} } @Test public void test_TimeoutWithOnConnectOverride() throws Exception { // ## Arrange ## final AtomicInteger onConnectReadTimeout = new AtomicInteger(-1); final TimeoutRecordingMockHttpURLConnection[] mockHolder = new TimeoutRecordingMockHttpURLConnection[1]; CurlRequest req = new OpenOverrideCurlRequest(Curl.Method.GET, "http://dummy", u -> {Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 12:00:34 GMT 2026 - 44.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/exec/SuggestCreator.java
suggestHelper.storeAllBadWords(true); logger.info("Storing all elevate words."); suggestHelper.storeAllElevateWords(true); final AtomicInteger exitCode = new AtomicInteger(0); if (ComponentUtil.getFessConfig().isSuggestDocuments()) { final CountDownLatch latch = new CountDownLatch(1); logger.info("Parsing words from indexed documents.");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 12.1K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTransportPoolImpl.java
private final AtomicLong failedHealthChecks = new AtomicLong(0); private final AtomicLong connectionsRemoved = new AtomicLong(0); private final AtomicInteger activeConnections = new AtomicInteger(0); private final Map<String, ConnectionMetrics> connectionMetrics = new ConcurrentHashMap<>(); // Proactive health monitoring private volatile boolean proactiveHealthCheckEnabled = true;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 33.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancer.java
private LoadBalancingStrategy strategy; private final AtomicInteger roundRobinCounter; /** * Create channel load balancer * * @param manager channel manager */ public ChannelLoadBalancer(ChannelManager manager) { this.manager = manager; this.strategy = LoadBalancingStrategy.ADAPTIVE; this.roundRobinCounter = new AtomicInteger(0); } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 8.2K 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)