- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 29 for isUseUnicode (0.09 seconds)
-
src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java
this.recv_buf_size = ctx.getConfig().getReceiveBufferSize(); this.tx_buf_size = ctx.getConfig().getTransactionBufferSize(); this.useUnicode = ctx.getConfig().isUseUnicode(); } /** * {@inheritDoc} * * @see jcifs.internal.SmbNegotiationResponse#getSelectedDialect() */ @Override public DialectVersion getSelectedDialect() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 15.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/net/TestSmbComTransactionResponseReader.java
super(true); } @Override public boolean isUseUnicode() { return false; } } @Test public void testUnicodeConfiguration() throws Exception { // Test Unicode configuration is enabled by default assertTrue(cfg.isUseUnicode(), "Unicode should be enabled by default"); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Response.java
final FileBothDirectoryInfo[] results = new FileBothDirectoryInfo[getNumEntries()]; for (int i = 0; i < getNumEntries(); i++) { results[i] = e = new FileBothDirectoryInfo(getConfig(), isUseUnicode()); e.decode(buffer, bufferIndex, len); /* * lastNameOffset ends up pointing to either to * the exact location of the filename(e.g. Win98)Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.2K bytes - Click Count (0) -
src/test/java/jcifs/ntlmssp/Type1MessageTest.java
lenient().when(mockLocalHost.getHostName()).thenReturn("localhost"); lenient().when(mockConfig.getDefaultDomain()).thenReturn("WORKGROUP"); lenient().when(mockConfig.isUseUnicode()).thenReturn(true); } @Test @DisplayName("Should create Type 1 message with default flags") void testType1MessageCreation() { // When
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.1K bytes - Click Count (0) -
src/main/java/jcifs/config/DelegatingConfiguration.java
return this.delegate.isForceUnicode(); } /** * {@inheritDoc} * * @see jcifs.Configuration#isUseUnicode() */ @Override public boolean isUseUnicode() { return this.delegate.isUseUnicode(); } /** * {@inheritDoc} * * @see jcifs.Configuration#isUseBatching() */ @Override
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 24.1K bytes - Click Count (0) -
src/main/java/jcifs/ntlmssp/Type1Message.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 supplied authentication domain. * * @return A <code>String</code> containing the supplied domain. */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 7.8K bytes - Click Count (0) -
src/main/java/jcifs/ntlmssp/Type2Message.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-2 message created in response * to the given Type-1 message in the current environment.Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 14.4K bytes - Click Count (0) -
src/main/java/jcifs/Configuration.java
/** * * Property {@code jcifs.smb.client.useUnicode} (boolean, default true) * * @return whether to announce support for unicode */ boolean isUseUnicode(); /** * * Property {@code jcifs.smb.client.forceUnicode} (boolean, default false) * * @return whether to use unicode, even if the server does not announce it */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 25.4K bytes - Click Count (0) -
src/test/java/jcifs/SmbConnectionTest.java
props.setProperty("jcifs.smb.client.useBatching", "true"); PropertyConfiguration config = new PropertyConfiguration(props); assertTrue(config.isUseUnicode(), "Unicode should be enabled"); assertTrue(config.isUseBatching(), "Batching should be enabled"); // When both are enabled, batch limits should be available
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java
this.capabilities &= ~SmbConstants.CAP_EXTENDED_SECURITY; if (a.isGuest()) { this.accountName = a.getUsername(); if (this.isUseUnicode()) { this.accountName = this.accountName.toUpperCase(); } this.primaryDomain = a.getUserDomain() != null ? a.getUserDomain().toUpperCase() : "?";
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.9K bytes - Click Count (0)