- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 2,054 for longs (0.03 sec)
-
android/guava/src/com/google/common/primitives/ImmutableLongArray.java
return new ImmutableLongArray(new long[] {e0, e1, e2, e3}); } /** Returns an immutable array containing the given values, in order. */ public static ImmutableLongArray of(long e0, long e1, long e2, long e3, long e4) { return new ImmutableLongArray(new long[] {e0, e1, e2, e3, e4}); } /** Returns an immutable array containing the given values, in order. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 18:05:56 UTC 2024 - 22.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/BytesTest.java
List<Short> shorts = Arrays.asList((short) 0, (short) 1, (short) 2); List<Integer> ints = Arrays.asList(0, 1, 2); List<Float> floats = Arrays.asList((float) 0, (float) 1, (float) 2); List<Long> longs = Arrays.asList((long) 0, (long) 1, (long) 2); List<Double> doubles = Arrays.asList((double) 0, (double) 1, (double) 2); assertThat(Bytes.toArray(bytes)).isEqualTo(array); assertThat(Bytes.toArray(shorts)).isEqualTo(array);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 17.3K bytes - Viewed (0) -
guava/src/com/google/common/hash/AbstractStreamingHasher.java
*/ protected void processRemaining(ByteBuffer bb) { Java8Compatibility.position(bb, bb.limit()); // move at the end Java8Compatibility.limit(bb, chunkSize + 7); // get ready to pad with longs while (bb.position() < chunkSize) { bb.putLong(0); } Java8Compatibility.limit(bb, chunkSize); Java8Compatibility.flip(bb); process(bb); } @Override @CanIgnoreReturnValue
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jun 15 20:59:00 UTC 2022 - 7.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/BytesTest.java
List<Short> shorts = Arrays.asList((short) 0, (short) 1, (short) 2); List<Integer> ints = Arrays.asList(0, 1, 2); List<Float> floats = Arrays.asList((float) 0, (float) 1, (float) 2); List<Long> longs = Arrays.asList((long) 0, (long) 1, (long) 2); List<Double> doubles = Arrays.asList((double) 0, (double) 1, (double) 2); assertThat(Bytes.toArray(bytes)).isEqualTo(array); assertThat(Bytes.toArray(shorts)).isEqualTo(array);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 17.3K bytes - Viewed (0) -
guava/src/com/google/common/math/Stats.java
* * @param values a series of values, which will be converted to {@code double} values (this may * cause loss of precision for longs of magnitude over 2^53 (slightly over 9e15)) */ public static Stats of(long... values) { StatsAccumulator accumulator = new StatsAccumulator(); accumulator.addAll(values); return accumulator.snapshot(); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 23 16:45:30 UTC 2024 - 24.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java
} public void testToLong() { for (long a : UNSIGNED_INTS) { assertThat(UnsignedInts.toLong((int) a)).isEqualTo(a); } } public void testCompare() { for (long a : UNSIGNED_INTS) { for (long b : UNSIGNED_INTS) { int cmpAsLongs = Longs.compare(a, b); int cmpAsUInt = UnsignedInts.compare((int) a, (int) b);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 12.5K bytes - Viewed (0) -
android/guava/src/com/google/common/math/StatsAccumulator.java
* * @param values a series of values, which will be converted to {@code double} values (this may * cause loss of precision for longs of magnitude over 2^53 (slightly over 9e15)) */ public void addAll(long... values) { for (long value : values) { add(value); } } /** * Adds the given values to the dataset. The stream will be completely consumed by this method.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 23 16:45:30 UTC 2024 - 15.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/DoublesTest.java
List<Short> shorts = Arrays.asList((short) 0, (short) 1, (short) 2); List<Integer> ints = Arrays.asList(0, 1, 2); List<Float> floats = Arrays.asList((float) 0, (float) 1, (float) 2); List<Long> longs = Arrays.asList((long) 0, (long) 1, (long) 2); List<Double> doubles = Arrays.asList((double) 0, (double) 1, (double) 2); assertThat(Doubles.toArray(bytes)).isEqualTo(array); assertThat(Doubles.toArray(shorts)).isEqualTo(array);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 32.2K bytes - Viewed (0) -
android/guava/src/com/google/common/math/Quantiles.java
"Quantile indexes must be between 0 and the scale, which is " + scale); } } private static double[] longsToDoubles(long[] longs) { int len = longs.length; double[] doubles = new double[len]; for (int i = 0; i < len; i++) { doubles[i] = longs[i]; } return doubles; } private static double[] intsToDoubles(int[] ints) { int len = ints.length;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 17:02:53 UTC 2023 - 29.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/StatsTest.java
.of(LONG_MANY_VALUES_SUM_OF_SQUARES_OF_DELTAS / LONG_MANY_VALUES_COUNT); assertThat(LARGE_LONG_VALUES_STATS.populationVariance()) .isWithin(ALLOWED_ERROR * Long.MAX_VALUE * Long.MAX_VALUE) .of(LARGE_LONG_VALUES_POPULATION_VARIANCE); } public void testPopulationStandardDeviation() { assertThrows(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 23 16:45:30 UTC 2024 - 33.3K bytes - Viewed (0)