- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 653 for unicode (0.34 sec)
-
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) -
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 Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 20.7K bytes - Viewed (1) -
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 Dec 30 11:13:12 UTC 2025 - Last Modified: Thu Sep 11 17:52:43 UTC 2025 - 15K 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) -
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/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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K 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/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)