Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 155 for props (0.2 sec)

  1. 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)
  2. 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)
  3. 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: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  4. 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)
  5. src/main/assemblies/files/fess

    #    -h
    #    --help        print command line options
    #    -v            print fess version, then exit
    #    -D prop       set JAVA system property
    #    -X prop       set non-standard JAVA system property
    #   --prop=val
    #   --prop val     set fess property (i.e.  -Des.<prop>=<val>)
    
    CDPATH=""
    SCRIPT="$0"
    
    # SCRIPT may be an arbitrarily deep series of symlinks. Loop until we have the concrete path.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Jan 15 06:32:15 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  6. 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)
  7. src/test/java/jcifs/context/SingletonContextTest.java

            // Test successful initialization with custom properties
            Properties props = new Properties();
            props.setProperty("jcifs.smb.client.nativeOs", "CustomOS");
            props.setProperty("jcifs.smb.client.nativeLanMan", "CustomLanman");
            assertDoesNotThrow(() -> SingletonContext.init(props));
            CIFSContext context = SingletonContext.getInstance();
            assertNotNull(context);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/multichannel/MultiChannelIntegrationTest.java

            Properties props = new Properties();
            props.setProperty("jcifs.smb.client.useMultiChannel", "true");
            props.setProperty("jcifs.smb.client.maxChannels", "4");
            props.setProperty("jcifs.smb.client.loadBalancingStrategy", "adaptive");
            props.setProperty("jcifs.smb.client.channelHealthCheckInterval", "5");
    
            multiConfig = new PropertyConfiguration(props);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java

            this(container, null);
        }
    
        /**
         * the properties passed to the profile manager are the props that
         * are passed to maven, possibly containing profile activator properties
         *
         */
        public DefaultProfileManager(PlexusContainer container, Properties props) {
            try {
                this.profileSelector = container.lookup(ProfileSelector.class);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/opensearch/config/exentity/DataConfig.java

            } else if (Constants.NTLM.equals(scheme)) {
                final Properties props = new Properties();
                paramMap.entrySet().stream().filter(e -> e.getKey().startsWith("jcifs.")).forEach(e -> {
                    props.setProperty(e.getKey(), e.getValue());
                });
                authScheme = new NTLMScheme(new JcifsEngine(props));
            } else if (Constants.FORM.equals(scheme)) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18.6K bytes
    - Viewed (0)
Back to top