Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 580 for Unicode (0.03 sec)

  1. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java

            assertEquals(0x00, buffer[4]);
            assertEquals(0x00, buffer[5]);
    
            // Check that filename is written correctly (starting at offset 6)
            // The filename should be null-terminated Unicode string
            assertTrue(written > 6);
    
            // Verify the total bytes written is reasonable
            assertTrue(written > TEST_FILENAME.length());
        }
    
        @ParameterizedTest
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbComDeleteDirectoryTest.java

            assertEquals(0, result);
        }
    
        /**
         * Test writeBytesWireFormat.
         */
        @Test
        void testWriteBytesWireFormat() {
            // Assuming path is ASCII and does not use unicode
            String dirName = "\testDir";
            SmbComDeleteDirectory sdd = new SmbComDeleteDirectory(dirName);
            sdd.useUnicode = false;
            // format byte + path + null terminator
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/test/java/org/codelibs/fess/exception/LdapConfigurationExceptionTest.java

            assertEquals(message, exception.getMessage());
        }
    
        public void test_unicodeCharactersInMessage() {
            // Test with Unicode characters in message
            String message = "LDAP設定エラー: 接続失敗 🚫 ñ é ü ß";
            LdapConfigurationException exception = new LdapConfigurationException(message);
    
            assertEquals(message, exception.getMessage());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Charsets.java

     *
     * @author Mike Bostock
     * @since 1.0
     */
    @GwtCompatible
    public final class Charsets {
    
      /**
       * US-ASCII: seven-bit ASCII, the Basic Latin block of the Unicode character set (ISO646-US).
       *
       * @deprecated Use {@link StandardCharsets#US_ASCII} instead.
       */
      @Deprecated @J2ktIncompatible @GwtIncompatible // Charset not supported by GWT
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3K bytes
    - Viewed (0)
Back to top