Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 580 for Unicode (0.07 sec)

  1. 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)
  2. src/archive/tar/strconv_test.go

    		{"0.123456789abcdef", time.Time{}, false},
    		{"foo", time.Time{}, false},
    		{"\x00", time.Time{}, false},
    		{"𝟵𝟴𝟳𝟲𝟱.𝟰𝟯𝟮𝟭𝟬", time.Time{}, false}, // Unicode numbers (U+1D7EC to U+1D7F5)
    		{"98765﹒43210", time.Time{}, false}, // Unicode period (U+FE52)
    	}
    
    	for _, v := range vectors {
    		ts, err := parsePAXTime(v.in)
    		ok := (err == nil)
    		if v.ok != ok {
    			if v.ok {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Sep 08 17:08:20 UTC 2025
    - 15K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

        @Test
        @DisplayName("Should handle Unicode characters in path")
        void testUnicodePathHandling() throws Exception {
            // Given
            String unicodePath = "\\\\server\\共享文件夹\\テスト";
            Smb2TreeConnectRequest req = new Smb2TreeConnectRequest(mockConfig, unicodePath);
            byte[] buffer = new byte[1024];
    
            // Encode to set headerStart
            req.encode(buffer, 0);
    
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  4. 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)
  5. src/test/java/org/codelibs/fess/util/FacetResponseTest.java

            assertEquals("query:", Constants.FACET_QUERY_PREFIX);
        }
    
        public void test_unicode_base64_encoding() {
            // Test that unicode strings are properly encoded/decoded
            String unicodeString = "日本語テスト";
            String encoded = BaseEncoding.base64().encode(unicodeString.getBytes(StandardCharsets.UTF_8));
            String decoded = new String(BaseEncoding.base64().decode(encoded), StandardCharsets.UTF_8);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  6. 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)
  7. cmd/generic-handlers.go

    			i++
    		}
    
    		// Trim whitespace of segment
    		segmentStart, segmentEnd := start, i
    		for segmentStart < segmentEnd && unicode.IsSpace(rune(path[segmentStart])) {
    			segmentStart++
    		}
    		for segmentEnd > segmentStart && unicode.IsSpace(rune(path[segmentEnd-1])) {
    			segmentEnd--
    		}
    
    		// Check for ".." or "."
    		switch {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 20.7K bytes
    - Viewed (1)
  8. 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)
  9. 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)
  10. api/go1.10.txt

    pkg time, func LoadLocationFromTZData(string, []uint8) (*Location, error)
    pkg unicode, const Version = "10.0.0"
    pkg unicode, var Masaram_Gondi *RangeTable
    pkg unicode, var Nushu *RangeTable
    pkg unicode, var Regional_Indicator *RangeTable
    pkg unicode, var Soyombo *RangeTable
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Feb 06 05:00:01 UTC 2018
    - 30.1K bytes
    - Viewed (0)
Back to top