- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 376 for readn (0.98 sec)
-
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java
assertEquals(0, result); result = response.writeDataWireFormat(null, 0); assertEquals(0, result); } @Test @DisplayName("Test all read methods with null buffer") void testReadMethodsWithNullBuffer() { // Even with null buffer, methods should return 0 without throwing exception int result = response.readSetupWireFormat(null, 0, 0);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2Constants.java
/** * Unspecified session ID value */ public static final long UNSPECIFIED_SESSIONID = 0xFFFFFFFFFFFFFFFFL; /** * SMB2 Channel constant for RDMA V1 * Used in SMB2 READ and WRITE requests to indicate RDMA channel */ public static final int SMB2_CHANNEL_RDMA_V1 = 0x00000001; /** * SMB2 Channel constant for RDMA V1 invalidateRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 4.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/Smb2RdmaTransformCapabilitiesContext.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 4.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponse.java
final int start = bufferIndex; final SmbInfoAllocation info = new SmbInfoAllocation(); // Read total allocation units. info.alloc = readInt8(buffer, bufferIndex); bufferIndex += 8; // read caller available allocation units info.free = readInt8(buffer, bufferIndex); bufferIndex += 8; // skip actual free unitsRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbException.java
* server. Rather than represent each with it's own <code>Exception</code> * class, this class represents all of them. For many of the popular * error codes, constants and text messages like "The device is not ready" * are provided. * <p> * The jCIFS client maps DOS error codes to NTSTATUS codes. This means that * the user may recieve a different error from a legacy server than that of
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6K bytes - Viewed (0) -
src/main/java/jcifs/netbios/Lmhosts.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java
// File Size: 1024 bytes ServerMessageBlock.writeInt4(1024, buffer, 6); response.wordCount = 10; // Must be non-zero to read int bytesRead = response.readParameterWordsWireFormat(buffer, 0); // Should read 20 bytes as per implementation assertEquals(20, bytesRead); assertEquals(0x0010, response.getAttributes());Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeHandleImplTest.java
when(resp.getOutputLength()).thenReturn(42); when(tree.send(any(Smb2IoctlRequest.class), any())).thenReturn(resp); byte[] out = new byte[10]; int read = target.sendrecv(new byte[] { 9, 8, 7 }, 0, 3, out, 1024); assertEquals(42, read); // Verify we issued an SMB2 IOCTL ArgumentCaptor<Smb2IoctlRequest> captor = ArgumentCaptor.forClass(Smb2IoctlRequest.class);
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/internal/smb1/trans/TransTransactNamedPipeResponse.java
import jcifs.internal.SMBProtocolDecodingException; /** * Response for SMB1 TRANS_TRANSACT_NAMED_PIPE transaction. * * This response contains the data returned from the named pipe * after a transact operation (write then read) has been completed. */ public class TransTransactNamedPipeResponse extends SmbComTransactionResponse { private final byte[] outputBuffer; /** * Constructs a response for a named pipe transaction.
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelState.java
/** * Connection establishment in progress */ CONNECTING(1), /** * Authentication in progress */ AUTHENTICATING(2), /** * Channel is established and ready for use */ ESTABLISHED(3), /** * Channel binding in progress */ BINDING(4), /** * Channel is actively transferring data */ ACTIVE(5), /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 1.7K bytes - Viewed (0)