Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 153 of 153 for readBytesWireFormat (0.31 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/smb1/smb1/SmbComDeleteTest.java

            assertEquals(0, result);
        }
    
        @Test
        public void testReadBytesWireFormat() {
            // This method is expected to do nothing and return 0
            int result = smbComDelete.readBytesWireFormat(new byte[0], 0);
            assertEquals(0, result);
        }
    
        @Test
        public void testToString() {
            // Test the string representation of the object
            String result = smbComDelete.toString();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

        void testReadBytesWireFormatValid() throws Exception {
            // Given
            byte[] buffer = createValidNegotiateResponseBuffer();
    
            // When
            int bytesRead = response.readBytesWireFormat(buffer, 0);
    
            // Then
            assertTrue(bytesRead > 0);
            assertEquals(Smb2Constants.SMB2_NEGOTIATE_SIGNING_REQUIRED, response.getSecurityMode());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 32.5K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java

            int paramResult = transaction.readParameterWordsWireFormat(buffer, 0);
            assertEquals(0, paramResult);
    
            // Test bytes read
            int bytesResult = transaction.readBytesWireFormat(buffer, 0);
            assertEquals(0, bytesResult);
        }
    
        @Test
        @DisplayName("Test toString method")
        void testToString() {
            String result = transaction.toString();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.7K bytes
    - Click Count (0)
Back to Top