Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 390 for Structured (2.75 sec)

  1. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java

            assertEquals(0, bytesWritten);
        }
    
        @Test
        @DisplayName("Should read valid structure from wire format")
        void testReadBytesWireFormatValidStructure() throws SMBProtocolDecodingException {
            // Given
            byte[] buffer = new byte[256];
            int offset = 10;
    
            // Write structure size (4) at offset
            SMBUtil.writeInt2(4, buffer, offset);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java

            assertEquals("Expected structureSize = 2", exception.getMessage());
        }
    
        @Test
        @DisplayName("Test readBytesWireFormat with zero structure size throws exception")
        void testReadBytesWireFormatZeroStructureSize() {
            byte[] buffer = new byte[1024];
            int bufferIndex = 0;
    
            // Set structure size to 0 (invalid)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java

        @DisplayName("Test readBytesWireFormat with valid structure size")
        void testReadBytesWireFormatValidStructureSize() throws Exception {
            response = new Smb2QueryInfoResponse(mockConfig, Smb2Constants.SMB2_0_INFO_FILE, FileInformation.FILE_INTERNAL_INFO);
    
            byte[] buffer = new byte[1024];
            int bufferIndex = 100; // Start at non-zero index
    
            // Set structure size to 9 (valid)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  4. docs/smb3-features/03-multi-channel-design.md

        
        // Maximum channels per session
        public static final int DEFAULT_MAX_CHANNELS = 4;
        public static final int ABSOLUTE_MAX_CHANNELS = 32;
    }
    ```
    
    ## 4. Data Structures
    
    ### 4.1 Network Interface Information
    ```java
    package jcifs.internal.smb2.multichannel;
    
    import java.net.InetAddress;
    import java.net.NetworkInterface;
    import java.util.ArrayList;
    import java.util.List;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java

        class ReadBytesWireFormatTests {
    
            @Test
            @DisplayName("Should read valid structure size of 4")
            void testReadBytesWireFormatValid() throws SMBProtocolDecodingException {
                byte[] buffer = new byte[1024];
                int bufferIndex = 100;
    
                // Write structure size = 4
                SMBUtil.writeInt2(4, buffer, bufferIndex);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/msrpc/samrTest.java

    import jcifs.dcerpc.rpc;
    import jcifs.dcerpc.ndr.NdrBuffer;
    import jcifs.dcerpc.ndr.NdrException;
    
    /**
     * Comprehensive test suite for samr (Security Account Manager Remote) protocol
     * Tests all message types, data structures, and constants
     */
    @ExtendWith(MockitoExtension.class)
    @DisplayName("SAMR Protocol Test Suite")
    class samrTest {
    
        @Mock
        private NdrBuffer mockNdrBuffer;
    
        @Mock
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java

                assertEquals(16, bytesRead); // Structure size + reserved (4) + count (4) + remaining (4) + channel info (4)
                assertEquals(1024, response.getCount());
                assertEquals(512, response.getRemaining());
            }
    
            @Test
            @DisplayName("Should throw exception for invalid structure size")
            void testInvalidStructureSize() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java

        @Test
        @DisplayName("Test readBytesWireFormat with valid structure size")
        void testReadBytesWireFormatValidStructureSize() throws Exception {
            response = new Smb2QueryDirectoryResponse(mockConfig, Smb2QueryDirectoryRequest.FILE_BOTH_DIRECTORY_INFO);
    
            byte[] buffer = new byte[512];
            int bufferIndex = 0;
    
            // Set structure size to 9 (valid)
            SMBUtil.writeInt2(9, buffer, bufferIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.7.md

    * This change add nonResourceURL to kubectl auth cani ([#46432](https://github.com/kubernetes/kubernetes/pull/46432), [@CaoShuFeng](https://github.com/CaoShuFeng))
    * Webhook added to the API server which omits structured audit log events. ([#45919](https://github.com/kubernetes/kubernetes/pull/45919), [@ericchiang](https://github.com/ericchiang))
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Thu May 05 13:44:43 UTC 2022
    - 308.7K bytes
    - Viewed (1)
  10. src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java

            assertEquals(0, bytesWritten);
        }
    
        @Test
        @DisplayName("Should handle error response structure size 9")
        void testReadBytesWireFormatErrorResponse() throws Exception {
            // Given
            byte[] buffer = new byte[256];
            int bufferIndex = 0;
    
            // Write structure size (9) - indicates error response
            SMBUtil.writeInt2(9, buffer, bufferIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.1K bytes
    - Viewed (0)
Back to top