Searched refs:longs (Results 1 - 25 of 63) sorted by relevance

123

/external/snakeyaml/src/test/java/org/yaml/snakeyaml/array/
H A DLongArr.java21 private long[] longs; field in class:LongArr
26 public LongArr(long[] longs) { argument
27 this.longs = longs;
31 return Arrays.toString(longs);
35 return longs;
38 public void setLongs(long[] longs) { argument
39 this.longs = longs;
H A DPrimitiveArrayTest.java35 private final long[] longs = new long[] { 5000000000L, 5000000001L }; field in class:PrimitiveArrayTest
45 + Arrays.toString(longs) + " ]\n" + "- " + pkg + ".FloatArr [ "
57 Assert.assertArrayEquals(longs, ((LongArr) wrappers.get(3)).getLongs());
166 LongArr longArr = new LongArr(longs);
204 private long[][] longs; field in class:PrimitiveArrayTest.Array2D
207 return longs;
210 public void setLongs(long[][] longs) { argument
211 this.longs = longs;
216 private long[][][] longs; field in class:PrimitiveArrayTest.Array3D
222 setLongs(long[][][] longs) argument
[all...]
/external/guava/guava/src/com/google/common/util/concurrent/
H A DAtomicDoubleArray.java47 private transient AtomicLongArray longs; field in class:AtomicDoubleArray
56 this.longs = new AtomicLongArray(length);
72 this.longs = new AtomicLongArray(longArray);
81 return longs.length();
91 return longBitsToDouble(longs.get(i));
102 longs.set(i, next);
115 // longs.lazySet(i, next);
128 return longBitsToDouble(longs.getAndSet(i, next));
144 return longs.compareAndSet(i,
167 return longs
[all...]
/external/guava/guava-tests/benchmark/com/google/common/primitives/
H A DUnsignedLongsBenchmark.java33 private static final long[] longs = new long[ARRAY_SIZE]; field in class:UnsignedLongsBenchmark
43 longs[i] = random();
44 divisors[i] = randomDivisor(longs[i]);
45 decimalStrings[i] = UnsignedLongs.toString(longs[i]);
46 binaryStrings[i] = UnsignedLongs.toString(longs[i], 2);
47 hexStrings[i] = UnsignedLongs.toString(longs[i], 16);
56 tmp += UnsignedLongs.divide(longs[j], divisors[j]);
65 tmp += UnsignedLongs.remainder(longs[j], divisors[j]);
109 long x = longs[j];
/external/guava/guava-tests/test/com/google/common/collect/
H A DDiscreteDomainTest.java34 reserializeAndAssert(DiscreteDomain.longs());
/external/guava/guava-tests/benchmark/com/google/common/math/
H A DLongMathRoundingBenchmark.java43 private static final long[] longs = new long[ARRAY_SIZE]; field in class:LongMathRoundingBenchmark
50 longs[i] = RANDOM_SOURCE.nextLong();
85 tmp += LongMath.divide(longs[j], nonzero[j], mode);
H A DLongMathBenchmark.java41 private static final long[] longs = new long[ARRAY_SIZE]; field in class:LongMathBenchmark
49 longs[i] = RANDOM_SOURCE.nextLong();
71 tmp += LongMath.mod(longs[j], positive[j]);
/external/guava/guava-tests/test/com/google/common/hash/
H A DMurmur3Hash128Test.java59 * Returns a {@link HashCode} for a sequence of longs, in big-endian order.
61 private static HashCode toHashCode(long... longs) { argument
62 ByteBuffer bb = ByteBuffer.wrap(new byte[longs.length * 8]).order(ByteOrder.LITTLE_ENDIAN);
63 for (long x : longs) {
/external/clang/test/CodeGenCXX/
H A Dlpad-linetable.cpp61 std::vector<long> longs; local
65 longs.push_back(i);
/external/chromium-trace/catapult/third_party/coverage/coverage/
H A 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[
[all...]
/external/icu/icu4c/source/test/perf/leperf/
H A Dletrperf.cpp110 LEReferenceToArrayOf<Long> longs(comp, success, (size_t)0, ITEM_COUNT);
117 const Long &item = longs.getObject(i, success);
/external/autotest/client/deps/webgl_mpd/src/resources/
H A DJ3DI.js250 function makeSphere(ctx, radius, lats, longs)
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/
H A DParcelTest.java110 final long[] longs = {1, 2};
111 parcel.writeLongArray(longs);
113 final long[] longs2 = new long[longs.length];
115 assertTrue(Arrays.equals(longs, longs2));
436 final long[] longs = {1, 2};
437 parcel.writeLongArray(longs);
440 assertTrue(Arrays.equals(longs, longs2));
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
H A DBufferUtilsTest.java275 long[] longs = new long[1024 * 1024 / 8];
276 int len = longs.length;
283 lb.put(longs[i]);
292 lb.put(i, longs[i]);
300 lb.put(longs);
308 BufferUtils.copy(longs, 0, lb, len);
/external/caliper/examples/src/main/java/examples/
H A DVarargsBenchmark.java96 private static long varargs(long... longs) { argument
98 for (long i : longs) {
/external/javassist/src/test/test/javassist/convert/
H A DArrayAccessReplaceTest.java285 private long[] longs; field in class:ArrayAccessReplaceTest.Simple
326 return longs[pos];
370 longs[pos] = value;
/external/guava/guava/src/com/google/common/collect/
H A DDiscreteDomain.java98 * @since 14.0 (since 10.0 as {@code DiscreteDomains.longs()})
100 public static DiscreteDomain<Long> longs() { method in class:DiscreteDomain
143 return "DiscreteDomain.longs()";
/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/
H A DBytesTest.java208 List<Long> longs = Arrays.asList((long) 0, (long) 1, (long) 2);
215 assertTrue(Arrays.equals(array, Bytes.toArray(longs)));
H A DDoublesTest.java331 List<Long> longs = Arrays.asList((long) 0, (long) 1, (long) 2);
338 assertTrue(Arrays.equals(array, Doubles.toArray(longs)));
H A DFloatsTest.java321 List<Long> longs = Arrays.asList((long) 0, (long) 1, (long) 2);
328 assertTrue(Arrays.equals(array, Floats.toArray(longs)));
H A DIntsTest.java311 List<Long> longs = Arrays.asList((long) 0, (long) 1, (long) 2);
318 assertTrue(Arrays.equals(array, Ints.toArray(longs)));
/external/guava/guava-tests/test/com/google/common/primitives/
H A DBytesTest.java210 List<Long> longs = Arrays.asList((long) 0, (long) 1, (long) 2);
217 assertTrue(Arrays.equals(array, Bytes.toArray(longs)));
/external/icu/icu4c/source/test/letest/
H A Dgendata.cpp98 void dumpLongs(FILE *file, const char *tag, le_int32 *longs, le_int32 count) { argument
110 bufp += sprintf(&lineBuffer[bufp], "0x%8.8X, ", longs[i]);
/external/autotest/client/deps/glbench/src/
H A Dmd5.cc26 static void byteReverse(unsigned char *buf, unsigned longs) argument
34 } while (--longs);
/external/google-breakpad/src/common/
H A Dmd5.cc28 static void byteReverse(unsigned char *buf, unsigned longs)
36 } while (--longs);

Completed in 728 milliseconds

123