Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 45 for combinations (2.25 sec)

  1. src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java

            assertEquals(maxAttributes, decoded.getAttributes());
        }
    
        @Test
        @DisplayName("Test with various file attributes")
        void testVariousFileAttributes() {
            // Test common file attribute combinations
            int[] attributes = { 0x00000001, // FILE_ATTRIBUTE_READONLY
                    0x00000002, // FILE_ATTRIBUTE_HIDDEN
                    0x00000004, // FILE_ATTRIBUTE_SYSTEM
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java

                "32768, 16384, 'test*.txt', 500, 32768" })
        void testConstructorWithVariousParameters(int sid, int resumeKey, String filename, int batchCount, int batchSize) {
            // Test constructor with various parameter combinations
            trans2FindNext2 = new Trans2FindNext2(config, sid, resumeKey, filename, batchCount, batchSize);
    
            assertNotNull(trans2FindNext2);
    
            // Verify parameters are written correctly
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

            assertEquals(null, bothNullResponse.getFileId());
            assertEquals(null, bothNullResponse.getFileName());
        }
    
        @Test
        @DisplayName("Test multiple close flags combinations")
        void testMultipleCloseFlagsCombinations() {
            // Test combining multiple flags
            int combinedFlags = 0x0003; // Multiple flags set
            request.setCloseFlags(combinedFlags);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java

                assertEquals(12, bytesDecoded);
                assertEquals(totalBytes, response.getTotalBytesWritten());
            }
    
            @ParameterizedTest
            @DisplayName("Should decode combinations of values")
            @CsvSource({ "0, 0, 0", "1, 65536, 65536", "2, 65536, 131072", "5, 131072, 655360", "10, 1048576, 10485760", "100, 65536, 6553600",
                    "1000, 4096, 4096000" })
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  5. docs/smb3-features/04-directory-leasing-design.md

        
        // WRITE_CACHING for directories means:
        // - Can cache file creation/deletion notifications
        // - Can perform optimistic file operations
        
        // Directory-specific combinations
        public static final int DIRECTORY_READ_HANDLE = SMB2_LEASE_READ_CACHING | SMB2_LEASE_HANDLE_CACHING;
        public static final int DIRECTORY_FULL = SMB2_LEASE_FULL;  // All three
    }
    ```
    
    ### 3.2 Directory Cache Scopes
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/ACETest.java

                // Test full access combination
                int fullAccess = ACE.GENERIC_ALL | ACE.DELETE | ACE.READ_CONTROL | ACE.WRITE_DAC | ACE.WRITE_OWNER;
                assertTrue((fullAccess & ACE.GENERIC_ALL) != 0, "Full access should contain GENERIC_ALL");
                assertTrue((fullAccess & ACE.DELETE) != 0, "Full access should contain DELETE");
    
                // Test inheritance flags combination
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  7. docs/smb3-features/01-smb3-lease-design.md

        public static final int SMB2_LEASE_HANDLE_CACHING = 0x02;  // H - Handle caching  
        public static final int SMB2_LEASE_WRITE_CACHING  = 0x04;  // W - Write caching
        
        // Common combinations
        public static final int SMB2_LEASE_READ_HANDLE    = 0x03;  // RH
        public static final int SMB2_LEASE_READ_WRITE     = 0x05;  // RW
        public static final int SMB2_LEASE_FULL           = 0x07;  // RWH
    }
    ```
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

                assertEquals(expectedSize, response.getSize());
            }
    
            @Test
            @DisplayName("Should handle response with different fileId and fileName combinations")
            void testDifferentFileIdAndFileNameCombinations() throws SMBProtocolDecodingException {
                // Test with empty fileName
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java

                "2, 7", // SMB2_0_INFO_FILESYSTEM, FS_FULL_SIZE_INFO
                "3, 0" // SMB2_0_INFO_SECURITY, any class
        })
        @DisplayName("Test createInformation with various valid info type and class combinations")
        void testCreateInformationValidCombinations(byte infoType, byte infoClass) throws Exception {
            // Use reflection to test private method
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java

                assertEquals(7, context.size());
            }
    
            @ParameterizedTest
            @MethodSource("provideSizeTestCases")
            @DisplayName("Should calculate size for various combinations")
            void testSizeWithVariousCombinations(int algoCount, int saltSize, int expectedSize) {
                int[] hashAlgos = algoCount > 0 ? new int[algoCount] : null;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 34K bytes
    - Viewed (0)
Back to top