Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 120 for punycode (0.04 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/IsProbablyUtf8.kt

    package okhttp3.internal
    
    import java.io.EOFException
    import okio.BufferedSource
    
    /**
     * Returns true if the body in question probably contains human-readable text. Uses a small
     * sample of code points to detect Unicode control characters commonly used in binary file
     * signatures.
     *
     * @param codePointLimit the number of code points to read in order to make a decision.
     */
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Oct 06 22:47:06 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java

                assertEquals(expectedSize, buffer.size());
            }
    
            @Test
            @DisplayName("Should calculate size for Unicode characters")
            void testSizeWithUnicodeCharacters() {
                // Unicode characters still count as single chars in Java
                String path = "\\\\server\\共享\\路径";
                buffer = new DfsReferralRequestBuffer(path, 3);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/EXTRACTOR_TESTS_README.md

    - Improved error messages with encoding
    - Various encoding support
    - Edge cases (empty, large, Unicode)
    - Special characters handling
    
    **Test Count**: 12 tests
    
    **Key Scenarios**:
    - ✅ Default UTF-8 encoding extraction
    - ✅ Custom encoding support
    - ✅ Error messages include encoding information
    - ✅ Large content handling
    - ✅ Unicode and special characters
    - ✅ Empty and whitespace-only content
    
    ---
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Nov 19 08:55:01 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/util/StringUtilTest.java

        }
    
        @Test
        @DisplayName("Should handle Unicode characters in delimiter")
        void testJoinWithUnicodeDelimiter() {
            String result = StringUtil.join("→", "left", "right");
            assertEquals("left→right", result);
        }
    
        @Test
        @DisplayName("Should handle Unicode characters in elements")
        void testJoinWithUnicodeElements() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/NtlmUtil.java

            hmac.update(clientChallenge);
            hmac.digest(response, 0, 16);
            System.arraycopy(clientChallenge, 0, response, 16, 8);
            return response;
        }
    
        /**
         * Generate the Unicode MD4 hash for the password associated with these credentials.
         *
         * @param password the password to hash
         * @param challenge the server challenge bytes
         * @return the calculated response
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java

            assertEquals(testString, readString);
        }
    
        @Test
        void testStringReadWriteUnicode() throws UnsupportedEncodingException {
            smb.useUnicode = true;
            String testString = "Hello Unicode World";
            byte[] buffer = new byte[testString.length() * 2 + 2];
            int len = smb.writeString(testString, buffer, 0);
            assertEquals(testString.length() * 2 + 2, len);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/SmbConstants.java

         */
        int FLAGS2_PERMIT_READ_IF_EXECUTE_PERM = 0x2000;
        /**
         * Use 32-bit status codes flag.
         */
        int FLAGS2_STATUS32 = 0x4000;
        /**
         * Strings are Unicode flag.
         */
        int FLAGS2_UNICODE = 0x8000;
    
        /**
         * No capabilities.
         */
        int CAP_NONE = 0x0000;
        /**
         * Raw mode transfers are supported capability.
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolver.java

    import org.apache.http.conn.DnsResolver;
    
    /**
     * The {@code IdnDnsResolver} class implements the {@code DnsResolver} interface
     * to provide DNS resolution with support for Internationalized Domain Names (IDN).
     * It converts Unicode domain names to ASCII Compatible Encoding (ACE) using the
     * {@link java.net.IDN} class.
     *
     * <p>This class allows setting a custom flag for the IDN conversion and a custom
     * encoding for URL decoding.</p>
     *
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 06 07:24:43 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  9. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/NtlmPasswordAuthentication.java

        /**
         *
         */
        private static final long serialVersionUID = -2832037191318016836L;
    
        /** The ANSI password hash */
        private byte[] ansiHash;
        /** The Unicode password hash */
        private byte[] unicodeHash;
        /** Flag indicating if hashes are externally provided */
        private boolean hashesExternal = false;
        /** The CIFS context for this authentication */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.3K bytes
    - Viewed (0)
Back to top