Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 60 for props (0.02 sec)

  1. src/main/java/jcifs/config/PropertyConfiguration.java

        /**
         * Create a configuration backed by properties
         *
         * @param props properties object containing JCIFS configuration settings
         * @throws CIFSException if configuration initialization fails
         */
        public PropertyConfiguration(Properties props) throws CIFSException {
            super(false);
            initFromProperties(props);
            initDefaults(); // Use original initDefaults
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/config/MultiChannelConfigurationTest.java

            assertEquals(5, config.getChannelHealthCheckInterval());
        }
    
        @Test
        void testCompleteMultiChannelConfiguration() throws CIFSException {
            Properties props = new Properties();
            props.setProperty("jcifs.smb.client.useMultiChannel", "true");
            props.setProperty("jcifs.smb.client.maxChannels", "6");
            props.setProperty("jcifs.smb.client.channelBindingPolicy", "required");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/io/PropertiesUtil.java

         * </p>
         *
         * @param props the property set (must not be {@literal null})
         * @param in the input stream (must not be {@literal null})
         */
        public static void load(final Properties props, final InputStream in) {
            assertArgumentNotNull("props", props);
            assertArgumentNotNull("in", in);
    
            try {
                props.load(in);
            } catch (final IOException e) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/mylasta/direction/FessEnvTest.java

                    Properties props = new Properties();
                    props.setProperty("bool.true", "true");
                    props.setProperty("bool.false", "false");
                    props.setProperty("bool.yes", "yes");
                    props.setProperty("bool.no", "no");
                    props.setProperty("bool.on", "on");
                    props.setProperty("bool.off", "off");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/config/PropertyConfigurationTest.java

            Properties props = new Properties();
            // Set some default test properties
            props.setProperty("jcifs.smb.client.username", "testuser");
            props.setProperty("jcifs.smb.client.password", "testpass");
            props.setProperty("jcifs.smb.client.domain", "testdomain");
            props.setProperty("jcifs.netbios.hostname", "testhost");
            props.setProperty("jcifs.netbios.scope", "");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/rdma/RdmaConfigurationTest.java

            Properties props = new Properties();
            props.setProperty("jcifs.smb.client.useRDMA", "true");
            props.setProperty("jcifs.smb.client.rdmaProvider", "disni");
            props.setProperty("jcifs.smb.client.rdmaReadWriteThreshold", "16384");
            props.setProperty("jcifs.smb.client.rdmaMaxSendSize", "131072");
            props.setProperty("jcifs.smb.client.rdmaMaxReceiveSize", "131072");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/Config.java

         *
         * @param props the properties to search in
         * @param key the property key to look up
         * @param def the default value to return if key is not found or cannot be parsed
         * @return the integer value of the property or the default value
         */
        public static int getInt(final Properties props, final String key, int def) {
            final String s = props.getProperty(key);
            if (s != null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  8. 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)
  9. src/test/java/org/codelibs/fess/unit/TestSystemProperties.java

            try (InputStream is = Thread.currentThread().getContextClassLoader().getResourceAsStream("system.properties")) {
                if (is != null) {
                    Properties props = new Properties();
                    props.load(is);
                    props.forEach((key, value) -> setProperty(String.valueOf(key), String.valueOf(value)));
                    logger.debug("Loaded test system properties");
                } else {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/context/SingletonContext.java

         *
         * This method can only be called once.
         *
         * @param props the properties to use for initialization
         * @throws CIFSException if the singleton context is already initialized or there is an error during initialization
         */
        public static synchronized final void init(final Properties props) throws CIFSException {
            if (INSTANCE != null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
Back to top