Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 207 for props (0.67 seconds)

  1. 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);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/compression/CompressionNegotiateContextTest.java

        private Configuration config;
        private CompressionNegotiateContext context;
    
        @BeforeEach
        public void setUp() throws Exception {
            Properties props = new Properties();
            config = new PropertyConfiguration(props);
            context = new CompressionNegotiateContext(config, new int[] { CompressionNegotiateContext.COMPRESSION_LZ77,
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  3. 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);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java

                    request.setRemoteRepositories(req.getRemoteRepositories());
                }
            } else {
                Properties props = new Properties();
                EnvironmentUtils.addEnvVars(props);
                props.putAll(System.getProperties());
                request.setSystemProperties(props);
            }
    
            return request;
        }
    
        @SuppressWarnings("unchecked")
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 12.2K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ForbiddenPatternsTask.java

            filesFilter.exclude(excludes);
        }
    
        public void rule(Map<String, String> props) {
            String name = props.remove("name");
            if (name == null) {
                throw new InvalidUserDataException("Missing [name] for invalid pattern rule");
            }
            String pattern = props.remove("pattern");
            if (pattern == null) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 6.8K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

        void testWithDifferentConfigurations() throws Exception {
            // Test with different configuration settings
            Properties props = new Properties();
            props.setProperty("jcifs.smb.client.maxVersion", "SMB302");
            Configuration customConfig = new PropertyConfiguration(props);
    
            Trans2SetFileInformationResponse customResponse = new Trans2SetFileInformationResponse(customConfig);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2ResponseTest.java

        private Configuration config;
    
        @BeforeEach
        void setUp() throws Exception {
            MockitoAnnotations.openMocks(this);
            Properties props = new Properties();
            config = new PropertyConfiguration(props);
            response = new Trans2FindFirst2Response(config);
        }
    
        @Test
        void testConstructor() {
            // Test that the constructor properly initializes the object
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  8. 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 {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Tue Aug 19 14:09:36 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  9. README.md

    jcifs.smb.client.useUnicode=true
    jcifs.smb.client.maxMpxCount=10
    ```
    
    ### Usage with Properties
    
    ```java
    Properties props = new Properties();
    props.setProperty("jcifs.smb.client.domain", "MYDOMAIN");
    props.setProperty("jcifs.smb.client.useLeases", "true");
    
    Configuration config = new PropertyConfiguration(props);
    CIFSContext context = new BaseContext(config);
    ```
    
    ## Development
    
    ### Build Commands
    ```bash
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 09:24:52 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  10. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateSmokeTestedPluginsVersions.kt

            updateProperties(fetchedVersions)
        }
    
        private
        fun getPluginIds(): List<String> {
            val props = Properties()
            propertiesFile.get().asFile.reader().use { input ->
                props.load(input)
            }
            return props.keys.map { it as String }.sorted()
        }
    
        private
        fun fetchLatestVersions(pluginIds: List<String>): List<TestedVersion> =
            pluginIds
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Sep 18 16:06:17 GMT 2025
    - 2.3K bytes
    - Click Count (0)
Back to Top