- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 299 for Unicode (0.5 sec)
-
src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacDataInputStream.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.9K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java
} int writeString(final String str, final byte[] dst, int dstIndex, final boolean useUnicode) { final int start = dstIndex; try { if (useUnicode) { // Unicode requires word alignment if ((dstIndex - headerStart) % 2 != 0) { dst[dstIndex++] = (byte) '\0'; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.7K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2GetDfsReferralResponse.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SMBSignatureValidationExceptionTest.java
} // Edge/null/empty: message-only constructor should propagate message and set unsuccessful status @ParameterizedTest @NullSource @ValueSource(strings = { "", " ", "simple", "with unicode Ω≈ç√", "long-0123456789-abcdefghijklmnopqrstuvwxyz" }) @DisplayName("Message-only ctor: propagates message and unsuccessful status") void messageOnlyConstructor_setsMessage_andUnsuccessfulStatus(String msg) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0) -
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); // ThenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolver.java
import org.apache.http.conn.DnsResolver; /** * The {@code IdnDnsResolver} class implements the {@code DnsResolver} interface * to provide DNS resolution with support for Internationalized Domain Names (IDN). * It converts Unicode domain names to ASCII Compatible Encoding (ACE) using the * {@link java.net.IDN} class. * * <p>This class allows setting a custom flag for the IDN conversion and a custom * encoding for URL decoding.</p> *Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 06 07:24:43 UTC 2025 - 3.9K bytes - Viewed (0)