- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 34 for xLongs (0.03 sec)
-
android/guava/src/com/google/common/primitives/Longs.java
* href="https://github.com/google/guava/wiki/PrimitivesExplained">primitive utilities</a>. * * @author Kevin Bourrillion * @since 1.0 */ @GwtCompatible public final class Longs { private Longs() {} /** * The number of bytes required to represent a primitive {@code long} value. * * <p>Prefer {@link Long#BYTES} instead. */ // The constants value gets inlined here.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 29.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/LongsTest.java
assertThat(Longs.lastIndexOf(ARRAY1, 2L)).isEqualTo(-1); assertThat(Longs.lastIndexOf(ARRAY234, 1L)).isEqualTo(-1); assertThat(Longs.lastIndexOf(new long[] {-1L}, -1L)).isEqualTo(0); assertThat(Longs.lastIndexOf(ARRAY234, 2L)).isEqualTo(0); assertThat(Longs.lastIndexOf(ARRAY234, 3L)).isEqualTo(1); assertThat(Longs.lastIndexOf(ARRAY234, 4L)).isEqualTo(2);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 28.7K 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 Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 10.2K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/BloomFilterStrategies.java
} return true; } private /* static */ long lowerEight(byte[] bytes) { return Longs.fromBytes( bytes[7], bytes[6], bytes[5], bytes[4], bytes[3], bytes[2], bytes[1], bytes[0]); } private /* static */ long upperEight(byte[] bytes) { return Longs.fromBytes( bytes[15], bytes[14], bytes[13], bytes[12], bytes[11], bytes[10], bytes[9], bytes[8]); } };
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 10.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt
} } /** * Attempts to remove a single frame from a queue and send it. This prefers to write urgent pongs * before less urgent messages and close frames. For example, it's possible that a caller will * enqueue messages followed by pongs, but this sends pongs followed by messages. Pongs are always * written in the order they were enqueued. *
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 21.6K 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 Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 17.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/DiscreteDomain.java
* <p>This method always returns the same object. That object is serializable; deserializing it * results in the same object too. * * @since 14.0 (since 10.0 as {@code DiscreteDomains.longs()}) */ public static DiscreteDomain<Long> longs() { return LongDomain.INSTANCE; } private static final class LongDomain extends DiscreteDomain<Long> implements Serializable {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 10.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt
SocketTimeoutException::class.java, "sent ping but didn't receive pong within 500ms (after 0 successful ping/pongs)", ) } @Test fun unexpectedPongsDoNotInterfereWithFailureDetection() { client.initWebSocket(random, pingIntervalMillis = 500) // At 0ms the server sends 3 unexpected pongs. The client accepts 'em and ignores em. server.webSocket!!.pong("pong 1".encodeUtf8()) client.processNextFrame()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 18.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/DiscreteDomain.java
* <p>This method always returns the same object. That object is serializable; deserializing it * results in the same object too. * * @since 14.0 (since 10.0 as {@code DiscreteDomains.longs()}) */ public static DiscreteDomain<Long> longs() { return LongDomain.INSTANCE; } private static final class LongDomain extends DiscreteDomain<Long> implements Serializable {
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
import static java.lang.invoke.MethodHandles.byteArrayViewVarHandle; import static java.nio.ByteOrder.LITTLE_ENDIAN; import com.google.common.annotations.VisibleForTesting; import com.google.common.primitives.Longs; import com.google.j2objc.annotations.J2ObjCIncompatible; import java.lang.invoke.VarHandle; import java.lang.reflect.Field; import java.nio.ByteOrder; import java.security.AccessController;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 03:49:18 UTC 2025 - 12.3K bytes - Viewed (0)