- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 423 for unicode (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
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 {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.1K bytes - Click Count (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;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.9K bytes - Click Count (0) -
android/guava/src/com/google/common/html/HtmlEscapers.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 3K bytes - Click Count (0) -
src/main/java/jcifs/smb/NtlmPasswordAuthentication.java
/** * */ private static final long serialVersionUID = -2832037191318016836L; /** The ANSI password hash */ private byte[] ansiHash; /** The Unicode password hash */ private byte[] unicodeHash; /** Flag indicating if hashes are externally provided */ private boolean hashesExternal = false; /** The CIFS context for this authentication */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 9.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java
byte[] buffer = new byte[50]; int bytesEncoded = request.encode(buffer, 0); // Verify assertEquals(14, bytesEncoded); assertEquals(0, SMBUtil.readInt4(buffer, 8)); // Name length should be 0 } @Test @DisplayName("Test with Unicode pipe name") void testWithUnicodePipeName() { // Test with Unicode characters String pipeName = "テストパイプ名";
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.1K bytes - Click Count (0) -
src/bufio/scan.go
if atEOF { return len(data), dropCR(data), nil } // Request more data. return 0, nil, nil } // isSpace reports whether the character is a Unicode white space character. // We avoid dependency on the unicode package, but check validity of the implementation // in the tests. func isSpace(r rune) bool { if r <= '\u00FF' { // Obvious ASCII ones: \t through \r plus space. Plus two Latin-1 oddballs.Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed May 21 18:05:26 GMT 2025 - 14.2K bytes - Click Count (0) -
src/main/java/jcifs/smb/NtlmUtil.java
hmac.update(clientChallenge); hmac.digest(response, 0, 16); System.arraycopy(clientChallenge, 0, response, 16, 8); return response; } /** * Generate the Unicode MD4 hash for the password associated with these credentials. * * @param password the password to hash * @param challenge the server challenge bytes * @return the calculated response
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.1K bytes - Click Count (0) -
logger/sql.go
import ( "database/sql/driver" "fmt" "reflect" "regexp" "strconv" "strings" "time" "unicode" "gorm.io/gorm/utils" ) const ( tmFmtWithMS = "2006-01-02 15:04:05.999" tmFmtZero = "0000-00-00 00:00:00" nullStr = "NULL" ) func isPrintable(s string) bool { for _, r := range s { if !unicode.IsPrint(r) { return false } } return true }
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Thu Mar 21 08:00:02 GMT 2024 - 5K bytes - Click Count (0) -
guava-tests/test/com/google/common/escape/ArrayBasedUnicodeEscaperTest.java
// Verify that everything else is left unescaped. String safeChars = "\0\u0100\uD800\uDC00\uFFFF"; assertThat(escaper.escape(safeChars)).isEqualTo(safeChars); // Ensure that Unicode escapers behave correctly wrt badly formed input. String badUnicode = "\uDC00\uD800"; assertThrows(IllegalArgumentException.class, () -> escaper.escape(badUnicode)); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Feb 18 15:41:04 GMT 2025 - 5.2K bytes - Click Count (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) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 6K bytes - Click Count (0)