/external/guava/guava/src/com/google/common/util/concurrent/ |
D | AtomicDoubleArray.java | 47 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/snakeyaml/src/test/java/org/yaml/snakeyaml/array/ |
D | LongArr.java | 21 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()
|
D | PrimitiveArrayTest.java | 35 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-tests/benchmark/com/google/common/primitives/ |
D | UnsignedLongsBenchmark.java | 33 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/tensorflow/tensorflow/java/src/test/java/org/tensorflow/ |
D | TensorTest.java | 116 long[] longs = {1L, 2L, 3L, 4L}; in createWithTypedBuffer() local 133 try (Tensor<Long> t = Tensor.create(shape, LongBuffer.wrap(longs))) { in createWithTypedBuffer() argument 134 long[] actual = new long[longs.length]; in createWithTypedBuffer() 135 assertArrayEquals(longs, t.copyTo(actual)); in createWithTypedBuffer() 157 try (Tensor<Long> t = Tensor.create(new long[longs.length + 1], LongBuffer.wrap(longs))) { in createWithTypedBuffer() argument 170 long[] longs = {1L, 2L, 3L}; in writeTo() local 176 Tensor<Long> tlongs = Tensors.create(longs); in writeTo() 202 assertEquals(longs[0], bbuf.asLongBuffer().get(0)); in writeTo() 245 assertEquals(longs[0], buf.get(0)); in writeTo()
|
/external/guava/guava-tests/test/com/google/common/hash/ |
D | Murmur3Hash128Test.java | 61 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/ |
D | LongMathRoundingBenchmark.java | 43 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()
|
D | LongMathBenchmark.java | 41 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/autotest/client/deps/webgl_mpd/src/resources/ |
D | J3DI.js | 250 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/clang/test/CodeGenCXX/ |
D | lpad-linetable.cpp | 61 std::vector<long> longs; in main() local 65 longs.push_back(i); in main()
|
/external/grpc-grpc/examples/ruby/route_guide/ |
D | route_guide_server.rb | 59 longs = [@bounds.lo.longitude, @bounds.hi.longitude] 61 @lo_long, @hi_long = longs.min, longs.max
|
/external/tensorflow/tensorflow/java/src/test/java/org/tensorflow/op/core/ |
D | ConstantTest.java | 149 long[] longs = {1, 2, 3, 4}; in createLongBuffer() local 155 Constant<Long> op = Constant.create(scope, shape, LongBuffer.wrap(longs)); in createLongBuffer() 157 long[] actual = new long[longs.length]; in createLongBuffer() 158 assertArrayEquals(longs, result.expect(Long.class).copyTo(actual)); in createLongBuffer()
|
/external/libchrome/base/android/ |
D | jni_array.cc | 81 const int64_t* longs, in ToJavaLongArray() argument 88 long_array, 0, len, reinterpret_cast<const jlong*>(longs)); in ToJavaLongArray() 97 const std::vector<int64_t>& longs) { in ToJavaLongArray() argument 98 return ToJavaLongArray(env, longs.data(), longs.size()); in ToJavaLongArray()
|
D | jni_array.h | 42 const int64_t* longs, 47 const std::vector<int64_t>& longs);
|
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/stats/ |
D | StatsTestUtil.java | 209 private static List<Long> removeTrailingZeros(List<Long> longs) { in removeTrailingZeros() argument 210 if (longs == null) { in removeTrailingZeros() 213 List<Long> truncated = new ArrayList<Long>(longs); in removeTrailingZeros()
|
/external/icu/icu4c/source/test/perf/leperf/ |
D | letrperf.cpp | 116 LEReferenceToArrayOf<Long> longs(comp, success, (size_t)0, ITEM_COUNT); in time_letr3() local 123 const Long &item = longs.getObject(i, success); in time_letr3()
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | DiscreteDomainTest.java | 34 reserializeAndAssert(DiscreteDomain.longs()); in testSerialization()
|
/external/grpc-grpc/examples/node/dynamic_codegen/ |
D | greeter_server.js | 26 longs: String, property
|
D | greeter_client.js | 26 longs: String, property
|
/external/caliper/examples/src/main/java/examples/ |
D | VarargsBenchmark.java | 96 private static long varargs(long... longs) { in varargs() argument 98 for (long i : longs) { in varargs()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowParcelTest.java | 162 final long[] longs = { 1, 2 }; in testReadWriteLongArray() local 163 parcel.writeLongArray(longs); in testReadWriteLongArray() 165 final long[] longs2 = new long[longs.length]; in testReadWriteLongArray() 167 assertTrue(Arrays.equals(longs, longs2)); in testReadWriteLongArray()
|
/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/ |
D | BytesTest.java | 208 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()
|
/external/guava/guava-tests/test/com/google/common/primitives/ |
D | BytesTest.java | 210 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/ |
D | gendata.cpp | 100 void dumpLongs(FILE *file, const char *tag, le_int32 *longs, le_int32 count) { in dumpLongs() argument 112 bufp += sprintf(&lineBuffer[bufp], "0x%8.8X, ", longs[i]); in dumpLongs()
|
/external/libjpeg-turbo/md5/ |
D | md5.c | 55 static void byteReverse(unsigned char *buf, unsigned int longs) in byteReverse() argument 63 } while (--longs); in byteReverse()
|