- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 119 for incrementAndGet (0.08 seconds)
-
mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt
val request = readRequest( socket = socket, connectionIndex = connectionIndex, exchangeIndex = nextExchangeIndex++, ) atomicRequestCount.incrementAndGet() requestQueue.add(request) if (request.failure != null) { return false // Nothing to respond to. } val response = dispatcher.dispatch(request) try {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 40.3K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
} /** * @param track * @return tree with increased usage count */ public SmbTreeImpl acquire(final boolean track) { final long usage = this.usageCount.incrementAndGet(); if (log.isTraceEnabled()) { log.trace("Acquire tree " + usage + " " + this); } if (track && this.traceResource) { synchronized (this.acquires) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 30K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/SocksProxy.kt
val threadName = "SocksProxy ${serverSocket!!.localPort}" Thread.currentThread().name = threadName try { while (true) { val socket = serverSocket!!.accept() connectionCount.incrementAndGet() service(socket) } } catch (e: SocketException) { logger.info("$threadName done accepting connections: ${e.message}") } catch (e: IOException) {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 7.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exec/ThumbnailGeneratorTest.java
ThumbnailManager mockThumbnailManager = new ThumbnailManager() { @Override public int generate(ExecutorService executorService, boolean cleanup) { counter.incrementAndGet(); // Return 0 to exit the loop return 0; } }; ComponentUtil.register(mockThumbnailManager, "thumbnailManager"); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/RateLimitHelper.java
if (counter == null) { counter = new AtomicLong(0); requestCounters.put(ip, counter); } final long count = counter.incrementAndGet(); if (logger.isDebugEnabled()) { logger.debug("Request count: ip={}, count={}, max={}", ip, count, maxRequests); } if (count > maxRequests) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Dec 24 14:16:27 GMT 2025 - 9.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/CacheLoadingTest.java
builder.build( new CacheLoader<String, Object>() { @Override public Object load(String key) throws InterruptedException { callCount.incrementAndGet(); startSignal.await(); return result; } }); List<Object> resultArray = doConcurrentGet(cache, "bar", count, startSignal);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 91K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dispatcher.kt
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Oct 07 14:16:22 GMT 2025 - 9.9K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTreeHandleImpl.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 11.1K bytes - Click Count (0) -
futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java
* * {@snippet : * final String name = ...; * inFlight.add(name); * ListenableFuture<Result> future = service.query(name); * future.addListener(new Runnable() { * public void run() { * processedCount.incrementAndGet(); * inFlight.remove(name); * lastProcessed.set(name); * logger.info("Done with {0}", name); * } * }, executor); * } * * <h3>How to get an instance</h3> *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 8K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ListenableFuture.java
* * {@snippet : * final String name = ...; * inFlight.add(name); * ListenableFuture<Result> future = service.query(name); * future.addListener(new Runnable() { * public void run() { * processedCount.incrementAndGet(); * inFlight.remove(name); * lastProcessed.set(name); * logger.info("Done with {0}", name); * } * }, executor); * } * * <h3>How to get an instance</h3> *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 8K bytes - Click Count (0)