- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 299 for Unicode (5.14 sec)
-
src/main/java/jcifs/SmbConstants.java
*/ int FLAGS2_PERMIT_READ_IF_EXECUTE_PERM = 0x2000; /** * Use 32-bit status codes flag. */ int FLAGS2_STATUS32 = 0x4000; /** * Strings are Unicode flag. */ int FLAGS2_UNICODE = 0x8000; /** * No capabilities. */ int CAP_NONE = 0x0000; /** * Raw mode transfers are supported capability. */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:49:49 UTC 2025 - 12.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/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) -
src/test/java/jcifs/internal/util/StringUtilTest.java
} @Test @DisplayName("Should handle Unicode characters in delimiter") void testJoinWithUnicodeDelimiter() { String result = StringUtil.join("→", "left", "right"); assertEquals("left→right", result); } @Test @DisplayName("Should handle Unicode characters in elements") void testJoinWithUnicodeElements() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 9K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java
} @Test @DisplayName("Should encode Unicode path correctly") void testEncodeUnicodePath() { String path = "\\\\サーバー\\共有\\パス"; int maxReferralLevel = 3; buffer = new DfsReferralRequestBuffer(path, maxReferralLevel); byte[] dst = new byte[buffer.size()]; int bytesEncoded = buffer.encode(dst, 0);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K bytes - Viewed (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
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.1K bytes - Viewed (0) -
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/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 */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.3K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/UnicodeString.java
* License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.dcerpc; /** * Unicode string type wrapper * */ public class UnicodeString extends rpc.unicode_string { boolean zterm; /** * Constructs a UnicodeString with zero termination option. * * @param ztermRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.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)