- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for outputBuffer (0.8 sec)
-
src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponseTest.java
private byte[] outputBuffer; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); outputBuffer = new byte[1024]; response = new TransCallNamedPipeResponse(mockConfig, outputBuffer); } @Test void testConstructor() { assertNotNull(response); // Verify that the outputBuffer is stored properly
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponse.java
super(config); this.outputBuffer = null; } /** * Constructs an SMB2 IOCTL response with the given configuration and output buffer. * * @param config the configuration for this response * @param outputBuffer the buffer to receive output data */ public Smb2IoctlResponse(final Configuration config, final byte[] outputBuffer) { super(config);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java
// Test with data length exactly matching outputBuffer size byte[] testData = new byte[outputBuffer.length]; Arrays.fill(testData, (byte) 0xFF); byte[] buffer = new byte[outputBuffer.length + 100]; System.arraycopy(testData, 0, buffer, 0, outputBuffer.length); int result = response.readDataWireFormat(buffer, 0, outputBuffer.length); assertEquals(outputBuffer.length, result);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/io/Smb2ReadResponse.java
* the offset in the output buffer to start writing data */ public Smb2ReadResponse(final Configuration config, final byte[] outputBuffer, final int outputBufferOffset) { super(config); this.outputBuffer = outputBuffer; this.outputBufferOffset = outputBufferOffset; } /** * Gets the number of bytes actually read * * @return the dataLength */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequest.java
* @param fileId the file identifier * @param outputBuffer the output buffer for the IOCTL operation */ public Smb2IoctlRequest(final Configuration config, final int controlCode, final byte[] fileId, final byte[] outputBuffer) { super(config, SMB2_IOCTL); this.controlCode = controlCode; this.fileId = fileId; this.outputBuffer = outputBuffer; this.maxOutputResponse = outputBuffer.length;
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/smb2/lease/DirectoryChangeNotifier.java
* @param outputBuffer response buffer containing FILE_NOTIFY_INFORMATION structures */ public void processChangeNotification(ChangeNotificationHandle handle, byte[] outputBuffer) { if (outputBuffer == null || outputBuffer.length == 0) { return; } int offset = 0; while (offset < outputBuffer.length) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 13.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/io/Smb2ReadRequest.java
this.outputBuffer = outputBuffer; this.outputBufferOffset = outputBufferOffset; } @Override protected Smb2ReadResponse createResponse(final CIFSContext tc, final ServerMessageBlock2Request<Smb2ReadResponse> req) { return new Smb2ReadResponse(tc.getConfig(), this.outputBuffer, this.outputBufferOffset); } /** * {@inheritDoc} *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 7.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponse.java
if (len > this.outputBuffer.length) { throw new SMBProtocolDecodingException("Payload exceeds buffer size"); } System.arraycopy(buffer, bufferIndex, this.outputBuffer, 0, len); return len; } @Override public String toString() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponse.java
private final byte[] outputBuffer; /** * Constructs a response for a named pipe transaction. * * @param config the configuration to use * @param inB the input buffer to receive response data */ public TransTransactNamedPipeResponse(final Configuration config, final byte[] inB) { super(config); this.outputBuffer = inB; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java
private Configuration mockConfig; private byte[] outputBuffer; private int outputBufferOffset; private Smb2ReadResponse response; @BeforeEach void setUp() { mockConfig = mock(Configuration.class); outputBuffer = new byte[1024]; outputBufferOffset = 0; response = new Smb2ReadResponse(mockConfig, outputBuffer, outputBufferOffset); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 22.1K bytes - Viewed (0)