- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 96 for 0xFFFF (0.04 sec)
-
src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequestTest.java
new ValidateNegotiateInfoRequest(DEFAULT_CAPABILITIES, defaultClientGuid, 0xFFFF, defaultDialects); byte[] buffer = new byte[request.size()]; request.encode(buffer, 0); // Verify max security mode value (2 bytes) assertEquals(0xFFFF, SMBUtil.readInt2(buffer, 20) & 0xFFFF); } @Test @DisplayName("Test encode with all zero GUID")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.7K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 18.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessVersion.java
* * @return the major version */ public int getMajorVersion() { return (version >> 16) & 0xFFFF; } /** * Gets the minor version number. * * @return the minor version */ public int getMinorVersion() { return version & 0xFFFF; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 1.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/util/SMBUtilTest.java
byte[] src = new byte[] { (byte) 0x34, (byte) 0x12, // 0x1234 (byte) 0xFF, (byte) 0xFF, // 0xFFFF (byte) 0x00, (byte) 0x00, // 0x0000 (byte) 0xCD, (byte) 0xAB // 0xABCD }; assertEquals(0x1234, SMBUtil.readInt2(src, 0)); assertEquals(0xFFFF, SMBUtil.readInt2(src, 2)); assertEquals(0x0000, SMBUtil.readInt2(src, 4));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComFindClose2Test.java
// -1 == 0xFFFF int negativeSid = -1; SmbComFindClose2 neg = new SmbComFindClose2(mockConfig, negativeSid); byte[] dst = new byte[2]; int written = neg.writeParameterWordsWireFormat(dst, 0); assertEquals(2, written); assertArrayEquals(new byte[] { (byte) 0xFF, (byte) 0xFF }, dst, "Negative sid should wrap to 0xFFFF"); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbTransport.java
* Handles the low-level transport layer for SMB1 protocol messages. */ public class SmbTransport extends Transport implements SmbConstants { static final byte[] BUF = new byte[0xFFFF]; static final SmbComNegotiate NEGOTIATE_REQUEST = new SmbComNegotiate(); static LogStream log = LogStream.getInstance(); static HashMap dfsRoots = null;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 31.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java
void testReadBytesWireFormatNegativeStructureSize() { byte[] buffer = new byte[1024]; int bufferIndex = 0; // Set structure size to -1 (0xFFFF when read as unsigned) SMBUtil.writeInt2(0xFFFF, buffer, bufferIndex); SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class, () -> response.readBytesWireFormat(buffer, bufferIndex),
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java
assertEquals(0xFFFFFFFF, transCallNamedPipe.timeout); assertEquals(0, transCallNamedPipe.maxParameterCount); assertEquals(0xFFFF, transCallNamedPipe.maxDataCount); assertEquals((byte) 0x00, transCallNamedPipe.maxSetupCount); assertEquals(2, transCallNamedPipe.setupCount); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcDfsRootEnum.java
* * @param server the server name to enumerate DFS roots from */ public MsrpcDfsRootEnum(final String server) { super(server, 200, 0xFFFF, new netdfs.DfsEnumStruct(), new NdrLong(0)); info.level = level; info.e = new netdfs.DfsEnumArray200(); ptype = 0; flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG; } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.2K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/rpc.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.3K bytes - Viewed (0)