- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for AtomicDouble (0.91 sec)
-
guava/src/com/google/common/util/concurrent/AtomicDouble.java
@ElementTypesAreNonnullByDefault public class AtomicDouble extends Number implements java.io.Serializable { private static final long serialVersionUID = 0L; private transient volatile long value; private static final AtomicLongFieldUpdater<AtomicDouble> updater = AtomicLongFieldUpdater.newUpdater(AtomicDouble.class, "value"); /** * Creates a new {@code AtomicDouble} with the given initial value. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Apr 04 09:45:04 UTC 2023 - 9.5K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AtomicDouble.java
public AtomicDouble(double initialValue) { value = new AtomicLong(doubleToRawLongBits(initialValue)); } /** Creates a new {@code AtomicDouble} with initial value {@code 0.0}. */ public AtomicDouble() { this(0.0); } /** * Gets the current value. * * @return the current value */ public final double get() { return longBitsToDouble(value.get()); } /**
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Feb 28 21:00:54 UTC 2022 - 7.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java
for (double x : VALUES) { AtomicDouble a = new AtomicDouble(x); assertBitEquals(x, a.get()); } } /** default constructed initializes to zero */ public void testConstructor2() { AtomicDouble a = new AtomicDouble(); assertBitEquals(0.0, a.get()); } /** get returns the last value set */ public void testGetSet() { AtomicDouble at = new AtomicDouble(1.0);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 09 22:57:07 UTC 2022 - 10.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java
for (double x : VALUES) { AtomicDouble a = new AtomicDouble(x); assertBitEquals(x, a.get()); } } /** default constructed initializes to zero */ public void testConstructor2() { AtomicDouble a = new AtomicDouble(); assertBitEquals(0.0, a.get()); } /** get returns the last value set */ public void testGetSet() { AtomicDouble at = new AtomicDouble(1.0);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Jun 10 19:21:11 UTC 2024 - 6.9K bytes - Viewed (0) -
proguard/concurrent.pro
-keepclassmembers class com.google.common.util.concurrent.AbstractFuture** { *** waiters; *** value; *** listeners; *** thread; *** next; } -keepclassmembers class com.google.common.util.concurrent.AtomicDouble { *** value; } -keepclassmembers class com.google.common.util.concurrent.AggregateFutureState { *** remaining; *** seenExceptions; }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue May 09 00:29:01 UTC 2023 - 1.3K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java
import com.google.common.io.CharSink; import com.google.common.io.CharSource; import com.google.common.primitives.UnsignedInteger; import com.google.common.primitives.UnsignedLong; import com.google.common.util.concurrent.AtomicDouble; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.PrintStream;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 22.1K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java
import com.google.common.io.CharSink; import com.google.common.io.CharSource; import com.google.common.primitives.UnsignedInteger; import com.google.common.primitives.UnsignedLong; import com.google.common.util.concurrent.AtomicDouble; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.PrintStream;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 21.7K bytes - Viewed (0)