- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 1,309 for longp (0.02 sec)
-
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 Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.6K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/UnsignedLongs.java
private UnsignedLongs() {} public static final long MAX_VALUE = -1L; // Equivalent to 2^64 - 1 /** * A (self-inverse) bijection which converts the ordering on unsigned longs to the ordering on * longs, that is, {@code a <= b} as unsigned longs if and only if {@code flip(a) <= flip(b)} as * signed longs. */ private static long flip(long a) { return a ^ Long.MIN_VALUE; } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 17.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/DiscreteDomain.java
return (l == Long.MIN_VALUE) ? null : l - 1; } @Override Long offset(Long origin, long distance) { checkNonnegative(distance, "distance"); long result = origin + distance; if (result < 0) { checkArgument(origin < 0, "overflow"); } return result; } @Override public long distance(Long start, Long end) { long result = end - start;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 10.4K 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 Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/DiscreteDomain.java
return (l == Long.MIN_VALUE) ? null : l - 1; } @Override Long offset(Long origin, long distance) { checkNonnegative(distance, "distance"); long result = origin + distance; if (result < 0) { checkArgument(origin < 0, "overflow"); } return result; } @Override public long distance(Long start, Long end) { long result = end - start;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 10.4K bytes - Viewed (0) -
guava/src/com/google/common/hash/LittleEndianByteArray.java
@Override public long getLongLittleEndian(byte[] array, int offset) { long bigEndian = theUnsafe.getLong(array, (long) offset + BYTE_ARRAY_BASE_OFFSET); // The hardware is big-endian, so we need to reverse the order of the bytes. return Long.reverseBytes(bigEndian); } @Override public void putLongLittleEndian(byte[] array, int offset, long value) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 03:49:18 UTC 2025 - 12.3K bytes - Viewed (0) -
guava/src/com/google/common/cache/LongAddable.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 885 bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Murmur3_32HashFunction.java
return fmix(h1, Ints.BYTES); } @Override public HashCode hashLong(long input) { int low = (int) input; int high = (int) (input >>> 32); int k1 = mixK1(low); int h1 = mixH1(seed, k1); k1 = mixK1(high); h1 = mixH1(h1, k1); return fmix(h1, Longs.BYTES); } @Override public HashCode hashUnencodedChars(CharSequence input) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 16:36:11 UTC 2025 - 11.8K bytes - Viewed (0) -
guava/src/com/google/common/hash/Murmur3_32HashFunction.java
return fmix(h1, Ints.BYTES); } @Override public HashCode hashLong(long input) { int low = (int) input; int high = (int) (input >>> 32); int k1 = mixK1(low); int h1 = mixH1(seed, k1); k1 = mixK1(high); h1 = mixH1(h1, k1); return fmix(h1, Longs.BYTES); } @Override public HashCode hashUnencodedChars(CharSequence input) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 16:36:11 UTC 2025 - 11.8K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/LongAddable.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 816 bytes - Viewed (0)