- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 39 for 0xffffff (0.04 sec)
-
src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java
} @ParameterizedTest @DisplayName("Should encode consistently with various flag values") @ValueSource(ints = { 0, 1, 2, 4, 16, 0xFF, 0xFFFF, 0xFFFFFF, 0x7FFFFFFF, -1 }) void testEncodingWithVariousFlags(int flags) { lock = new Smb2Lock(1024L, 2048L, flags); int encoded = lock.encode(buffer, 0); assertEquals(24, encoded);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileInputStream.java
this.largeReadX = true; this.readSizeFile = Math.min(th.getConfig().getReceiveBufferSize() - 70, th.areSignaturesActive() ? 0xFFFF - 70 : 0xFFFFFF - 70); log.debug("Enabling LARGE_READX with " + this.readSizeFile); } else { log.debug("LARGE_READX disabled"); this.readSizeFile = this.readSize; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbRandomAccessFile.java
} // there seems to be a bug with some servers that causes corruption if using signatures + CAP_LARGE_WRITE if (th.hasCapability(SmbConstants.CAP_LARGE_WRITEX) && !th.areSignaturesActive()) { this.writeSize = Math.min(th.getConfig().getSendBufferSize() - 70, 0xFFFF - 70); } this.fp = 0L;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacDataInputStreamTest.java
// Little-endian 0xFFFF -> 0xFF 0xFF byte[] data = new byte[] { (byte) 0xFF, (byte) 0xFF, 0x00, 0x00 }; PacDataInputStream pdis = createInputStream(data); assertEquals(0xFFFF, pdis.readUnsignedShort()); } @Test public void testReadUnsignedInt() throws IOException { // Little-endian 0xFFFFFFFF -> 0xFF 0xFF 0xFF 0xFF
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/test/java/jcifs/netbios/SessionServicePacketTest.java
return Stream.of(Arguments.of(0), Arguments.of(1), Arguments.of(255), Arguments.of(256), Arguments.of(65535), Arguments.of(65536), Arguments.of(0x7FFFFFFF), Arguments.of(0xFFFFFFFF)); } @Test @DisplayName("readInt2 should correctly read 16-bit integer") void testReadInt2() { byte[] src = { (byte) 0x12, (byte) 0x34, (byte) 0x56 };
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.5K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcExceptionTest.java
*/ @Test void testGetMessageByDcerpcError_smallerThanAny() { int unknownCode = -1; String message = DcerpcException.getMessageByDcerpcError(unknownCode); assertEquals("0xFFFFFFFF", message, "Should return hex string for code smaller than any known."); } /** * Test getMessageByDcerpcError() with an error code larger than any known.
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/smb1/smb1/SmbNamedPipe.java
pipeIn = new TransactNamedPipeInputStream(this); } else { pipeIn = new SmbFileInputStream(this, pipeType & 0xFFFF00FF | SmbFile.O_EXCL); } } return pipeIn; } /** * Return the <code>OutputStream</code> used to write
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.5K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacSignature.java
*/ public class PacSignature { /** * Kerberos checksum type for HMAC-MD5 (ARCFOUR-HMAC). */ public static final int KERB_CHECKSUM_HMAC_MD5 = 0xFFFFFF76; /** * Kerberos checksum type for HMAC-SHA1-96 with AES-128. */ public static final int HMAC_SHA1_96_AES128 = 0x0000000F; /** * Kerberos checksum type for HMAC-SHA1-96 with AES-256.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java
transaction.setTotalParameterCount(0xFFFFFFFF); transaction.setTotalDataCount(0xFFFFFFFF); transaction.setMaxParameterCount(0xFFFFFFFF); transaction.setMaxDataCountForTest(0xFFFFFFFF); transaction.setParameterCount(0xFFFFFFFF); transaction.setParameterOffset(0xFFFFFFFF); transaction.setDataCount(0xFFFFFFFF); transaction.setDataOffset(0xFFFFFFFF);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0)