- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 120 for punycode (0.47 sec)
-
src/main/java/jcifs/ntlmssp/Type3Message.java
int size = 64; final boolean unicode = getFlag(NTLMSSP_NEGOTIATE_UNICODE); final String oemCp = unicode ? null : getOEMEncoding(); final String domainName = getDomain(); byte[] domainBytes = null; if (domainName != null && domainName.length() != 0) { domainBytes = unicode ? domainName.getBytes(UNI_ENCODING) : domainName.getBytes(oemCp);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 32.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComDeleteDirectoryTest.java
assertEquals(0, result); } /** * Test writeBytesWireFormat. */ @Test void testWriteBytesWireFormat() { // Assuming path is ASCII and does not use unicode String dirName = "\testDir"; SmbComDeleteDirectory sdd = new SmbComDeleteDirectory(dirName); sdd.useUnicode = false; // format byte + path + null terminator
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/AbstractTransformerTest.java
// Test with special characters testTransformer.setName("name-with_special.chars#123"); assertEquals("name-with_special.chars#123", testTransformer.getName()); // Test with Unicode characters testTransformer.setName("変換器の名前"); assertEquals("変換器の名前", testTransformer.getName()); // Test with mixed characters testTransformer.setName("Transformer-変換器-123");Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 20.8K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.9K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 6K bytes - Viewed (0) -
guava/src/com/google/common/html/HtmlEscapers.java
* attribute values and in most elements' text contents, provided that the HTML * document's character encoding can encode any non-ASCII code points in the input (as UTF-8 and * other Unicode encodings can). * * <p><b>Note:</b> This escaper only performs minimal escaping to make content structurally * compatible with HTML. Specifically, it does not perform entity replacement (symbolic or
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 3K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30.3K 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/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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0)