Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for isUseUnicode (0.08 sec)

  1. 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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  2. 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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. 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() : "?";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  4. 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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  5. 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() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  6. 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);
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  7. 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();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  8. 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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  9. 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;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  10. 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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24.1K bytes
    - Viewed (0)
Back to top