Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 45 for combinations (1.38 sec)

  1. src/test/java/jcifs/netbios/SessionRequestPacketTest.java

        }
    
        @ParameterizedTest
        @MethodSource("provideNamesForWriteTest")
        @DisplayName("writeTrailerWireFormat should handle various name combinations")
        void testWriteTrailerWireFormatVariousNames(String calledName, int calledType, String callingName, int callingType) {
    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/smb2/io/Smb2WriteResponseTest.java

                assertEquals(4096, response.getCount());
                assertEquals(2048, response.getRemaining());
            }
    
            @ParameterizedTest
            @DisplayName("Should read count and remaining combinations")
            @CsvSource({ "0, 0", "512, 512", "1024, 0", "0, 1024", "4096, 8192", "65536, 131072", "1048576, 2097152" })
            void testReadCountAndRemainingCombinations(int count, int remaining) throws SMBProtocolDecodingException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

            // When
            int bytesRead = request.readBytesWireFormat(buffer, offset);
    
            // Then
            assertEquals(0, bytesRead);
        }
    
        @DisplayName("Should handle different completion filter combinations")
        @ParameterizedTest
        @CsvSource({ "1, FILE_NOTIFY_CHANGE_FILE_NAME", "2, FILE_NOTIFY_CHANGE_DIR_NAME", "4, FILE_NOTIFY_CHANGE_ATTRIBUTES",
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java

                    0x80, // FILE_ATTRIBUTE_NORMAL
                    0x100, // FILE_ATTRIBUTE_TEMPORARY
                    0x21, // Combination: ARCHIVE | READONLY
                    0x06 // Combination: HIDDEN | SYSTEM
            };
    
            for (int attributes : attributeFlags) {
                // Given
                FileBasicInfo info =
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

            // When
            response.prepare(mockNext);
    
            // Then
            verify(mockNext, times(0)).setTreeId(any(Integer.class));
        }
    
        @DisplayName("Should handle various share flag combinations")
        @ParameterizedTest
        @MethodSource("provideFlagCombinations")
        void testShareFlagCombinations(int flags, boolean expectedDfs) throws SMBProtocolDecodingException {
            // Given
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/SidResolverTest.java

            SID[] result = sidResolver.getGroupMemberSids(mockContext, testServerName, mockDomainSid, 0, 0);
    
            assertNotNull(result);
            assertEquals(1, result.length);
        }
    
        // Test different flag combinations
        @Test
        void testGetGroupMemberSids_DifferentFlags() throws CIFSException {
            int[] testFlags = { 0, 1, 2, 4, 8, 16, 32, Integer.MAX_VALUE };
    
            for (int flag : testFlags) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/converter/KatakanaToAlphabetConverter.java

     * Katakana string into a list of possible Alphabet readings. It uses a predefined mapping of Katakana
     * characters to their Alphabet equivalents, handling both single and double Katakana character combinations.
     * </p>
     *
     * <p>
     * The conversion process involves iterating through the input string, identifying Katakana characters,
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 17 14:28:21 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

            assertArrayEquals(testMac, mockQueryAddress.macAddress);
        }
    
        @Test
        void readRDataWireFormat_shouldParseNodeFlags() throws Exception {
            // Prepare test data with various flag combinations
            byte[] src = new byte[100];
            int srcIndex = 0;
    
            Field rDataLengthField = NameServicePacket.class.getDeclaredField("rDataLength");
            rDataLengthField.setAccessible(true);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

            // Then - Total bytes written should be 8-byte aligned
            assertEquals(0, bytesWritten % 8);
        }
    
        @ParameterizedTest
        @DisplayName("Should handle security mode combinations")
        @MethodSource("provideSecurityModes")
        void testSecurityModeCombinations(int securityMode) {
            // When
            request = new Smb2NegotiateRequest(mockConfig, securityMode);
    
            // Then
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java

            void testFailImmediatelyFlag() {
                assertEquals(0x10, Smb2Lock.SMB2_LOCKFLAG_FAIL_IMMEDIATELY);
            }
    
            @Test
            @DisplayName("Should allow flag combinations")
            void testFlagCombinations() {
                int sharedWithFailImmediately = Smb2Lock.SMB2_LOCKFLAG_SHARED_LOCK | Smb2Lock.SMB2_LOCKFLAG_FAIL_IMMEDIATELY;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
Back to top