Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 144 for punycode (0.06 sec)

  1. src/test/java/org/codelibs/fess/exception/WebApiExceptionTest.java

            assertEquals(statusCode, exception.getStatusCode());
            assertEquals(message, exception.getMessage());
        }
    
        public void test_exceptionWithUnicodeMessage() {
            // Test with unicode characters in message
            int statusCode = 422;
            String message = "エラー: 無効なリクエスト 错误:无效请求 오류: 잘못된 요청";
    
            WebApiException exception = new WebApiException(statusCode, message);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java

            assertEquals(14, bytesEncoded);
            assertEquals(0, SMBUtil.readInt4(buffer, 8)); // Name length should be 0
        }
    
        @Test
        @DisplayName("Test with Unicode pipe name")
        void testWithUnicodePipeName() {
            // Test with Unicode characters
            String pipeName = "テストパイプ名";
            FsctlPipeWaitRequest request = new FsctlPipeWaitRequest(pipeName);
    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. okhttp/src/commonTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabaseTest.kt

        checkPublicSuffix("食狮.中国", "食狮.中国")
        checkPublicSuffix("www.食狮.中国", "食狮.中国")
        checkPublicSuffix("shishi.中国", "shishi.中国")
        checkPublicSuffix("中国", null)
        // Same as above, but punycoded.
        checkPublicSuffix("xn--85x722f.com.cn", "xn--85x722f.com.cn")
        checkPublicSuffix("xn--85x722f.xn--55qx5d.cn", "xn--85x722f.xn--55qx5d.cn")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 22:00:49 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SMBSignatureValidationExceptionTest.java

        }
    
        // Edge/null/empty: message-only constructor should propagate message and set unsuccessful status
        @ParameterizedTest
        @NullSource
        @ValueSource(strings = { "", " ", "simple", "with unicode Ω≈ç√", "long-0123456789-abcdefghijklmnopqrstuvwxyz" })
        @DisplayName("Message-only ctor: propagates message and unsuccessful status")
        void messageOnlyConstructor_setsMessage_andUnsuccessfulStatus(String msg) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  5. 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)
  6. src/test/java/org/codelibs/fess/util/KuromojiCSVUtilTest.java

            result = KuromojiCSVUtil.parse(value);
            assertEquals(2, result.length);
            assertEquals("with\rcarriage", result[0]);
            assertEquals("return", result[1]);
    
            // Unicode characters
            value = "\"日本語\",\"한국어\",\"中文\"";
            result = KuromojiCSVUtil.parse(value);
            assertEquals(3, result.length);
            assertEquals("日本語", result[0]);
            assertEquals("한국어", result[1]);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/hash/Murmur3_32HashFunction.java

              shift += 24;
              len += 3;
            } else {
              int codePoint = Character.codePointAt(input, i);
              if (codePoint == c) {
                // not a valid code point; let the JDK handle invalid Unicode
                return hashBytes(input.toString().getBytes(charset));
              }
              i++;
              buffer |= codePointToFourUtf8Bytes(codePoint) << shift;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exception/FessUserNotFoundExceptionTest.java

            assertNull(exception.getCause());
        }
    
        public void test_constructor_withUnicodeCharacters() {
            // Test with username containing Unicode characters
            String username = "ユーザー名";
            FessUserNotFoundException exception = new FessUserNotFoundException(username);
    
            assertNotNull(exception);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java

      HashFunctionEnum hashFunctionEnum;
    
      private String[] strings;
    
      static final int SAMPLES = 0x100;
      static final int SAMPLE_MASK = 0xFF;
    
      /**
       * Compute arrays of valid unicode text, and store it in 3 forms: byte arrays, Strings, and
       * StringBuilders (in a CharSequence[] to make it a little harder for the JVM).
       */
      @BeforeExperiment
      void setUp() {
        long seed = 99;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/util/FacetResponseTest.java

            assertEquals("field:", Constants.FACET_FIELD_PREFIX);
            assertEquals("query:", Constants.FACET_QUERY_PREFIX);
        }
    
        public void test_unicode_base64_encoding() {
            // Test that unicode strings are properly encoded/decoded
            String unicodeString = "日本語テスト";
            String encoded = BaseEncoding.base64().encode(unicodeString.getBytes(StandardCharsets.UTF_8));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 6.6K bytes
    - Viewed (0)
Back to top