- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 12 for outputBuffer (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
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
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.8K bytes - Click Count (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);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.5K bytes - Click Count (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);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.9K bytes - Click Count (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) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 13.7K bytes - Click Count (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} *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 7.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java
private byte[] testFileId; private byte[] outputBuffer; private Smb2ReadRequest request; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); when(mockContext.getConfig()).thenReturn(mockConfig); testFileId = new byte[16]; new SecureRandom().nextBytes(testFileId); outputBuffer = new byte[4096];Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.8K bytes - Click Count (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); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 22.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/compression/DefaultCompressionServiceTest.java
byte[] outputBuffer = new byte[testData.length + 100]; int writtenBytes = compressionService.decompress(compressed, 0, compressed.length, outputBuffer, 50, CompressionService.COMPRESSION_LZ77); assertEquals(testData.length, writtenBytes); byte[] extracted = new byte[testData.length]; System.arraycopy(outputBuffer, 50, extracted, 0, testData.length);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 9.1K bytes - Click Count (0) -
src/main/java/jcifs/smb/compression/CompressionService.java
* * @param compressedData the compressed data buffer * @param offset the offset in the compressed data buffer * @param length the length of compressed data * @param outputBuffer the output buffer for decompressed data * @param outputOffset the offset in the output buffer * @param algorithm the compression algorithm that was used * @return the number of bytes written to the output bufferCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 5.2K bytes - Click Count (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() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3K bytes - Click Count (0)