Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 299 for Unicode (0.48 sec)

  1. src/main/java/jcifs/ntlmssp/NtlmFlags.java

     */
    
    package jcifs.ntlmssp;
    
    /**
     * Flags used during negotiation of NTLMSSP authentication.
     */
    public interface NtlmFlags {
    
        /**
         * Indicates whether Unicode strings are supported or used.
         */
        int NTLMSSP_NEGOTIATE_UNICODE = 0x00000001;
    
        /**
         * Indicates whether OEM strings are supported or used.
         */
        int NTLMSSP_NEGOTIATE_OEM = 0x00000002;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/CharUtilTest.java

            assertFalse(CharUtil.isUrlChar('\u00A0')); // non-breaking space
            assertFalse(CharUtil.isUrlChar('\u00FF')); // ÿ
        }
    
        public void test_isUrlChar_unicode() {
            // Test Unicode characters (not valid URL chars without encoding)
            assertFalse(CharUtil.isUrlChar('\u3042')); // あ (Hiragana)
            assertFalse(CharUtil.isUrlChar('\u4E00')); // 一 (CJK)
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationTest.java

     * directly.  Since the byte‑encoding logic is located in the superclass, the
     * tests verify that the byte buffer created by {@link
     * SmbComQueryInformation#writeBytesWireFormat(byte[], int)} is correctly built
     * for both Unicode and OEM encodings.
     */
    @ExtendWith(MockitoExtension.class)
    @MockitoSettings(strictness = Strictness.LENIENT)
    class SmbComQueryInformationTest {
    
        @Mock
        Configuration mockConfig;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbComNegotiateResponse.java

                bufferIndex += server.encryptionKeyLength;
                if (byteCount > server.encryptionKeyLength) {
                    int len = 0;
                    // Use appropriate string decoding based on Unicode flag
                    try {
                        if ((flags2 & FLAGS2_UNICODE) == FLAGS2_UNICODE) {
                            while (buffer[bufferIndex + len] != (byte) 0x00 || buffer[bufferIndex + len + 1] != (byte) 0x00) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/ntlmssp/NtlmMessage.java

        /**
         * NTLMSSP Type 3 message identifier.
         */
        protected static final int NTLMSSP_TYPE3 = 0x3;
    
        private static final String OEM_ENCODING = SmbConstants.DEFAULT_OEM_ENCODING;
        /**
         * Unicode encoding used for NTLM messages.
         */
        protected static final String UNI_ENCODING = "UTF-16LE";
    
        private int flags;
    
        /**
         * Returns the flags currently in use for this message.
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/ntlmssp/NtlmFlags.java

     */
    
    package jcifs.smb1.ntlmssp;
    
    /**
     * Flags used during negotiation of NTLMSSP authentication.
     */
    public interface NtlmFlags {
    
        /**
        * Indicates whether Unicode strings are supported or used.
        */
        int NTLMSSP_NEGOTIATE_UNICODE = 0x00000001;
    
        /**
        * Indicates whether OEM strings are supported or used.
        */
        int NTLMSSP_NEGOTIATE_OEM = 0x00000002;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/ntlmssp/NtlmMessage.java

                { (byte) 'N', (byte) 'T', (byte) 'L', (byte) 'M', (byte) 'S', (byte) 'S', (byte) 'P', (byte) 0 };
    
        private static final String OEM_ENCODING = Config.DEFAULT_OEM_ENCODING;
        /**
         * Unicode encoding used for NTLM messages.
         */
        protected static final String UNI_ENCODING = "UTF-16LE";
    
        private int flags;
    
        /**
         * Returns the flags currently in use for this message.
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

            int notifyOffset = 80;
            SMBUtil.writeInt4(0, buffer, notifyOffset); // NextEntryOffset (0 = last entry)
            SMBUtil.writeInt4(1, buffer, notifyOffset + 4); // Action (FILE_ACTION_ADDED)
            // Write filename in Unicode
            String fileName = "test.txt";
            byte[] fileNameBytes = fileName.getBytes("UnicodeLittleUnmarked");
            SMBUtil.writeInt4(fileNameBytes.length, buffer, notifyOffset + 8); // FileNameLength
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java

            String accountName = (String) getField(obj, "accountName");
            String primaryDomain = (String) getField(obj, "primaryDomain");
    
            // The actual implementation keeps lowercase for guest when Unicode is not enabled
            assertEquals("guest", accountName);
            assertEquals("DOM", primaryDomain);
    
            byte[] lm = (byte[]) getField(obj, "lmHash");
            byte[] nt = (byte[]) getField(obj, "ntHash");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/com/ServerDataTest.java

            // Test with special characters
            serverData.oemDomainName = "DOMAIN-01.LOCAL";
            assertEquals("DOMAIN-01.LOCAL", serverData.oemDomainName);
    
            // Test with Unicode characters
            serverData.oemDomainName = "ドメイン";
            assertEquals("ドメイン", serverData.oemDomainName);
        }
    
        /**
         * Test setting and getting long field (serverTime)
         */
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17K bytes
    - Viewed (0)
Back to top