- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 37 for 0x7fffffffL (0.04 sec)
-
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) -
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) -
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) -
src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java
Arguments.of(0x12345678, new byte[] { 0x78, 0x56, 0x34, 0x12 }), Arguments.of(0xFFFFFFFF, new byte[] { (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF }), Arguments.of(0x7FFFFFFF, new byte[] { (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0x7F })); } @ParameterizedTest @MethodSource("int32Provider")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/util/SMBUtil.java
* @param srcIndex the starting index in the source array * @return the 64-bit integer value */ public static long readInt8(final byte[] src, final int srcIndex) { return (readInt4(src, srcIndex) & 0xFFFFFFFFL) + ((long) readInt4(src, srcIndex + 4) << 32); } /** * Writes a 64-bit integer value to a byte array in little-endian format * @param val the value to write
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/ntlmssp/Type1Message.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/util/EncdecTest.java
// When - encode little endian Encdec.enc_uint32le(value, buffer, 0); long decoded = Encdec.dec_uint32le(buffer, 0); // Then assertEquals(value & 0xFFFFFFFFL, decoded); assertEquals(0x78, buffer[0] & 0xFF); assertEquals(0x56, buffer[1] & 0xFF); assertEquals(0x34, buffer[2] & 0xFF); assertEquals(0x12, buffer[3] & 0xFF); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComReadAndX.java
command = SMB_COM_READ_ANDX; openTimeout = 0xFFFFFFFF; } SmbComReadAndX(final int fid, final long offset, final int maxCount, final ServerMessageBlock andx) { super(andx); this.fid = fid; this.offset = offset; this.maxCount = minCount = maxCount; command = SMB_COM_READ_ANDX; openTimeout = 0xFFFFFFFF; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.1K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt
skipName(buf) // name val type = buf.readShort().toInt() and 0xffff buf.readShort() // class @Suppress("UNUSED_VARIABLE") val ttl = buf.readInt().toLong() and 0xffffffffL // ttl val length = buf.readShort().toInt() and 0xffff if (type == TYPE_A || type == TYPE_AAAA) { val bytes = ByteArray(length) buf.read(bytes)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.9K bytes - Viewed (0)