Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 197 for punycode (0.05 sec)

  1. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

        }
    
        int writeString(final String str, final byte[] dst, int dstIndex, final boolean useUnicode) {
            final int start = dstIndex;
    
            try {
                if (useUnicode) {
                    // Unicode requires word alignment
                    if ((dstIndex - headerStart) % 2 != 0) {
                        dst[dstIndex++] = (byte) '\0';
                    }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/ntlmssp/Type3Message.java

            int size = 64;
            final boolean unicode = getFlag(NTLMSSP_NEGOTIATE_UNICODE);
            final String oemCp = unicode ? null : getOEMEncoding();
    
            final String domainName = getDomain();
            byte[] domainBytes = null;
            if (domainName != null && domainName.length() != 0) {
                domainBytes = unicode ? domainName.getBytes(UNI_ENCODING) : domainName.getBytes(oemCp);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/timer/MonitorTargetTest.java

        }
    
        // Test append with Unicode characters
        public void test_append_unicodeCharacters() {
            StringBuilder buf = new StringBuilder();
            Supplier<Object> supplier = () -> "テスト 测试 테스트 🎉";
    
            monitorTarget.append(buf, "unicodeKey", supplier);
            // Unicode characters are escaped in JSON format
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11K bytes
    - Viewed (0)
  8. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/UnicodeString.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.dcerpc;
    
    /**
     * Unicode string type wrapper
     *
     */
    public class UnicodeString extends rpc.unicode_string {
    
        boolean zterm;
    
        /**
         * Constructs a UnicodeString with zero termination option.
         *
         * @param zterm
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  10. 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)
Back to top