Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for QueryInformation (0.25 sec)

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

            assertTrue(config.isUseBatching(), "Batching should be enabled");
    
            // When both are enabled, batch limits should be available
            int limit = config.getBatchLimit("TreeConnectAndX.QueryInformation");
            assertTrue(limit >= 0, "Batch limit should be non-negative when Unicode and batching enabled");
        }
    
        /**
         * Test configuration when batching is disabled
         */
        @Test
    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/config/BaseConfigurationTest.java

            // Test default batch limit
            assertEquals(0, config.getBatchLimit("TreeConnectAndX.QueryInformation"));
    
            // Test unspecified batch limit
            assertEquals(1, config.getBatchLimit("UnknownCommand"));
    
            // Test caching behavior
            assertEquals(0, config.getBatchLimit("TreeConnectAndX.QueryInformation"));
        }
    
        @Test
        @DisplayName("Test getBatchLimit with custom implementation")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndX.java

                batchLimits[7] = Byte.parseByte(s);
            }
            if ((s = Config.getProperty("jcifs.smb1.smb.client.TreeConnectAndX.QueryInformation")) != null) {
                batchLimits[8] = Byte.parseByte(s);
            }
        }
    
        SmbComTreeConnectAndX(final SmbSession session, final String path, final String service, final ServerMessageBlock andx) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java

            case SMB_COM_TRANSACTION:
                return cfg.getBatchLimit("TreeConnectAndX.Transaction");
            case SMB_COM_QUERY_INFORMATION:
                return cfg.getBatchLimit("TreeConnectAndX.QueryInformation");
            }
            return 0;
        }
    
        @Override
        protected int writeParameterWordsWireFormat(final byte[] dst, int dstIndex) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/config/BaseConfiguration.java

        private static final Map<String, Integer> DEFAULT_BATCH_LIMITS = new HashMap<>();
    
        static {
            DEFAULT_BATCH_LIMITS.put("TreeConnectAndX.QueryInformation", 0);
        }
    
        private final Map<String, Integer> batchLimits = new HashMap<>();
    
        /** Local process ID for SMB messages */
        protected int localPid = -1;
        /** Local timezone for time calculations */
    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