Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 194 for unicodeLE (0.04 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

            System.arraycopy(buffer, Smb2Constants.SMB2_HEADER_LENGTH + 8, actualPath, 0, pathBytes.length);
            assertArrayEquals(pathBytes, actualPath);
        }
    
        @Test
        @DisplayName("Should handle Unicode characters in path")
        void testUnicodePathHandling() throws Exception {
            // Given
            String unicodePath = "\\\\server\\共享文件夹\\テスト";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/test/java/org/codelibs/fess/exception/GsaConfigExceptionTest.java

            // Test constructor with message containing special characters
            String message = "GSA error: config file not found at /path/to/config.xml\n" + "Details: \"file\" does not exist\t[TAB]\r\n"
                    + "Unicode: \u4E2D\u6587";
            GsaConfigException exception = new GsaConfigException(message);
    
            assertNotNull(exception);
            assertEquals(message, exception.getMessage());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.3K bytes
    - Viewed (0)
Back to top