- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 29 for isUseUnicode (0.08 seconds)
-
src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXResponse.java
this.nativeLanMan = readString(buffer, bufferIndex, start + this.byteCount, 255, this.isUseUnicode()); bufferIndex += stringWireLength(this.nativeLanMan, bufferIndex); if (!this.isExtendedSecurity()) { this.primaryDomain = readString(buffer, bufferIndex, start + this.byteCount, 255, this.isUseUnicode()); bufferIndex += stringWireLength(this.primaryDomain, bufferIndex); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.7K bytes - Click Count (0) -
src/main/java/jcifs/ntlmssp/Type3Message.java
*/ public static int getDefaultFlags(final CIFSContext tc) { return NTLMSSP_NEGOTIATE_NTLM | NTLMSSP_NEGOTIATE_VERSION | (tc.getConfig().isUseUnicode() ? NTLMSSP_NEGOTIATE_UNICODE : NTLMSSP_NEGOTIATE_OEM); } /** * Returns the default flags for a Type-3 message created in response * to the given Type-2 message in the current environment.Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 32.7K bytes - Click Count (0) -
src/main/java/jcifs/config/BaseConfiguration.java
return this.port139FailoverEnabled; } @Override public boolean isUseBatching() { return this.useBatching; } @Override public boolean isUseUnicode() { return this.useUnicode; } @Override public boolean isForceUnicode() { return this.forceUnicode; } @Override public boolean isDfsDisabled() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 36.5K bytes - Click Count (0) -
src/test/java/jcifs/ConfigurationTest.java
mockConfig.getMaximumVersion(); mockConfig.isUseSMB2OnlyNegotiation(); mockConfig.isRequireSecureNegotiate(); mockConfig.isPort139FailoverEnabled(); mockConfig.isUseUnicode(); mockConfig.isForceUnicode(); mockConfig.isUseBatching(); mockConfig.getNativeOs(); mockConfig.getNativeLanman(); mockConfig.getReceiveBufferSize();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.9K bytes - Click Count (0) -
src/test/java/jcifs/ntlmssp/Type2MessageTest.java
when(mockNameServiceClient.getLocalHost()).thenReturn(mockHost); when(mockHost.getHostName()).thenReturn(TEST_HOSTNAME); when(mockConfig.getDefaultDomain()).thenReturn(TEST_DOMAIN); when(mockConfig.isUseUnicode()).thenReturn(true); return mockContext; } @Nested @DisplayName("Constructor Tests") class ConstructorTests { @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 38.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComRename.java
final int start = dstIndex; dst[dstIndex] = (byte) 0x04; dstIndex++; dstIndex += writeString(this.oldFileName, dst, dstIndex); dst[dstIndex++] = (byte) 0x04; if (this.isUseUnicode()) { dst[dstIndex++] = (byte) '\0'; } dstIndex += writeString(this.newFileName, dst, dstIndex); return dstIndex - start; } @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/ServerMessageBlock.java
this.extendedSecurity = extendedSecurity; } /** * Checks if Unicode encoding is enabled for this message * @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 */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 38.9K bytes - Click Count (0) -
src/test/java/jcifs/ntlmssp/Type3MessageTest.java
byte[] machineId = new byte[32]; mockRandom.nextBytes(machineId); lenient().when(mockConfig.getDefaultDomain()).thenReturn("TESTDOMAIN"); lenient().when(mockConfig.isUseUnicode()).thenReturn(true); lenient().when(mockConfig.getOemEncoding()).thenReturn("UTF-8"); lenient().when(mockConfig.getRandom()).thenReturn(mockRandom);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.3K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java
this.andxOffset = dstIndex - this.headerStart; SMBUtil.writeInt2(this.andxOffset, dst, start + ANDX_OFFSET_OFFSET); this.andx.setUseUnicode(this.isUseUnicode()); if (this.andx instanceof AndXServerMessageBlock) { /* * A word about communicating header info to andx smbs *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 15.8K bytes - Click Count (0) -
src/test/java/jcifs/config/PropertyConfigurationTest.java
props.setProperty("jcifs.util.loglevel", "1"); // When PropertyConfiguration testConfig = new PropertyConfiguration(props); // Then assertTrue(testConfig.isUseUnicode()); assertFalse(testConfig.isDisablePlainTextPasswords()); } @Test @DisplayName("Should handle dialect version properties") void testDialectVersionProperties() throws CIFSException {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.3K bytes - Click Count (0)