HomeSort by relevance Sort by last modified time
    Searched defs:doubles (Results 1 - 25 of 39) sorted by null

1 2

  /external/v8/test/mjsunit/
allocation-folding.js 49 // Test allocation folding of doubles.
51 function doubles() { function
57 doubles(); doubles(); doubles();
58 %OptimizeFunctionOnNextCall(doubles);
59 result = doubles();
65 // Test allocation folding of doubles into non-doubles.
  /cts/common/device-side/device-info/tests/src/com/android/compatibility/common/deviceinfo/
SampleDeviceInfo.java 35 double[] doubles = {Double.MAX_VALUE, Double.MIN_VALUE}; local
51 addArray("bar_double", doubles);
  /cts/tools/cts-device-info/src/com/android/cts/deviceinfo/
SampleDeviceInfo.java 35 double[] doubles = {Double.MAX_VALUE, Double.MIN_VALUE}; local
51 addArray("bar_double", doubles);
  /external/guava/guava-tests/benchmark/com/google/common/math/
DoubleMathBenchmark.java 36 private static final double [] doubles = new double[ARRAY_SIZE]; field in class:DoubleMathBenchmark
42 doubles[i] = randomDouble(Long.SIZE);
69 if (DoubleMath.isMathematicalInteger(doubles[j])) {
80 if (DoubleMath.isPowerOfTwo(doubles[j])) {
  /external/v8/test/cctest/compiler/
instruction-selector-tester.h 90 doubles.insert(vreg);
109 VirtualRegisterSet doubles; member in class:v8::internal::compiler::InstructionSelectorTester
  /external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/
BytesTest.java 209 List<Double> doubles = Arrays.asList((double) 0, (double) 1, (double) 2); local
216 assertTrue(Arrays.equals(array, Bytes.toArray(doubles)));
DoublesTest.java 35 * Unit test for {@link Doubles}.
58 = Doubles.concat(NUMBERS, new double[] {NaN});
62 assertEquals(((Double) value).hashCode(), Doubles.hashCode(value));
68 assertEquals(!(Double.isNaN(value) || Double.isInfinite(value)), Doubles.isFinite(value));
78 Doubles.compare(x, y));
84 assertFalse(Doubles.contains(EMPTY, (double) 1));
85 assertFalse(Doubles.contains(ARRAY1, (double) 2));
86 assertFalse(Doubles.contains(ARRAY234, (double) 1));
87 assertTrue(Doubles.contains(new double[] {(double) -1}, (double) -1));
88 assertTrue(Doubles.contains(ARRAY234, (double) 2))
332 List<Double> doubles = Arrays.asList((double) 0, (double) 1, (double) 2); local
    [all...]
FloatsTest.java 322 List<Double> doubles = Arrays.asList((double) 0, (double) 1, (double) 2); local
329 assertTrue(Arrays.equals(array, Floats.toArray(doubles)));
IntsTest.java 312 List<Double> doubles = Arrays.asList((double) 0, (double) 1, (double) 2); local
319 assertTrue(Arrays.equals(array, Ints.toArray(doubles)));
ShortsTest.java 320 List<Double> doubles = Arrays.asList((double) 0, (double) 1, (double) 2); local
327 assertTrue(Arrays.equals(array, Shorts.toArray(doubles)));
LongsTest.java 333 List<Double> doubles = Arrays.asList((double) 0, (double) 1, (double) 2); local
340 assertTrue(Arrays.equals(array, Longs.toArray(doubles)));
  /external/guava/guava-tests/test/com/google/common/primitives/
BytesTest.java 211 List<Double> doubles = Arrays.asList((double) 0, (double) 1, (double) 2); local
218 assertTrue(Arrays.equals(array, Bytes.toArray(doubles)));
DoublesTest.java 39 * Unit test for {@link Doubles}.
53 private static final double MIN_NORMAL = 2.2250738585072014E-308; // Doubles.MIN_NORMAL from 1.6
63 = Doubles.concat(NUMBERS, new double[] {NaN});
67 assertEquals(((Double) value).hashCode(), Doubles.hashCode(value));
73 assertEquals(!(Double.isNaN(value) || Double.isInfinite(value)), Doubles.isFinite(value));
83 Doubles.compare(x, y));
89 assertFalse(Doubles.contains(EMPTY, (double) 1));
90 assertFalse(Doubles.contains(ARRAY1, (double) 2));
91 assertFalse(Doubles.contains(ARRAY234, (double) 1));
92 assertTrue(Doubles.contains(new double[] {(double) -1}, (double) -1))
357 List<Double> doubles = Arrays.asList((double) 0, (double) 1, (double) 2); local
    [all...]
FloatsTest.java 53 private static final float MIN_NORMAL = 1.17549435E-38f; // Doubles.MIN_NORMAL from 1.6
348 List<Double> doubles = Arrays.asList((double) 0, (double) 1, (double) 2); local
355 assertTrue(Arrays.equals(array, Floats.toArray(doubles)));
IntsTest.java 373 List<Double> doubles = Arrays.asList((double) 0, (double) 1, (double) 2); local
380 assertTrue(Arrays.equals(array, Ints.toArray(doubles)));
LongsTest.java 356 List<Double> doubles = Arrays.asList((double) 0, (double) 1, (double) 2); local
363 assertTrue(Arrays.equals(array, Longs.toArray(doubles)));
ShortsTest.java 380 List<Double> doubles = Arrays.asList((double) 0, (double) 1, (double) 2); local
387 assertTrue(Arrays.equals(array, Shorts.toArray(doubles)));
  /libcore/luni/src/main/java/java/nio/
DoubleBuffer.java 23 * A buffer of doubles.
125 * The remaining doubles will be moved to the head of the buffer, staring
136 * Compare the remaining doubles of this buffer to another double buffer's
137 * remaining doubles.
185 * <p>Two double buffers are equal if their remaining doubles are equal.
188 * <p>This method considers two doubles {@code a} and {@code b} to be equal
232 * Reads doubles from the current position into the specified double array
233 * and increases the position by the number of doubles read.
249 * Reads doubles from the current position into the specified double array,
251 * number of doubles read
447 double[] doubles = new double[src.remaining()]; local
    [all...]
  /external/v8/src/
lithium.cc 499 BitVector* doubles = allocated_double_registers(); local
500 BitVector::Iterator iterator(doubles);
  /libcore/luni/src/test/java/libcore/java/lang/reflect/
ArrayTest.java 26 private static double[] doubles; field in class:ArrayTest
37 doubles = new double[] { (double) 0xffffffffffffffffL };
48 try { Array.getBoolean(doubles, 0); fail(); } catch (IllegalArgumentException expected) {}
60 try { Array.getByte(doubles, 0); fail(); } catch (IllegalArgumentException expected) {}
72 try { Array.getChar(doubles, 0); fail(); } catch (IllegalArgumentException expected) {}
84 assertEquals(doubles[0], Array.getDouble(doubles, 0));
97 try { Array.getFloat(doubles, 0); fail(); } catch (IllegalArgumentException expected) {}
108 try { Array.getInt(doubles, 0); fail(); } catch (IllegalArgumentException expected) {}
120 try { Array.getLong(doubles, 0); fail(); } catch (IllegalArgumentException expected) {
    [all...]
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
ParcelTest.java 138 final double[] doubles = {1.1f, 2.0f}; local
139 parcel.writeDoubleArray(doubles);
141 final double[] doubles2 = new double[doubles.length];
143 assertTrue(Arrays.equals(doubles, doubles2));
454 final double[] doubles = {1.2, 2.2}; local
455 parcel.writeDoubleArray(doubles);
458 assertTrue(Arrays.equals(doubles, doubles2));
  /external/javassist/src/test/test/javassist/convert/
ArrayAccessReplaceTest.java 287 private double[] doubles; field in class:ArrayAccessReplaceTest.Simple
310 return doubles[pos];
354 doubles[pos] = value;
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
SerializationStressTest1.java 570 double[] doubles = { 0.0, 1.1, 2.2, 3.3 }; local
571 objToSave = doubles;
    [all...]
  /external/skia/experimental/PdfViewer/src/
SkPdfRenderer.cpp 1697 bool doubles = true; local
    [all...]
  /libcore/luni/src/test/java/libcore/java/nio/
BufferTest.java 134 double[] doubles = new double[3]; local
135 b.order(ByteOrder.BIG_ENDIAN).asDoubleBuffer().get(doubles, 1, 1);
136 assertEquals(0, Double.doubleToRawLongBits(doubles[0]));
137 assertEquals(0x0102030405060708L, Double.doubleToRawLongBits(doubles[1]));
138 assertEquals(0, Double.doubleToRawLongBits(doubles[2]));
139 b.order(ByteOrder.LITTLE_ENDIAN).asDoubleBuffer().get(doubles, 1, 1);
140 assertEquals(0, Double.doubleToRawLongBits(doubles[0]));
141 assertEquals(0x0807060504030201L, Double.doubleToRawLongBits(doubles[1]));
142 assertEquals(0, Double.doubleToRawLongBits(doubles[2]));
224 double[] doubles = new double[] { 0, Double.longBitsToDouble(0x0102030405060708L), 0 } local
    [all...]

Completed in 1786 milliseconds

1 2