Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 154 for punycode (0.06 sec)

  1. src/main/java/jcifs/pac/PacDataInputStream.java

                date = new Date(completeBigInt.longValue());
            }
    
            return date;
        }
    
        /**
         * Reads a PAC Unicode string structure.
         * @return the PAC Unicode string object
         * @throws IOException if an I/O error occurs
         * @throws PACDecodingException if the string structure is malformed
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java

        }
    
        @ParameterizedTest
        @DisplayName("Test decode with various file names")
        @CsvSource({ "a.txt", "very_long_filename_with_many_characters_to_test_buffer_handling.docx", "file with spaces.pdf", "文件.txt", // Unicode filename
                "file-with-special-chars!@#$%^&().bin" })
        void testDecodeWithVariousFileNames(String fileName) throws SMBProtocolDecodingException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exception/JobProcessingExceptionTest.java

            assertNotNull(exception);
            assertEquals(message, exception.getMessage());
        }
    
        public void test_constructor_withUnicodeMessage() {
            // Test constructor with Unicode characters in message
            final String message = "ジョブ処理エラー: 失敗しました 😱";
            final JobProcessingException exception = new JobProcessingException(message);
    
            assertNotNull(exception);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java

            String accountName = (String) getField(obj, "accountName");
            String primaryDomain = (String) getField(obj, "primaryDomain");
    
            // The actual implementation keeps lowercase for guest when Unicode is not enabled
            assertEquals("guest", accountName);
            assertEquals("DOM", primaryDomain);
    
            byte[] lm = (byte[]) getField(obj, "lmHash");
            byte[] nt = (byte[]) getField(obj, "ntHash");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

            }
            case 3, 4, 5 -> {
                // NTLMv2 - returns empty for unicode hash as NTLMv2 doesn't use it
                yield new byte[0];
            }
            default -> {
                // Default to NTLMv2 behavior (empty response)
                log.info("Defaulting to secure NTLMv2 authentication (no unicode hash)");
                yield new byte[0];
            }
            };
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/exception/GsaConfigExceptionTest.java

            // Test constructor with message containing special characters
            String message = "GSA error: config file not found at /path/to/config.xml\n" + "Details: \"file\" does not exist\t[TAB]\r\n"
                    + "Unicode: \u4E2D\u6587";
            GsaConfigException exception = new GsaConfigException(message);
    
            assertNotNull(exception);
            assertEquals(message, exception.getMessage());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/fscc/FileRenameInformation2Test.java

            assertEquals(original.size(), decoded.size());
            assertEquals(original.getFileInformationLevel(), decoded.getFileInformationLevel());
        }
    
        @Test
        @DisplayName("Test with Unicode filename")
        void testWithUnicodeFilename() {
            String unicodeFileName = "文件名.txt";
            FileRenameInformation2 info = new FileRenameInformation2(unicodeFileName, false);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/SMBProtocolDecodingExceptionTest.java

            assertTrue(thrown instanceof CIFSException, "Thrown instance should also be CIFSException subtype");
        }
    
        @ParameterizedTest
        @NullAndEmptySource
        @ValueSource(strings = { "hello", " ", "unicode-∑" })
        @DisplayName("Message-only constructor: preserves provided message; null cause")
        void messageOnlyConstructor_preservesMessage(String message) {
            // Arrange & Act
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/Trans2GetDfsReferralResponse.java

            final int start = bufferIndex;
    
            pathConsumed = readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            /* Samba 2.2.8a will reply with Unicode paths even though
             * ASCII is negotiated so we must use flags2 (probably
             * should anyway).
             */
            if ((flags2 & FLAGS2_UNICODE) != 0) {
                pathConsumed /= 2;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessListedClassificationProviderTest.java

            }
            assertProvideThrowsException(longName.toString());
        }
    
        public void test_provide_withUnicodeCharacters() {
            // Test classification names with Unicode characters
            assertProvideThrowsException("テスト分類");
            assertProvideThrowsException("测试分类");
            assertProvideThrowsException("테스트분류");
            assertProvideThrowsException("тестклассификация");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
Back to top