- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 406 for Unicode (1.13 sec)
-
src/test/java/jcifs/SmbConnectionTest.java
assertTrue(treeConnectCreate >= 0, "TreeConnectAndX.CreateDirectory batch limit should be non-negative"); } /** * Test that batch limit respects Unicode settings */ @Test @DisplayName("Batch limit configuration with Unicode enabled") public void testBatchLimitWithUnicodeEnabled() throws CIFSException { Properties props = new Properties();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/TestSmbComTransactionResponseReader.java
// Test Unicode configuration is enabled by default assertTrue(cfg.isUseUnicode(), "Unicode should be enabled by default"); } @Test public void testAsciiConfiguration() throws Exception { Configuration asciiCfg = new OffUnicodeConfig(); assertFalse(asciiCfg.isUseUnicode(), "Unicode should be disabled in ASCII config"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java
// When even alignment (offset 2), Unicode string starts immediately assertTrue(bytesWritten >= 8); // "Test" in Unicode + null terminator // First byte should be 'T' in UTF-16LE assertEquals(0x54, buffer[2] & 0xFF); } @Test @DisplayName("Test read string with odd Unicode alignment") void testReadStringUnicodeAlignment() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 36.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java
assertEquals(expectedNextEntryOffset, fileBothDirectoryInfo.getNextEntryOffset()); } @Test @DisplayName("Test decode with Unicode filename") void testDecodeWithUnicodeFilename() throws SMBProtocolDecodingException { // Prepare test data with Unicode filename String expectedFilename = "日本語ファイル.txt"; byte[] buffer = createValidBuffer(expectedFilename, "~1.TXT", true); // Decode
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.9K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/rpcTest.java
} } @Nested @DisplayName("Unicode String Tests") class UnicodeStringTests { @Test @DisplayName("Should encode unicode string with null buffer correctly") void testUnicodeStringEncodeNullBuffer() throws NdrException { // Given: A unicode string with null buffer rpc.unicode_string unicodeString = new rpc.unicode_string();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileBothDirectoryInfo.java
private final Configuration config; private final boolean unicode; /** * Constructs a file both directory info. * * @param config the configuration * @param unicode whether to use unicode encoding */ public FileBothDirectoryInfo(final Configuration config, final boolean unicode) { this.config = config; this.unicode = unicode; } @Override public String getName() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbConstants.java
/** Receive buffer size in bytes */ int RCV_BUF_SIZE = Config.getInt("jcifs.smb1.smb.client.rcv_buf_size", DEFAULT_RCV_BUF_SIZE); /** Whether to use Unicode strings */ boolean USE_UNICODE = Config.getBoolean("jcifs.smb1.smb.client.useUnicode", true); /** Whether to force Unicode usage */ boolean FORCE_UNICODE = Config.getBoolean("jcifs.smb1.smb.client.useUnicode", false); /** Whether to use NT status codes */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type1MessageTest.java
// OEM flag should not be set when default is Unicode assertFalse((unicodeType1.getFlags() & NtlmFlags.NTLMSSP_NEGOTIATE_OEM) != 0); // When OEM flag is passed, it gets OR'd with default flags // Since mockConfig.isUseUnicode() returns true, default flags include UNICODE assertTrue((oemType1.getFlags() & NtlmFlags.NTLMSSP_NEGOTIATE_OEM) != 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0) -
android/guava/src/com/google/common/xml/XmlEscapers.java
// The char values \uFFFE and \uFFFF are explicitly not allowed in XML // (Unicode code points above \uFFFF are represented via surrogate pairs // which means they are treated as pairs of safe characters). builder.setSafeRange(Character.MIN_VALUE, '\uFFFD'); // Unsafe characters are replaced with the Unicode replacement character. builder.setUnsafeReplacement("\uFFFD"); /*
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jun 20 17:15:33 UTC 2025 - 6.5K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Utf8.java
* character encoding. UTF-8 is defined in section D92 of <a * href="http://www.unicode.org/versions/Unicode6.2.0/ch03.pdf">The Unicode Standard Core * Specification, Chapter 3</a>. * * <p>The variant of UTF-8 implemented by this class is the restricted definition of UTF-8 * introduced in Unicode 3.1. One implication of this is that it rejects <a * href="http://www.unicode.org/versions/corrigendum1.html">"non-shortest form"</a> byte sequences,
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 7K bytes - Viewed (0)