Home
last modified time | relevance | path

Searched refs:longs (Results 1 – 25 of 53) sorted by relevance

123

/external/snakeyaml/src/test/java/org/yaml/snakeyaml/array/
DLongArr.java21 private long[] longs; field in LongArr
26 public LongArr(long[] longs) { in LongArr() argument
27 this.longs = longs; in LongArr()
31 return Arrays.toString(longs); in toString()
35 return longs; in getLongs()
38 public void setLongs(long[] longs) { in setLongs() argument
39 this.longs = longs; in setLongs()
DPrimitiveArrayTest.java35 private final long[] longs = new long[] { 5000000000L, 5000000001L }; field in PrimitiveArrayTest
45 + Arrays.toString(longs) + " ]\n" + "- " + pkg + ".FloatArr [ " in testValidConstructor()
57 Assert.assertArrayEquals(longs, ((LongArr) wrappers.get(3)).getLongs()); in testValidConstructor()
166 LongArr longArr = new LongArr(longs); in testCycle()
204 private long[][] longs; field in PrimitiveArrayTest.Array2D
207 return longs; in getLongs()
210 public void setLongs(long[][] longs) { in setLongs() argument
211 this.longs = longs; in setLongs()
216 private long[][][] longs; field in PrimitiveArrayTest.Array3D
219 return longs; in getLongs()
[all …]
/external/guava/guava/src/com/google/common/util/concurrent/
DAtomicDoubleArray.java47 private transient AtomicLongArray longs; field in AtomicDoubleArray
56 this.longs = new AtomicLongArray(length); in AtomicDoubleArray()
72 this.longs = new AtomicLongArray(longArray); in AtomicDoubleArray()
81 return longs.length(); in length()
91 return longBitsToDouble(longs.get(i)); in get()
102 longs.set(i, next); in set()
128 return longBitsToDouble(longs.getAndSet(i, next)); in getAndSet()
144 return longs.compareAndSet(i, in compareAndSet()
167 return longs.weakCompareAndSet(i, in weakCompareAndSet()
181 long current = longs.get(i); in getAndAdd()
[all …]
/external/guava/guava-tests/benchmark/com/google/common/primitives/
DUnsignedLongsBenchmark.java33 private static final long[] longs = new long[ARRAY_SIZE]; field in UnsignedLongsBenchmark
43 longs[i] = random(); in setUp()
44 divisors[i] = randomDivisor(longs[i]); in setUp()
45 decimalStrings[i] = UnsignedLongs.toString(longs[i]); in setUp()
46 binaryStrings[i] = UnsignedLongs.toString(longs[i], 2); in setUp()
47 hexStrings[i] = UnsignedLongs.toString(longs[i], 16); in setUp()
56 tmp += UnsignedLongs.divide(longs[j], divisors[j]); in divide()
65 tmp += UnsignedLongs.remainder(longs[j], divisors[j]); in remainder()
109 long x = longs[j]; in toString()
/external/chromium-trace/catapult/third_party/coverage/coverage/
Dhtml.py217 longs = []
221 longs.append("the function exit")
224 longs.append("line %d" % b)
232 if len(longs) == 1:
233 annotate_title += longs[0]
234 elif len(longs) == 2:
235 annotate_title += longs[0] + " or " + longs[1]
237 annotate_title += ", ".join(longs[:-1]) + ", or " + longs[-1]
/external/guava/guava-tests/test/com/google/common/hash/
DMurmur3Hash128Test.java61 private static HashCode toHashCode(long... longs) { in toHashCode() argument
62 ByteBuffer bb = ByteBuffer.wrap(new byte[longs.length * 8]).order(ByteOrder.LITTLE_ENDIAN); in toHashCode()
63 for (long x : longs) { in toHashCode()
/external/guava/guava-tests/benchmark/com/google/common/math/
DLongMathRoundingBenchmark.java43 private static final long[] longs = new long[ARRAY_SIZE]; field in LongMathRoundingBenchmark
50 longs[i] = RANDOM_SOURCE.nextLong(); in setUp()
85 tmp += LongMath.divide(longs[j], nonzero[j], mode); in divide()
DLongMathBenchmark.java41 private static final long[] longs = new long[ARRAY_SIZE]; field in LongMathBenchmark
49 longs[i] = RANDOM_SOURCE.nextLong(); in setUp()
71 tmp += LongMath.mod(longs[j], positive[j]); in mod()
/external/clang/test/CodeGenCXX/
Dlpad-linetable.cpp61 std::vector<long> longs; in main() local
65 longs.push_back(i); in main()
/external/autotest/client/deps/webgl_mpd/src/resources/
DJ3DI.js250 function makeSphere(ctx, radius, lats, longs) argument
258 for (var longNumber = 0; longNumber <= longs; ++longNumber) {
260 var phi = longNumber * 2 * Math.PI / longs;
269 var u = 1-(longNumber/longs);
284 for (var longNumber = 0; longNumber < longs; ++longNumber) {
285 var first = (latNumber * (longs+1)) + longNumber;
286 var second = first + longs + 1;
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DParcelTest.java110 final long[] longs = {1, 2}; in testReadWriteLongArray() local
111 parcel.writeLongArray(longs); in testReadWriteLongArray()
113 final long[] longs2 = new long[longs.length]; in testReadWriteLongArray()
115 assertTrue(Arrays.equals(longs, longs2)); in testReadWriteLongArray()
436 final long[] longs = {1, 2}; in testWriteCreateLongArray() local
437 parcel.writeLongArray(longs); in testWriteCreateLongArray()
440 assertTrue(Arrays.equals(longs, longs2)); in testWriteCreateLongArray()
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
DBufferUtilsTest.java275 long[] longs = new long[1024 * 1024 / 8]; in benchLong() local
276 int len = longs.length; in benchLong()
283 lb.put(longs[i]); in benchLong()
292 lb.put(i, longs[i]); in benchLong()
300 lb.put(longs); in benchLong()
308 BufferUtils.copy(longs, 0, lb, len); in benchLong()
/external/icu/icu4c/source/test/perf/leperf/
Dletrperf.cpp110 LEReferenceToArrayOf<Long> longs(comp, success, (size_t)0, ITEM_COUNT); in time_letr3() local
117 const Long &item = longs.getObject(i, success); in time_letr3()
/external/guava/guava-tests/test/com/google/common/collect/
DDiscreteDomainTest.java34 reserializeAndAssert(DiscreteDomain.longs()); in testSerialization()
/external/caliper/examples/src/main/java/examples/
DVarargsBenchmark.java96 private static long varargs(long... longs) { in varargs() argument
98 for (long i : longs) { in varargs()
/external/javassist/src/test/test/javassist/convert/
DArrayAccessReplaceTest.java285 private long[] longs; field in ArrayAccessReplaceTest.Simple
326 return longs[pos]; in getLong()
370 longs[pos] = value; in setLong()
/external/guava/guava-tests/test/com/google/common/primitives/
DBytesTest.java210 List<Long> longs = Arrays.asList((long) 0, (long) 1, (long) 2); in testToArray_withConversion() local
217 assertTrue(Arrays.equals(array, Bytes.toArray(longs))); in testToArray_withConversion()
/external/icu/icu4c/source/test/letest/
Dgendata.cpp98 void dumpLongs(FILE *file, const char *tag, le_int32 *longs, le_int32 count) { in dumpLongs() argument
110 bufp += sprintf(&lineBuffer[bufp], "0x%8.8X, ", longs[i]); in dumpLongs()
/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/
DBytesTest.java208 List<Long> longs = Arrays.asList((long) 0, (long) 1, (long) 2); in testToArray_withConversion() local
215 assertTrue(Arrays.equals(array, Bytes.toArray(longs))); in testToArray_withConversion()
DShortsTest.java319 List<Long> longs = Arrays.asList((long) 0, (long) 1, (long) 2); in testToArray_withConversion() local
326 assertTrue(Arrays.equals(array, Shorts.toArray(longs))); in testToArray_withConversion()
/external/google-breakpad/src/common/
Dmd5.cc28 static void byteReverse(unsigned char *buf, unsigned longs)
36 } while (--longs);
/external/libmicrohttpd/src/microhttpd/
Dmd5.c33 unsigned longs) in byteReverse() argument
41 } while (--longs); in byteReverse()
/external/autotest/client/deps/glbench/src/
Dmd5.cc26 static void byteReverse(unsigned char *buf, unsigned longs) in byteReverse() argument
34 } while (--longs); in byteReverse()
/external/guava/guava/src/com/google/common/collect/
DDiscreteDomain.java100 public static DiscreteDomain<Long> longs() { in longs() method in DiscreteDomain
/external/wpa_supplicant_8/src/crypto/
Dmd5-internal.c71 static void byteReverse(unsigned char *buf, unsigned longs) in byteReverse() argument
79 } while (--longs); in byteReverse()

123