Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 15 for outputBuffer (0.29 seconds)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  6. 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;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  7. 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)
  8. build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/AntTask.groovy

        /**
         * A buffer that will contain the output of the ant code run,
         * if the output was not already written directly to stdout.
         */
        public final ByteArrayOutputStream outputBuffer = new ByteArrayOutputStream()
    
        @Inject
        protected FileSystemOperations getFileSystemOperations() {
            throw new UnsupportedOperationException();
        }
    
        @TaskAction
        final void executeTask() {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 3.4K bytes
    - Click Count (0)
  9. 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)
  10. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 22.1K bytes
    - Click Count (0)
Back to Top