- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 26 for useUnicode (0.08 sec)
-
src/test/java/jcifs/SmbConnectionTest.java
public void testBatchLimitForDifferentCommands() throws CIFSException { Properties props = new Properties(); props.setProperty("jcifs.smb.client.useBatching", "true"); props.setProperty("jcifs.smb.client.useUnicode", "true"); PropertyConfiguration config = new PropertyConfiguration(props); // Test various command batch limits int readAndXClose = config.getBatchLimit("ReadAndX.Close");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java
this.useUnicode = true; } else { this.useUnicode = false; this.negotiatedFlags2 &= 0xFFFF ^ SmbConstants.FLAGS2_UNICODE; } } else { this.useUnicode = ctx.getConfig().isUseUnicode(); } if (this.useUnicode) { log.debug("Unicode is enabled"); } else {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 15.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/ServerMessageBlock.java
* @return the useUnicode */ public final boolean isUseUnicode() { return this.useUnicode; } /** * Sets whether to use Unicode encoding for this message * @param useUnicode * the useUnicode to set */ public final void setUseUnicode(final boolean useUnicode) { this.useUnicode = useUnicode; } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 38.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndXResponse.java
nativeLanMan = readString(buffer, bufferIndex, start + byteCount, 255, useUnicode); bufferIndex += stringWireLength(nativeLanMan, bufferIndex); if (!extendedSecurity) { primaryDomain = readString(buffer, bufferIndex, start + byteCount, 255, useUnicode); bufferIndex += stringWireLength(primaryDomain, bufferIndex); } return bufferIndex - start;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndX.java
} } else if (DISABLE_PLAIN_TEXT_PASSWORDS) { throw new RuntimeException("Plain text passwords are disabled"); } else if (useUnicode) { // plain text final String password = auth.getPassword(); lmHash = new byte[0]; ntHash = new byte[(password.length() + 1) * 2];Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java
int writeString(final String str, final byte[] dst, final int dstIndex) { return writeString(str, dst, dstIndex, useUnicode); } int writeString(final String str, final byte[] dst, int dstIndex, final boolean useUnicode) { final int start = dstIndex; try { if (useUnicode) { // Unicode requires word alignment if ((dstIndex - headerStart) % 2 != 0) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComRename.java
final int start = dstIndex; dst[dstIndex] = (byte) 0x04; dstIndex++; dstIndex += writeString(oldFileName, dst, dstIndex); dst[dstIndex++] = (byte) 0x04; if (useUnicode) { dst[dstIndex++] = (byte) '\0'; } dstIndex += writeString(newFileName, dst, dstIndex); return dstIndex - start; } @OverrideRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndXResponse.java
return 0; } bufferIndex += len + 1; // win98 observed not returning nativeFileSystem /* Problems here with iSeries returning ASCII even though useUnicode = true * Fortunately we don't really need nativeFileSystem for anything. if( byteCount > bufferIndex - start ) { nativeFileSystem = readString( buffer, bufferIndex );Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbTransport.java
void send(final ServerMessageBlock request, final ServerMessageBlock response) throws SmbException { connect(); /* must negotiate before we can test flags2, useUnicode, etc */ request.flags2 |= flags2; request.useUnicode = useUnicode; request.response = response; /* needed by sign */ if (request.digest == null) { request.digest = digest; /* for sign called in encode */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 31.8K bytes - Viewed (0)