Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 144 for punycode (0.23 sec)

  1. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

              "foo.bd",
              "org.mK",
              "us",
              "xxxxxx.bd",
              // keep-sorted end
              "j\u00f8rpeland.no", // "jorpeland.no" (first o slashed)
              "xn--jrpeland-54a.no" // IDNA (punycode) encoding of above
              );
    
      private static final ImmutableSet<String> PS_NOT_RS = ImmutableSet.of("blogspot.com", "uk.com");
    
      private static final ImmutableSet<String> PS =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt

     * example, the Unicode trademark sign (™) could be confused for the letters "TM" in
     * `http://ho™ail.com`. To mitigate this, the single character (™) maps to the string (tm). There
     * is similar policy for all of the 1.1 million Unicode code points. Note that some code points such
     * as "\ud83c\udf69" are not mapped and cannot be used in a hostname.
     *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 63.5K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt

          .isEqualTo("http://a$dotA126/")
        assertInvalid("http://aa$dotA126/", "Invalid URL host: \"aa$dotA126\"")
      }
    
      /**
       * UTS 46 Validity Criteria: Decoded punycode must be NFC.
       *
       * https://www.unicode.org/reports/tr46/#Validity_Criteria
       */
      @Test
      fun hostnameInPunycodeNfcAndNfd() {
        // café can be NFC (é is one code point) or NFD (e plus ´ as two code points).
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Aug 04 07:38:48 UTC 2025
    - 69.9K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/util/InputStreamThreadTest.java

            assertNotNull(output2);
            assertTrue(contains2);
        }
    
        public void test_getOutput_specialCharacters() throws InterruptedException {
            String input = "Special: !@#$%^&*()\nUnicode: \u3042\u3044\u3046";
            InputStream is = new ByteArrayInputStream(input.getBytes(StandardCharsets.UTF_8));
    
            InputStreamThread thread = new InputStreamThread(is, StandardCharsets.UTF_8, 10, null);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  5. CHANGELOG/CHANGELOG-1.23.md

    - Kubeadm: external etcd endpoints passed in the `ClusterConfiguration` that have Unicode characters are no longer IDNA encoded (converted to Punycode). They are now just URL encoded as per Go's implementation of RFC-3986, have duplicate "/" removed from the URL paths, and passed like that directly to the `kube-apiserver` `--etcd-servers` flag. If you have etcd endpoints that have Unicode characters, it is advisable to encode them in advance with tooling that is fully IDNA compliant....
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Tue Feb 28 21:06:52 UTC 2023
    - 424.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/SmbConnectionTest.java

            assertTrue(treeConnectCreate >= 0, "TreeConnectAndX.CreateDirectory batch limit should be non-negative");
        }
    
        /**
         * Test that batch limit respects Unicode settings
         */
        @Test
        @DisplayName("Batch limit configuration with Unicode enabled")
        public void testBatchLimitWithUnicodeEnabled() throws CIFSException {
            Properties props = new Properties();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

                // When even alignment (offset 2), Unicode string starts immediately
                assertTrue(bytesWritten >= 8); // "Test" in Unicode + null terminator
                // First byte should be 'T' in UTF-16LE
                assertEquals(0x54, buffer[2] & 0xFF);
            }
    
            @Test
            @DisplayName("Test read string with odd Unicode alignment")
            void testReadStringUnicodeAlignment() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/net/TestSmbComTransactionResponseReader.java

            // Test Unicode configuration is enabled by default
            assertTrue(cfg.isUseUnicode(), "Unicode should be enabled by default");
        }
    
        @Test
        public void testAsciiConfiguration() throws Exception {
            Configuration asciiCfg = new OffUnicodeConfig();
            assertFalse(asciiCfg.isUseUnicode(), "Unicode should be disabled in ASCII config");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java

            assertEquals(expectedNextEntryOffset, fileBothDirectoryInfo.getNextEntryOffset());
        }
    
        @Test
        @DisplayName("Test decode with Unicode filename")
        void testDecodeWithUnicodeFilename() throws SMBProtocolDecodingException {
            // Prepare test data with Unicode filename
            String expectedFilename = "日本語ファイル.txt";
            byte[] buffer = createValidBuffer(expectedFilename, "~1.TXT", true);
    
            // Decode
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java

      }
    
      /**
       * Asserts that a Unicode escaper does not escape the given character.
       *
       * @param escaper the non-null escaper to test
       * @param cp the Unicode code point to test
       */
      public static void assertUnescaped(UnicodeEscaper escaper, int cp) {
        Assert.assertNull(computeReplacement(escaper, cp));
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 3.8K bytes
    - Viewed (0)
Back to top