Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 76 for props (0.96 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: Sat Dec 20 13:44:44 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: Sat Dec 20 13:44:44 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: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  4. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  5. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  6. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/FessBoot.java

             * @param props the configuration properties
             * @param readConfigList the list of read configuration items
             */
            @Override
            public void setupServerConfigIfNeeds(final BootLogger logger, final Tomcat server, final Connector connector,
                    final Properties props, final List<String> readConfigList) {
                if (props == null) {
                    return;
                }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  8. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/lang/AnnotationUtilTest.java

            final Annotation anno = m.getAnnotation(Hoge.class);
            final Map<String, Object> props = AnnotationUtil.getProperties(anno);
            assertThat((String) props.get("aaa"), is("123"));
            assertThat((String) props.get("bbb"), is("3"));
            assertThat(props.get("ccc"), is(nullValue()));
        }
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
Back to top