- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for lazySet (0.05 seconds)
-
android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java
at.set(x); assertBitEquals(x, at.get()); } } /** get returns the last value lazySet in same thread */ public void testGetLazySet() { AtomicDouble at = new AtomicDouble(1.0); assertBitEquals(1.0, at.get()); for (double x : VALUES) { at.lazySet(x); assertBitEquals(x, at.get()); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 7.3K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AtomicDouble.java
value.set(next); } /** * Eventually sets to the given value. * * @param newValue the new value */ public final void lazySet(double newValue) { long next = doubleToRawLongBits(newValue); value.lazySet(next); } /** * Atomically sets to the given value and returns the old value. * * @param newValue the new value * @return the previous value
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 7.2K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java
* Eventually sets the element at position {@code i} to the given value. * * @param i the index * @param newValue the new value */ public final void lazySet(int i, double newValue) { long next = doubleToRawLongBits(newValue); longs.lazySet(i, next); } /** * Atomically sets the element at position {@code i} to the given value and returns the old value. * * @param i the indexCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 8.1K bytes - Click Count (0)