Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 640 for unicode (0.04 sec)

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

            assertNotNull(exception);
            assertEquals(message, exception.getMessage());
        }
    
        public void test_constructor_withUnicodeMessage() {
            // Test constructor with Unicode characters in message
            final String message = "ジョブ処理エラー: 失敗しました 😱";
            final JobProcessingException exception = new JobProcessingException(message);
    
            assertNotNull(exception);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/SMBProtocolDecodingExceptionTest.java

            assertTrue(thrown instanceof CIFSException, "Thrown instance should also be CIFSException subtype");
        }
    
        @ParameterizedTest
        @NullAndEmptySource
        @ValueSource(strings = { "hello", " ", "unicode-∑" })
        @DisplayName("Message-only constructor: preserves provided message; null cause")
        void messageOnlyConstructor_preservesMessage(String message) {
            // Arrange & Act
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/Trans2GetDfsReferralResponse.java

            final int start = bufferIndex;
    
            pathConsumed = readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            /* Samba 2.2.8a will reply with Unicode paths even though
             * ASCII is negotiated so we must use flags2 (probably
             * should anyway).
             */
            if ((flags2 & FLAGS2_UNICODE) != 0) {
                pathConsumed /= 2;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  5. 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)
  6. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

            }
            case 3, 4, 5 -> {
                // NTLMv2 - returns empty for unicode hash as NTLMv2 doesn't use it
                yield new byte[0];
            }
            default -> {
                // Default to NTLMv2 behavior (empty response)
                log.info("Defaulting to secure NTLMv2 authentication (no unicode hash)");
                yield new byte[0];
            }
            };
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessListedClassificationProviderTest.java

            }
            assertProvideThrowsException(longName.toString());
        }
    
        public void test_provide_withUnicodeCharacters() {
            // Test classification names with Unicode characters
            assertProvideThrowsException("テスト分類");
            assertProvideThrowsException("测试分类");
            assertProvideThrowsException("테스트분류");
            assertProvideThrowsException("тестклассификация");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  9. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  10. schema/naming.go

    package schema
    
    import (
    	"crypto/sha1"
    	"encoding/hex"
    	"regexp"
    	"strings"
    	"unicode/utf8"
    
    	"github.com/jinzhu/inflection"
    	"golang.org/x/text/cases"
    	"golang.org/x/text/language"
    )
    
    // Namer namer interface
    type Namer interface {
    	TableName(table string) string
    	SchemaName(table string) string
    	ColumnName(table, column string) string
    	JoinTableName(joinTable string) string
    	RelationshipFKName(Relationship) string
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Jun 12 03:46:59 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top