- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for SmbComReadAndXResponse (0.25 sec)
-
src/main/java/jcifs/internal/smb1/com/SmbComReadAndXResponse.java
* along with information about the read operation. */ public class SmbComReadAndXResponse extends AndXServerMessageBlock { private byte[] data; private int offset, dataCompactionMode, dataLength, dataOffset; /** * Constructs a Read AndX response. * * @param config the configuration */ public SmbComReadAndXResponse(final Configuration config) { super(config); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComReadAndXResponse.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.smb1.smb1; class SmbComReadAndXResponse extends AndXServerMessageBlock { byte[] b; int off, dataCompactionMode, dataLength, dataOffset; SmbComReadAndXResponse() { } SmbComReadAndXResponse(final byte[] b, final int off) { this.b = b; this.off = off; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbRandomAccessFileTest.java
public Void answer(InvocationOnMock invocation) throws Throwable { SmbComReadAndXResponse response = invocation.getArgument(1); response.dataLength = 0; // EOF return null; } }).when(smbFile).send(any(SmbComReadAndX.class), any(SmbComReadAndXResponse.class)); int result = smbRandomAccessFile.read(); assertEquals(-1, result); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComReadAndXResponseTest.java
import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; /** * Unit tests for the {@link SmbComReadAndXResponse} class. */ public class SmbComReadAndXResponseTest { private SmbComReadAndXResponse response; @BeforeEach public void setUp() { response = new SmbComReadAndXResponse(); } @Test public void testConstructor() { assertNotNull(response); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SigningDigest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 9.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java
index += 8; if (msg.getCommand() == ServerMessageBlock.SMB_COM_READ_ANDX) { /* * SmbComReadAndXResponse reads directly from the stream into separate byte[] b. */ final SmbComReadAndXResponse raxr = (SmbComReadAndXResponse) msg; final int length = msg.getLength() - raxr.getDataLength();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java
} @Test @DisplayName("Test verify method with SmbComReadAndXResponse") void testVerifyWithReadAndXResponse() { SMB1SigningDigest digest = new SMB1SigningDigest(testMacSigningKey); byte[] data = new byte[100]; byte[] readData = new byte[50]; SmbComReadAndXResponse readResponse = mock(SmbComReadAndXResponse.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java
// ensure file is open if (!file.isOpen()) { file.open(openFlags, 0, SmbFile.ATTR_NORMAL, options); } int r, n; final SmbComReadAndXResponse response = new SmbComReadAndXResponse(b, off); do { r = len > readSize ? readSize : len; file.send(new SmbComReadAndX(file.fid, fp, r, null), response); n = response.dataLength;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 14.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbRandomAccessFile.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 18.8K bytes - Viewed (0)