Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for isUseBatching (0.06 sec)

  1. src/test/java/jcifs/SmbConnectionTest.java

            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
            int limit = config.getBatchLimit("TreeConnectAndX.QueryInformation");
    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/AndXServerMessageBlockTest.java

                return 34; // Return proper word count for extended response
            }
        }
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            when(mockConfig.isUseBatching()).thenReturn(true);
        }
    
        @Test
        @DisplayName("Test constructor with andx command")
        void testConstructorWithAndx() {
            when(mockAndxCommand.getCommand()).thenReturn(0x42);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/ConfigurationTest.java

                mockConfig.isRequireSecureNegotiate();
                mockConfig.isPort139FailoverEnabled();
                mockConfig.isUseUnicode();
                mockConfig.isForceUnicode();
                mockConfig.isUseBatching();
                mockConfig.getNativeOs();
                mockConfig.getNativeLanman();
                mockConfig.getReceiveBufferSize();
                mockConfig.getSendBufferSize();
                mockConfig.getSoTimeout();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/config/DelegatingConfiguration.java

            return this.delegate.isUseUnicode();
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Configuration#isUseBatching()
         */
        @Override
        public boolean isUseBatching() {
            return this.delegate.isUseBatching();
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Configuration#getNativeOs()
         */
        @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)
  5. src/test/java/jcifs/config/BaseConfigurationTest.java

            assertFalse(config.isUseSMB2OnlyNegotiation());
            assertTrue(config.isRequireSecureNegotiate());
            assertFalse(config.isPort139FailoverEnabled());
            assertFalse(config.isUseBatching());
            assertTrue(config.isUseUnicode());
            assertFalse(config.isForceUnicode());
        }
    
        @Test
        @DisplayName("Test DFS configuration getters")
        void testDfsConfigurationGetters() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

             * methods that the next part should be sent. This is a
             * very indirect and simple batching control mechanism.
             */
    
            if (this.andx == null || !getConfig().isUseBatching()
                    || this.batchLevel >= getBatchLimit(getConfig(), (byte) this.andx.getCommand())) {
                this.andxCommand = (byte) 0xFF;
                this.andx = null;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/Configuration.java

        /**
         *
         * Property {@code jcifs.smb.client.useBatching} (boolean, default false)
         *
         * @return whether to enable support for SMB1 AndX command batching
         */
        boolean isUseBatching();
    
        /**
         *
         * Property {@code jcifs.smb.client.nativeOs} (string, default {@code os.name})
         *
         * @return OS string to report
         */
        String getNativeOs();
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/config/BaseConfiguration.java

            return this.requireSecureNegotiate;
        }
    
        @Override
        public boolean isPort139FailoverEnabled() {
            return this.port139FailoverEnabled;
        }
    
        @Override
        public boolean isUseBatching() {
            return this.useBatching;
        }
    
        @Override
        public boolean isUseUnicode() {
            return this.useUnicode;
        }
    
        @Override
        public boolean isForceUnicode() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
Back to top