Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 104 for readSetupWireFormat (0.17 seconds)

  1. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponseTest.java

            assertEquals(0, result);
        }
    
        @Test
        @DisplayName("readSetupWireFormat should return 0")
        void testReadSetupWireFormat() {
            // Arrange
            byte[] buffer = new byte[100];
            int bufferIndex = 0;
            int len = 100;
    
            // Act
            int result = response.readSetupWireFormat(buffer, bufferIndex, len);
    
            // Assert
            assertEquals(0, result);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java

            assertEquals(0, result);
        }
    
        @Test
        @DisplayName("Test readSetupWireFormat returns 0")
        void testReadSetupWireFormat() {
            response = new Trans2QueryPathInformationResponse(mockConfig, FileInformation.FILE_BASIC_INFO);
            byte[] buffer = new byte[100];
    
            int result = response.readSetupWireFormat(buffer, 0, buffer.length);
    
            assertEquals(0, result);
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java

            }
    
            @Override
            protected int writeDataWireFormat(byte[] dst, int dstIndex) {
                return dataWireFormatReturn;
            }
    
            @Override
            protected int readSetupWireFormat(byte[] buffer, int bufferIndex, int len) {
                return 0;
            }
    
            @Override
            protected int readParametersWireFormat(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java

        }
    
        @Test
        @DisplayName("Test readSetupWireFormat returns 0")
        void testReadSetupWireFormat() {
            byte[] buffer = new byte[100];
            int result = response.readSetupWireFormat(buffer, 0, 100);
            assertEquals(0, result);
    
            // Test with different parameters
            result = response.readSetupWireFormat(buffer, 10, 50);
            assertEquals(0, result);
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.2K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java

         * @param buffer source buffer
         * @param bufferIndex starting index in source buffer
         * @param len length of data to read
         * @return number of bytes read
         */
        protected abstract int readSetupWireFormat(byte[] buffer, int bufferIndex, int len);
    
        /**
         * Reads parameters from wire format
         * @param buffer source buffer
         * @param bufferIndex starting index in source buffer
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb1/smb1/Trans2FindFirst2Response.java

            return 0;
        }
    
        @Override
        int writeDataWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        int readSetupWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
            return 0;
        }
    
        @Override
        int readParametersWireFormat(final byte[] buffer, int bufferIndex, final int len) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java

            assertEquals(0, result);
        }
    
        @Test
        @DisplayName("Test readSetupWireFormat returns zero")
        void testReadSetupWireFormat() {
            notifyChange = new NtTransNotifyChange(mockConfig, 0x1234, FILE_NOTIFY_CHANGE_FILE_NAME, false);
            byte[] buffer = new byte[100];
    
            int result = notifyChange.readSetupWireFormat(buffer, 10, 50);
    
            assertEquals(0, result);
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.4K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java

            assertEquals(0, written);
        }
    
        @Test
        @DisplayName("Test readSetupWireFormat returns 0")
        void testReadSetupWireFormat() {
            trans2QueryFSInfo = new Trans2QueryFSInformation(config, FileSystemInformation.SMB_INFO_ALLOCATION);
    
            byte[] buffer = new byte[256];
            int read = trans2QueryFSInfo.readSetupWireFormat(buffer, 0, buffer.length);
    
            // Should always return 0
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.9K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java

            int result = response.writeDataWireFormat(buffer, 0);
    
            assertEquals(0, result);
        }
    
        @Test
        @DisplayName("Test readSetupWireFormat returns 0")
        void testReadSetupWireFormat() {
            byte[] buffer = new byte[100];
            int result = response.readSetupWireFormat(buffer, 0, buffer.length);
    
            assertEquals(0, result);
        }
    
        @Test
        @DisplayName("Test readDataWireFormat returns 0")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java

        }
    
        @Test
        @DisplayName("Test readSetupWireFormat returns 0")
        void testReadSetupWireFormat() {
            trans2SetFileInfo = new Trans2SetFileInformation(config, TEST_FID, mockFileInfo);
    
            byte[] buffer = new byte[256];
            int read = trans2SetFileInfo.readSetupWireFormat(buffer, 0, buffer.length);
    
            // Should always return 0
            assertEquals(0, read);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.8K bytes
    - Click Count (0)
Back to Top