- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,165 for longs (0.14 sec)
-
android/guava-tests/benchmark/com/google/common/primitives/UnsignedLongsBenchmark.java
for (int i = 0; i < ARRAY_SIZE; i++) { longs[i] = random(); divisors[i] = randomDivisor(longs[i]); decimalStrings[i] = UnsignedLongs.toString(longs[i]); binaryStrings[i] = UnsignedLongs.toString(longs[i], 2); hexStrings[i] = UnsignedLongs.toString(longs[i], 16); prefixedHexStrings[i] = "0x" + hexStrings[i]; } } @Benchmark long divide(int reps) { long tmp = 0;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4.3K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/math/LongMathBenchmark.java
private static final long[] positive = new long[ARRAY_SIZE]; private static final long[] nonnegative = new long[ARRAY_SIZE]; private static final long[] longs = new long[ARRAY_SIZE]; @BeforeExperiment void setUp() { for (int i = 0; i < ARRAY_SIZE; i++) { exponents[i] = randomExponent(); positive[i] = randomPositiveBigInteger(Long.SIZE - 1).longValue();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/ConverterTest.java
Converter<Long, String> reverseConverter = Longs.stringConverter().reverse(); SerializableTester.reserializeAndAssert(reverseConverter); } @GwtIncompatible // J2CL generics problem public void testSerialization_andThen() { Converter<String, Long> converterA = Longs.stringConverter(); Converter<Long, String> reverseConverter = Longs.stringConverter().reverse();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 01 16:09:28 UTC 2024 - 8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/LongArrayAsListTest.java
Long[] suffix = {(long) 86, (long) 99}; Long[] all = concat(concat(prefix, elements), suffix); return asList(all).subList(2, elements.length + 2); } } private static Long[] concat(Long[] left, Long[] right) { Long[] result = new Long[left.length + right.length]; System.arraycopy(left, 0, result, 0, left.length); System.arraycopy(right, 0, result, left.length, right.length);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jun 01 09:32:35 UTC 2023 - 5.5K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/primitives/UnsignedLongsBenchmark.java
for (int i = 0; i < ARRAY_SIZE; i++) { longs[i] = random(); divisors[i] = randomDivisor(longs[i]); decimalStrings[i] = UnsignedLongs.toString(longs[i]); binaryStrings[i] = UnsignedLongs.toString(longs[i], 2); hexStrings[i] = UnsignedLongs.toString(longs[i], 16); prefixedHexStrings[i] = "0x" + hexStrings[i]; } } @Benchmark long divide(int reps) { long tmp = 0;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/LongArrayAsListTest.java
Long[] suffix = {(long) 86, (long) 99}; Long[] all = concat(concat(prefix, elements), suffix); return asList(all).subList(2, elements.length + 2); } } private static Long[] concat(Long[] left, Long[] right) { Long[] result = new Long[left.length + right.length]; System.arraycopy(left, 0, result, 0, left.length); System.arraycopy(right, 0, result, left.length, right.length);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jun 01 09:32:35 UTC 2023 - 5.5K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/math/LongMathRoundingBenchmark.java
private static final long[] positive = new long[ARRAY_SIZE]; private static final long[] nonzero = new long[ARRAY_SIZE]; private static final long[] longs = new long[ARRAY_SIZE]; @BeforeExperiment void setUp() { for (int i = 0; i < ARRAY_SIZE; i++) { positive[i] = randomPositiveBigInteger(Long.SIZE - 2).longValue(); nonzero[i] = randomNonZeroBigInteger(Long.SIZE - 2).longValue();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 2.6K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/math/LongMathBenchmark.java
private static final long[] positive = new long[ARRAY_SIZE]; private static final long[] nonnegative = new long[ARRAY_SIZE]; private static final long[] longs = new long[ARRAY_SIZE]; @BeforeExperiment void setUp() { for (int i = 0; i < ARRAY_SIZE; i++) { exponents[i] = randomExponent(); positive[i] = randomPositiveBigInteger(Long.SIZE - 1).longValue();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.5K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild.minify.gradle.kts
"it.unimi.dsi.fastutil.objects.Reference2ObjectOpenHashMap", // For dependency management "it.unimi.dsi.fastutil.longs.Long2ObjectMap", "it.unimi.dsi.fastutil.longs.Long2ObjectMaps", "it.unimi.dsi.fastutil.longs.Long2ObjectOpenHashMap", // For the configuration cache module "it.unimi.dsi.fastutil.objects.ReferenceArrayList",
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Sat Sep 30 16:17:28 UTC 2023 - 4.2K bytes - Viewed (0) -
guava/src/com/google/common/hash/AbstractByteHasher.java
@CanIgnoreReturnValue public Hasher putInt(int i) { scratch.putInt(i); return update(Ints.BYTES); } @Override @CanIgnoreReturnValue public Hasher putLong(long l) { scratch.putLong(l); return update(Longs.BYTES); } @Override @CanIgnoreReturnValue public Hasher putChar(char c) { scratch.putChar(c); return update(Chars.BYTES); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jun 15 20:59:00 UTC 2022 - 3.5K bytes - Viewed (0)