- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 33 for addAndGet (0.07 seconds)
-
guava-tests/test/com/google/common/util/concurrent/AtomicLongMapBasherTest.java
case 1: map.decrementAndGet(key); threadSum--; break; case 2: map.addAndGet(key, delta); threadSum += delta; break; case 3: map.getAndIncrement(key); threadSum++;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jul 11 18:52:30 GMT 2025 - 4.2K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java
misses.set(0); } @Benchmark int time(int reps) { int dummy = 0; for (int i = 0; i < reps; i++) { dummy += cache.getUnchecked(nextRandomKey()); } requests.addAndGet(reps); return dummy; } private int nextRandomKey() { int a = random.nextInt(max); /* * For example, if concentration=2.0, the following takes the square root of
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.4K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/FakeTicker.java
} /** Advances the ticker value by {@code nanoseconds}. */ @SuppressWarnings("GoodTime") // should accept a java.time.Duration @CanIgnoreReturnValue public FakeTicker advance(long nanoseconds) { nanos.addAndGet(nanoseconds); return this; } /** * Advances the ticker value by {@code duration}. * * @since 28.0 */ @GwtIncompatible @J2ktIncompatible @CanIgnoreReturnValueCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Apr 14 15:16:19 GMT 2025 - 3.4K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/MoreExecutorsDirectExecutorBenchmark.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 3.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/FakeTicker.java
} /** Advances the ticker value by {@code nanoseconds}. */ @SuppressWarnings("GoodTime") // should accept a java.time.Duration @CanIgnoreReturnValue public FakeTicker advance(long nanoseconds) { nanos.addAndGet(nanoseconds); return this; } /** * Advances the ticker value by {@code duration}. * * @since 33.1.0 (but since 28.0 in the JRE <aCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Apr 14 15:16:19 GMT 2025 - 4.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/JobExecutorTest.java
} }; ShutdownListener listener2 = new ShutdownListener() { @Override public void onShutdown() { callCount.addAndGet(10); } }; // Add first listener jobExecutor.addShutdownListener(listener1); assertEquals(listener1, jobExecutor.shutdownListener);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 9.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackTest.java
assertNotNull(paramMap); assertNotNull(dataMap); docSize.incrementAndGet(); execTime.addAndGet(100); } @Override public long getDocumentSize() { return docSize.get(); } @Override public long getExecuteTime() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 12.5K bytes - Click Count (0) -
docs/smb3-features/05-rdma-smb-direct-design.md
public void recordRdmaRead(int bytes) { rdmaReads.incrementAndGet(); bytesTransferred.addAndGet(bytes); } public void recordRdmaWrite(int bytes) { rdmaWrites.incrementAndGet(); bytesTransferred.addAndGet(bytes); } public void recordError() { operationErrors.incrementAndGet(); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 35.9K bytes - Click Count (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueServiceTest.java
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Wed Jan 14 23:48:16 GMT 2026 - 14.5K bytes - Click Count (0) -
docs/smb3-features/03-multi-channel-design.md
k -> new ChannelStatistics()); stats.operations.incrementAndGet(); stats.latencyTotal.addAndGet(latency); if (success) { stats.bytesReceived.addAndGet(bytes); } else { stats.errors.incrementAndGet(); } } public double getAggregatedThroughput() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 39.6K bytes - Click Count (0)