Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 535 for Unicode (0.2 sec)

  1. src/test/java/org/codelibs/fess/exception/UnsupportedSearchExceptionTest.java

            assertEquals(message, exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_constructor_withUnicodeCharacters() {
            // Test with Unicode characters
            String message = "検索操作はサポートされていません 🔍";
            UnsupportedSearchException exception = new UnsupportedSearchException(message);
    
            assertEquals(message, exception.getMessage());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/fscc/FileRenameInformation2Test.java

        void testWithUnicodeFilename() {
            String unicodeFileName = "文件名.txt";
            FileRenameInformation2 info = new FileRenameInformation2(unicodeFileName, false);
    
            byte[] buffer = new byte[200];
            int bytesWritten = info.encode(buffer, 0);
    
            // Verify the encoded data
            int nameLength = SMBUtil.readInt4(buffer, 16);
            byte[] nameBytes = new byte[nameLength];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  3. 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)
  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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 6K bytes
    - Viewed (0)
  5. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  6. 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)
  7. src/test/java/jcifs/util/SecureCredentialStorageTest.java

        public void testEncryptDecryptUnicode() throws Exception {
            // Test with Unicode characters
            char[] plaintext = "パスワード🔐密码".toCharArray();
    
            byte[] encrypted = storage.encryptCredentials(plaintext);
            char[] decrypted = storage.decryptCredentials(encrypted);
    
            assertArrayEquals(plaintext, decrypted, "Unicode should be preserved");
    
            // Clean up
            Arrays.fill(plaintext, '\0');
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  8. 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)
  9. src/test/java/org/codelibs/fess/rank/fusion/SearchResultTest.java

            // Test with special characters in document content
            Map<String, Object> doc = new HashMap<>();
            doc.put("special", "!@#$%^&*()_+-=[]{}|;':\",./<>?");
            doc.put("unicode", "こんにちは世界");
            doc.put("emoji", "😀🎉");
    
            SearchResult result = SearchResult.create().addDocument(doc).build();
    
            assertEquals(1, result.getDocumentList().size());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java

            // Encode multiple times
            byte[] buffer1 = new byte[100];
            byte[] buffer2 = new byte[100];
            byte[] buffer3 = new byte[100];
    
            int encoded1 = request.encode(buffer1, 0);
            int encoded2 = request.encode(buffer2, 0);
            int encoded3 = request.encode(buffer3, 0);
    
            // All should produce same result
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
Back to top