Home
last modified time | relevance | path

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

12

/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/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/lldb/test/lang/cpp/unique-types/
Dmain.cpp16 std::vector<long> longs; in main() local
20 longs.push_back(i); in main()
/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/robolectric/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/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/skia/src/core/
DSkUtils.cpp79 int longs = count >> 1; in sk_memset16_portable() local
80 if (longs) { in sk_memset16_portable()
84 } while (--longs != 0); in sk_memset16_portable()
/external/guava/guava-tests/test/com/google/common/collect/
DDiscreteDomainTest.java34 reserializeAndAssert(DiscreteDomain.longs()); in testSerialization()
/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/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()
DLongsTest.java332 List<Long> longs = Arrays.asList((long) 0, (long) 1, (long) 2); in testToArray_withConversion() local
339 assertTrue(Arrays.equals(array, Longs.toArray(longs))); in testToArray_withConversion()
DFloatsTest.java321 List<Long> longs = Arrays.asList((long) 0, (long) 1, (long) 2); in testToArray_withConversion() local
328 assertTrue(Arrays.equals(array, Floats.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()
DIntsTest.java311 List<Long> longs = Arrays.asList((long) 0, (long) 1, (long) 2); in testToArray_withConversion() local
318 assertTrue(Arrays.equals(array, Ints.toArray(longs))); in testToArray_withConversion()
DDoublesTest.java331 List<Long> longs = Arrays.asList((long) 0, (long) 1, (long) 2); in testToArray_withConversion() local
338 assertTrue(Arrays.equals(array, Doubles.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/google-breakpad/src/common/
Dmd5.cc28 static void byteReverse(unsigned char *buf, unsigned longs)
36 } while (--longs);
/external/guava/guava/src/com/google/common/collect/
DDiscreteDomain.java100 public static DiscreteDomain<Long> longs() { in longs() method in DiscreteDomain
/external/llvm/patches/
D0003-Add-support-for-64-bit-longs.patch4 Subject: [PATCH 3/5] Add support for 64-bit longs.
/external/wpa_supplicant_8/src/crypto/
Dmd5-internal.c68 static void byteReverse(unsigned char *buf, unsigned longs) in byteReverse() argument
76 } while (--longs); in byteReverse()
/external/pdfium/core/src/fxcodec/lcms2/lcms2-2.6/src/
Dcmsmd5.c31 void byteReverse(cmsUInt8Number * buf, cmsUInt32Number longs) in byteReverse() argument
39 } while (--longs); in byteReverse()

12