- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 56 for xLongs (0.09 sec)
-
android/guava/src/com/google/common/primitives/Longs.java
* * @author Kevin Bourrillion * @since 1.0 */ @GwtCompatible @ElementTypesAreNonnullByDefault public final class Longs { private Longs() {} /** * The number of bytes required to represent a primitive {@code long} value. * * <p><b>Java 8+ users:</b> use {@link Long#BYTES} instead. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 18:05:56 UTC 2024 - 29.3K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Longs.java
* * @author Kevin Bourrillion * @since 1.0 */ @GwtCompatible @ElementTypesAreNonnullByDefault public final class Longs { private Longs() {} /** * The number of bytes required to represent a primitive {@code long} value. * * <p><b>Java 8+ users:</b> use {@link Long#BYTES} instead. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 15:52:18 UTC 2024 - 29K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/LongsTest.java
assertThat(Longs.contains(EMPTY, (long) 1)).isFalse(); assertThat(Longs.contains(ARRAY1, (long) 2)).isFalse(); assertThat(Longs.contains(ARRAY234, (long) 1)).isFalse(); assertThat(Longs.contains(new long[] {(long) -1}, (long) -1)).isTrue(); assertThat(Longs.contains(ARRAY234, (long) 2)).isTrue(); assertThat(Longs.contains(ARRAY234, (long) 3)).isTrue(); assertThat(Longs.contains(ARRAY234, (long) 4)).isTrue();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 29.8K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java
// Java 2nd Edition Item 76: Write readObject methods defensively. private transient AtomicLongArray longs; /** * Creates a new {@code AtomicDoubleArray} of the given length, with all elements initially zero. * * @param length the length of the array */ public AtomicDoubleArray(int length) { this.longs = new AtomicLongArray(length); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jun 14 17:55:55 UTC 2024 - 10.3K 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/src/com/google/common/primitives/UnsignedLongs.java
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 Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Aug 12 21:04:48 UTC 2024 - 17.6K bytes - Viewed (0) -
guava/src/com/google/common/hash/LittleEndianByteArray.java
* the License. */ package com.google.common.hash; import static java.lang.Math.min; import com.google.common.primitives.Longs; import java.lang.reflect.Field; import java.nio.ByteOrder; import java.security.AccessController; import java.security.PrivilegedActionException; import java.security.PrivilegedExceptionAction; import sun.misc.Unsafe;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 9.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Hashing.java
* @author Jesse Wilson * @author Austin Appleby */ @GwtCompatible @ElementTypesAreNonnullByDefault final class Hashing { private Hashing() {} /* * These should be ints, but we need to use longs to force GWT to do the multiplications with * enough precision. */ private static final long C1 = 0xcc9e2d51; private static final long C2 = 0x1b873593; /*
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 2.5K bytes - Viewed (0) -
guava/src/com/google/common/hash/Murmur3_32HashFunction.java
import static java.nio.charset.StandardCharsets.UTF_8; import com.google.common.primitives.Chars; import com.google.common.primitives.Ints; import com.google.common.primitives.Longs; import com.google.errorprone.annotations.CanIgnoreReturnValue; import com.google.errorprone.annotations.Immutable; import java.io.Serializable; import java.nio.ByteBuffer; import java.nio.ByteOrder;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Aug 02 13:50:22 UTC 2024 - 11.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/Hashing.java
* @author Jesse Wilson * @author Austin Appleby */ @GwtCompatible @ElementTypesAreNonnullByDefault final class Hashing { private Hashing() {} /* * These should be ints, but we need to use longs to force GWT to do the multiplications with * enough precision. */ private static final long C1 = 0xcc9e2d51; private static final long C2 = 0x1b873593; /*
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 2.5K bytes - Viewed (0)