- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 42 for getAndIncrement (0.08 seconds)
-
samples/crawler/src/main/java/okhttp3/sample/Crawler.java
AtomicInteger hostnameCount = new AtomicInteger(); AtomicInteger previous = hostnames.putIfAbsent(url.host(), hostnameCount); if (previous != null) hostnameCount = previous; if (hostnameCount.getAndIncrement() >= hostLimit) return; Request request = new Request.Builder() .url(url) .build(); try (Response response = client.newCall(request).execute()) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Jul 23 00:58:06 GMT 2025 - 5K bytes - Click Count (0) -
src/main/java/jcifs/smb/NtlmContext.java
final byte[] sk = this.signKey; if (sk == null) { throw new CIFSException("Signing is not initialized"); } final int seqNum = this.signSequence.getAndIncrement(); final byte[] seqBytes = new byte[4]; SMBUtil.writeInt4(seqNum, seqBytes, 0); final MessageDigest mac = Crypto.getHMACT64(sk); mac.update(seqBytes); // sequence
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 17.3K bytes - Click Count (1) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancer.java
} } private ChannelInfo selectRoundRobin(Collection<ChannelInfo> channels) { List<ChannelInfo> list = new ArrayList<>(channels); int index = Math.abs(roundRobinCounter.getAndIncrement() % list.size()); return list.get(index); } private ChannelInfo selectLeastLoaded(Collection<ChannelInfo> channels) { ChannelInfo leastLoadedChannel = null;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) -
docs/features/events.md
public static final Factory FACTORY = new Factory() { final AtomicLong nextCallId = new AtomicLong(1L); @Override public EventListener create(Call call) { long callId = nextCallId.getAndIncrement(); System.out.printf("%04d %s%n", callId, call.request().url()); return new PrintingEventListener(callId, System.nanoTime()); } }; final long callId; final long callStartNanos;
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:01:42 GMT 2026 - 7.7K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
for (int i = 0; i < passedArgs.length; i++) { assertEquals( "Parameter #" + i + " of " + method + " not forwarded", passedArgs[i], args[i]); } called.getAndIncrement(); return returnValue; } void testInteraction(Function<? super T, ? extends T> wrapperFunction) { T proxy = Reflection.newProxy(interfaceType, this);
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) -
mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt
if (handleSocketEffect(peek.onRequestStart, socket, stream)) { dispatchBookkeepingRequest( connectionIndex = connectionIndex, exchangeIndex = nextExchangeIndex.getAndIncrement(), socket = socket, requestLine = DEFAULT_REQUEST_LINE_HTTP_2, ) return } val request = readRequest(stream)
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) -
guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
for (int i = 0; i < passedArgs.length; i++) { assertEquals( "Parameter #" + i + " of " + method + " not forwarded", passedArgs[i], args[i]); } called.getAndIncrement(); return returnValue; } void testInteraction(Function<? super T, ? extends T> wrapperFunction) { T proxy = Reflection.newProxy(interfaceType, this);
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/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImpl.java
indexingHelper.sendDocuments(searchEngineClient, docList); } executeTime += processingTime; } documentSize.getAndIncrement(); if (logger.isDebugEnabled()) { logger.debug("Total documents added: {}", documentSize.get()); } } /**
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 10.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java
} /** * Get and increment inconsistency count * * @return the current inconsistency count */ public int getInconsistencyCount() { return inconsistencyCount.getAndIncrement(); } /** * Reset inconsistency count */ public void resetInconsistencyCount() { inconsistencyCount.set(0); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 11.4K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 17:42:14 GMT 2025 - 15.8K bytes - Click Count (0)