Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for useBatching (0.07 sec)

  1. 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
    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/main/java/jcifs/config/PropertyConfiguration.java

            if (value != null) {
                this.useUnicode = Boolean.parseBoolean(value);
            }
    
            value = props.getProperty("jcifs.smb.client.useBatching");
            if (value != null) {
                this.useBatching = Boolean.parseBoolean(value);
            }
    
            value = props.getProperty("jcifs.smb.client.signingPreferred");
            if (value != null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  3. README.md

    jcifs.smb.client.signingPreferred=false
    jcifs.smb.client.signingEnforced=false
    jcifs.smb.client.encryptionEnforced=false
    jcifs.smb.client.disablePlainTextPasswords=true
    
    # Performance
    jcifs.smb.client.useBatching=true
    jcifs.smb.client.useUnicode=true
    jcifs.smb.client.maxMpxCount=10
    ```
    
    ### Usage with Properties
    
    ```java
    Properties props = new Properties();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 09:24:52 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        long MILLISECONDS_BETWEEN_1970_AND_1601 = 11644473600000L;
        /** Default timezone */
        TimeZone TZ = TimeZone.getDefault();
    
        /** Whether to use batching */
        boolean USE_BATCHING = Config.getBoolean("jcifs.smb1.smb.client.useBatching", true);
        /** OEM encoding */
        String OEM_ENCODING = Config.getProperty("jcifs.smb1.encoding", Config.DEFAULT_OEM_ENCODING);
        /** Unicode encoding */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/config/BaseConfiguration.java

        protected TimeZone localTimeZone;
        /** Secure random generator for cryptographic operations */
        protected SecureRandom random;
        /** Whether to use command batching for improved performance */
        protected boolean useBatching = false;
        /** Whether to use Unicode encoding for strings */
        protected boolean useUnicode = true;
        /** Force use of Unicode encoding regardless of negotiation */
        protected boolean forceUnicode = false;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/Configuration.java

         *
         * @return whether to use unicode, even if the server does not announce it
         */
        boolean isForceUnicode();
    
        /**
         *
         * Property {@code jcifs.smb.client.useBatching} (boolean, default false)
         *
         * @return whether to enable support for SMB1 AndX command batching
         */
        boolean isUseBatching();
    
        /**
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java

             * methods that the next part should be sent. This is a
             * very indirect and simple batching control mechanism.
             */
    
            if (andx == null || !USE_BATCHING || batchLevel >= getBatchLimit(andx.command)) {
                andxCommand = (byte) 0xFF;
                andx = null;
    
                dst[start + ANDX_COMMAND_OFFSET] = (byte) 0xFF;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.9K bytes
    - Viewed (0)
Back to top