Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 57 for 010203 (1.76 sec)

  1. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

        void testIsValidDisallowedDialect() throws Exception {
            // Given
            setResponseAsReceived(response);
            setPrivateField(response, "dialectRevision", 0x0202); // SMB 2.0.2
            when(mockConfig.getMinimumVersion()).thenReturn(DialectVersion.SMB210);
    
            // When
            boolean valid = response.isValid(mockContext, mockRequest);
    
            // Then
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java

        void testReadSetupWireFormat() {
            netShareEnum = new NetShareEnum(realConfig);
            byte[] buffer = new byte[100];
    
            int result = netShareEnum.readSetupWireFormat(buffer, 0, 100);
            assertEquals(0, result);
    
            // Test with different parameters
            result = netShareEnum.readSetupWireFormat(buffer, 10, 50);
            assertEquals(0, result);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/SmbConstants.java

        /**
         * Lock and read operation is supported capability.
         */
        int CAP_LOCK_AND_READ = 0x0100;
        /**
         * NT find operations are supported capability.
         */
        int CAP_NT_FIND = 0x0200;
        /**
         * DFS operations are supported capability.
         */
        int CAP_DFS = 0x1000;
        /**
         * Large read operations are supported capability.
         */
        int CAP_LARGE_READX = 0x4000;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java

            assertEquals(0, transPeekNamedPipe.readDataWireFormat(smallBuffer, 0, 1));
            assertEquals(0, transPeekNamedPipe.readDataWireFormat(largeBuffer, 0, 1000));
        }
    
        @Test
        @DisplayName("Should verify all write methods except setup return 0")
        void testWriteMethodsReturnCorrectValues() {
            // Arrange
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        /** Level II oplocks capability */
        int CAP_LEVEL_II_OPLOCKS = 0x0080;
        /** Lock and read capability */
        int CAP_LOCK_AND_READ = 0x0100;
        /** NT find capability */
        int CAP_NT_FIND = 0x0200;
        /** DFS capability */
        int CAP_DFS = 0x1000;
        /** Extended security capability */
        int CAP_EXTENDED_SECURITY = 0x80000000;
    
        // file attribute encoding
        /** Read-only file attribute */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/rpcTest.java

                originalSid.sub_authority_count = (byte) 3;
                originalSid.identifier_authority = new byte[] { (byte) 1, (byte) 2, (byte) 3, (byte) 4, (byte) 5, (byte) 6 };
                originalSid.sub_authority = new int[] { 10, 20, 30 };
    
                // Mock encoding buffer
                NdrBuffer encodeBuffer = mock(NdrBuffer.class);
                when(encodeBuffer.derive(anyInt())).thenReturn(encodeBuffer);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

                assertEquals("Expected structureSize = 60", exception.getMessage());
            }
    
            @ParameterizedTest
            @ValueSource(ints = { 0, 10, 20, 30 })
            @DisplayName("Should correctly read from different buffer offsets")
            void testReadBytesWireFormatWithDifferentOffsets(int offset) throws SMBProtocolDecodingException {
                // Given
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

            Field commandField = ServerMessageBlock2.class.getDeclaredField("command");
            commandField.setAccessible(true);
            int command = (int) commandField.get(req);
    
            assertEquals(0x0003, command); // SMB2_TREE_CONNECT command value
    
            // Verify path is set correctly
            Field pathField = Smb2TreeConnectRequest.class.getDeclaredField("path");
            pathField.setAccessible(true);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

        }
    
        @Test
        @DisplayName("Test multiple close flags combinations")
        void testMultipleCloseFlagsCombinations() {
            // Test combining multiple flags
            int combinedFlags = 0x0003; // Multiple flags set
            request.setCloseFlags(combinedFlags);
    
            byte[] buffer = new byte[256];
            int written = request.writeBytesWireFormat(buffer, 0);
    
            assertEquals(24, written);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

        /**
         * AES-256-CCM cipher identifier for SMB3 encryption (future support)
         */
        public static final int CIPHER_AES_256_CCM = 0x0003;
        /**
         * AES-256-GCM cipher identifier for SMB3.1.1 encryption (future support)
         */
        public static final int CIPHER_AES_256_GCM = 0x0004;
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
Back to top