- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 92 for 0x7fffffffL (0.66 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Writer.kt
windowSizeIncrement: Long, ) { withLock { if (closed) throw IOException("closed") require(windowSizeIncrement != 0L && windowSizeIncrement <= 0x7fffffffL) { "windowSizeIncrement == 0 || windowSizeIncrement > 0x7fffffffL: $windowSizeIncrement" } if (logger.isLoggable(FINE)) { logger.fine( frameLogWindowUpdate( inbound = false,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed May 28 23:28:25 UTC 2025 - 11K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt
assertThat(expected.message) .isEqualTo("windowSizeIncrement == 0 || windowSizeIncrement > 0x7fffffffL: 0") } assertFailsWith<IllegalArgumentException> { windowUpdate(0x80000000L) }.also { expected -> assertThat(expected.message) .isEqualTo("windowSizeIncrement == 0 || windowSizeIncrement > 0x7fffffffL: 2147483648") } } @Test fun goAwayWithoutDebugDataRoundTrip() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 28.1K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacDataInputStream.java
*/ public Date readFiletime() throws IOException { Date date = null; final long last = readUnsignedInt(); final long first = readUnsignedInt(); if (first != 0x7fffffffL && last != 0xffffffffL) { final BigInteger lastBigInt = BigInteger.valueOf(last); final BigInteger firstBigInt = BigInteger.valueOf(first);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Reader.kt
flags: Int, streamId: Int, ) { val increment: Long try { if (length != 4) throw IOException("TYPE_WINDOW_UPDATE length !=4: $length") increment = source.readInt() and 0x7fffffffL if (increment == 0L) throw IOException("windowSizeIncrement was 0") } catch (e: Exception) { logger.fine(frameLog(true, streamId, length, TYPE_WINDOW_UPDATE, flags)) throw e }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 19.8K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacDataInputStreamTest.java
} @Test public void testReadUnsignedInt() throws IOException { // Little-endian 0xFFFFFFFF -> 0xFF 0xFF 0xFF 0xFF byte[] data = new byte[] { (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF }; PacDataInputStream pdis = createInputStream(data); assertEquals(0xFFFFFFFFL, pdis.readUnsignedInt()); } @Test public void testReadFiletime() throws IOException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 9.2K bytes - Viewed (0) -
src/main/java/jcifs/util/Encdec.java
* @return the number of bytes written (8) */ public static int enc_uint64be(final long l, final byte[] dst, final int di) { enc_uint32be((int) (l & 0xFFFFFFFFL), dst, di + 4); enc_uint32be((int) (l >> 32L & 0xFFFFFFFFL), dst, di); return 8; } /** * Encodes a 64-bit unsigned integer in little-endian byte order. * * @param l the long value to encode
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 17.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/util/SMBUtilTest.java
} @ParameterizedTest @ValueSource(longs = { 0L, 1L, 0xFFFFFFFFL, 0x12345678L, 0x80000000L }) void testWriteReadInt4RoundTrip(long input) { byte[] buffer = new byte[8]; SMBUtil.writeInt4(input, buffer, 0); int result = SMBUtil.readInt4(buffer, 0); assertEquals((int) (input & 0xFFFFFFFFL), result); } @ParameterizedTest
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/Encdec.java
* @return the number of bytes written (8) */ public static int enc_uint64be(final long l, final byte[] dst, final int di) { enc_uint32be((int) (l & 0xFFFFFFFFL), dst, di + 4); enc_uint32be((int) (l >> 32L & 0xFFFFFFFFL), dst, di); return 8; } /** * Encodes a 64-bit unsigned integer in little-endian byte order. * * @param l the long value to encode
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 18.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedIntegerTest.java
.that(UnsignedInteger.fromIntBits(value).intValue()) .isEqualTo(value); } } public void testFromIntBitsLongValue() { for (int value : TEST_INTS) { long expected = value & 0xffffffffL; assertWithMessage(UnsignedInts.toString(value)) .that(UnsignedInteger.fromIntBits(value).longValue()) .isEqualTo(expected); } } public void testValueOfLong() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 9.6K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcExceptionTest.java
*/ @Test void testGetMessageByDcerpcError_largerThanAny() { int unknownCode = 0x7FFFFFFF; // Max int value // The current implementation has a bug in the binary search that causes ArrayIndexOutOfBoundsException assertThrows(ArrayIndexOutOfBoundsException.class, () -> { DcerpcException.getMessageByDcerpcError(unknownCode);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0)