Home | History | Annotate | Download | only in concurrent

Lines Matching refs:VALUES

24   private static final double[] VALUES = {
80 AtomicDoubleArray aa = new AtomicDoubleArray(VALUES);
81 assertEquals(VALUES.length, aa.length());
82 for (int i = 0; i < VALUES.length; i++) {
83 assertBitEquals(VALUES[i], aa.get(i));
152 AtomicDoubleArray aa = new AtomicDoubleArray(VALUES.length);
153 for (int i = 0; i < VALUES.length; i++) {
155 aa.set(i, VALUES[i]);
156 assertBitEquals(VALUES[i], aa.get(i));
166 AtomicDoubleArray aa = new AtomicDoubleArray(VALUES.length);
167 for (int i = 0; i < VALUES.length; i++) {
169 aa.lazySet(i, VALUES[i]);
170 assertBitEquals(VALUES[i], aa.get(i));
184 for (double x : VALUES) {
224 for (double x : VALUES) {
244 for (double x : VALUES) {
257 for (double x : VALUES) {
258 for (double y : VALUES) {
274 for (double x : VALUES) {
275 for (double y : VALUES) {
331 * a deserialized serialized array holds same values
345 AtomicDoubleArray a = new AtomicDoubleArray(VALUES);
350 for (int i = 0; i < VALUES.length; i++) {
359 AtomicDoubleArray aa = new AtomicDoubleArray(VALUES);
360 assertEquals(Arrays.toString(VALUES), aa.toString());
366 * compareAndSet treats +0.0 and -0.0 as distinct values