Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 194 for unicodeLE (0.04 sec)

  1. 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)
  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/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)
  5. okhttp/src/jvmTest/kotlin/okhttp3/CookieTest.kt

        assertThat(parse(ascii, "a=b; domain=bar.elb.amazonaws.com")).isNull()
        assertThat(parse(ascii, "a=b; domain=com")).isNull()
        val unicode = "https://長.長.長崎.jp".toHttpUrl()
        assertThat(parse(unicode, "a=b; domain=長.長崎.jp")).isNotNull()
        assertThat(parse(unicode, "a=b; domain=長崎.jp")).isNull()
        val punycode = "https://xn--ue5a.xn--ue5a.xn--8ltr62k.jp".toHttpUrl()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 24.4K 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. 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: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.4K bytes
    - Viewed (0)
Back to top