- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 6,502 for andx (0.06 sec)
-
src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java
assertEquals((byte) 0x00, buf[2], "Reserved byte must be 0"); assertEquals((byte) 0xDE, buf[3], "Sentinel low offset when no chaining"); assertEquals((byte) 0xDE, buf[4], "Sentinel high offset when no chaining"); assertNull(block.andx, "andx should be cleared when not chaining"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java
SMBUtil.writeInt2(83, buffer, 36); // andxOffset (33 + 50) SMBUtil.writeInt2(20, buffer, 42); // byteCount // Setup andx command data at offset 83 (absolute position from buffer start) buffer[83] = 2; // andx wordCount SMBUtil.writeInt2(10, buffer, 88); // andx byteCount int length = testBlock.decode(buffer, 0); assertTrue(length > 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComOpenAndX.java
// flags is NOT the same as flags member SmbComOpenAndX(final String fileName, final int access, final int flags, final ServerMessageBlock andx) { super(andx); this.path = fileName; command = SMB_COM_OPEN_ANDX; desiredAccess = access & 0x3; if (desiredAccess == 0x3) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComWriteAndX.java
command = SMB_COM_WRITE_ANDX; } SmbComWriteAndX(final int fid, final long offset, final int remaining, final byte[] b, final int off, final int len, final ServerMessageBlock andx) { super(andx); this.fid = fid; this.offset = offset; this.remaining = remaining; this.b = b; this.off = off; dataLength = len; command = SMB_COM_WRITE_ANDX;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComLogoffAndXTest.java
// SMB_COM_LOGOFF_ANDX = 0x74 assertEquals((byte) 0x74, msg.command, "Command should be SMB_COM_LOGOFF_ANDX"); } @Test @DisplayName("constructor with mock andx properly sets andx field") void constructorWithMockAndx() { // Create a mock ServerMessageBlock ServerMessageBlock mockAndx = mock(ServerMessageBlock.class);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndXResponse.java
private String nativeFileSystem = ""; /** * Constructs a tree connect AndX response. * * @param config the configuration to use * @param andx the next command in the AndX chain, or null */ public SmbComTreeConnectAndXResponse(final Configuration config, final ServerMessageBlock andx) { super(config, andx); } /** * @return the service */ @OverrideRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComReadAndX.java
/** * SMB1 Read AndX request message. * * This command is used to read data from a file that has been * previously opened with an Open command. */ public class SmbComReadAndX extends AndXServerMessageBlock { private long offset; private int fid; int openTimeout; int maxCount, minCount, remaining; /** * Constructs a Read AndX request. *Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndX.java
batchLimits[8] = Byte.parseByte(s); } } SmbComTreeConnectAndX(final SmbSession session, final String path, final String service, final ServerMessageBlock andx) { super(andx); this.session = session; this.path = path; this.service = service; command = SMB_COM_TREE_CONNECT_ANDX; } @Override int getBatchLimit(final byte command) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 6.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
final Smb2TreeConnectRequest req = new Smb2TreeConnectRequest(sess.getConfig(), unc); if (andx != null) { req.chain((ServerMessageBlock2) andx); } request = req; } else {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndXResponse.java
import jcifs.internal.smb1.AndXServerMessageBlock; import jcifs.internal.util.SMBUtil; import jcifs.util.Hexdump; /** * SMB1 NT Create AndX Response message. * * This response contains information about the created or opened file, * including file handle, attributes, and creation disposition. */ public class SmbComNTCreateAndXResponse extends AndXServerMessageBlock implements SmbBasicFileInfo {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.1K bytes - Viewed (0)