- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 60 for increment (0.19 sec)
-
guava/src/com/google/common/cache/LongAddable.java
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Tue Jun 15 18:00:07 GMT 2021 - 918 bytes - Viewed (0) -
android/guava/src/com/google/common/hash/LongAdder.java
|| !(uncontended = a.cas(v = a.value, v + x))) retryUpdate(x, hc, uncontended); } } /** Equivalent to {@code add(1)}. */ @Override public void increment() { add(1L); } /** Equivalent to {@code add(-1)}. */ public void decrement() { add(-1L); } /** * Returns the current sum. The returned value is NOT an atomic snapshot; invocation in
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Apr 20 18:43:59 GMT 2021 - 5.4K bytes - Viewed (0) -
guava/src/com/google/common/cache/LongAdder.java
|| !(uncontended = a.cas(v = a.value, v + x))) retryUpdate(x, hc, uncontended); } } /** Equivalent to {@code add(1)}. */ @Override public void increment() { add(1L); } /** Equivalent to {@code add(-1)}. */ public void decrement() { add(-1L); } /** * Returns the current sum. The returned value is NOT an atomic snapshot; invocation in
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Tue Jun 15 18:00:07 GMT 2021 - 5.5K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/FakeTickerTest.java
assertEquals(20, ticker.read()); for (TimeUnit timeUnit : EnumSet.allOf(TimeUnit.class)) { ticker.setAutoIncrementStep(0, timeUnit); assertEquals( "Expected no auto-increment when setting autoIncrementStep to 0 " + timeUnit, 30, ticker.read()); } } public void testAutoIncrement_negative() { FakeTicker ticker = new FakeTicker(); try {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 06 14:40:46 GMT 2024 - 6.4K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/FakeTickerTest.java
assertEquals(20, ticker.read()); for (TimeUnit timeUnit : EnumSet.allOf(TimeUnit.class)) { ticker.setAutoIncrementStep(0, timeUnit); assertEquals( "Expected no auto-increment when setting autoIncrementStep to 0 " + timeUnit, 30, ticker.read()); } } public void testAutoIncrement_negative() { FakeTicker ticker = new FakeTicker(); try {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Feb 06 14:40:46 GMT 2024 - 6.3K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 01 21:46:34 GMT 2024 - 10.6K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LongAdder.java
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 914 bytes - Viewed (0) -
android/guava/src/com/google/common/cache/LongAddable.java
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Jun 15 18:00:07 GMT 2021 - 918 bytes - Viewed (0) -
android/guava/src/com/google/common/hash/LongAddables.java
} public static LongAddable create() { return SUPPLIER.get(); } private static final class PureJavaLongAddable extends AtomicLong implements LongAddable { @Override public void increment() { getAndIncrement(); } @Override public void add(long x) { getAndAdd(x); } @Override public long sum() { return get(); } }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 04 17:27:14 GMT 2022 - 1.9K bytes - Viewed (0) -
guava/src/com/google/common/cache/LongAddables.java
} public static LongAddable create() { return SUPPLIER.get(); } private static final class PureJavaLongAddable extends AtomicLong implements LongAddable { @Override public void increment() { getAndIncrement(); } @Override public void add(long x) { getAndAdd(x); } @Override public long sum() { return get(); } }
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Tue Jan 04 17:27:14 GMT 2022 - 2K bytes - Viewed (0)