- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 92 for setProperty (0.06 sec)
-
src/test/java/jcifs/context/SingletonContextTest.java
Files.writeString(jcifsPropertiesPath, "jcifs.smb.client.nativeOs=FileOS"); System.setProperty("jcifs.properties", jcifsPropertiesPath.toString()); System.setProperty("jcifs.smb.client.nativeOs", "SystemOS"); Properties customProps = new Properties(); customProps.setProperty("jcifs.smb.client.nativeOs", "CustomOS"); SingletonContext.init(customProps);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/config/MultiChannelConfigurationTest.java
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"); props.setProperty("jcifs.smb.client.loadBalancingStrategy", "least_loaded"); props.setProperty("jcifs.smb.client.channelHealthCheckInterval", "15");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 8.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/rdma/RdmaConfigurationTest.java
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"); props.setProperty("jcifs.smb.client.rdmaCredits", "512");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 5.1K bytes - Viewed (0) -
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) -
src/test/java/jcifs/ConfigTest.java
testProperties = new Properties(); testProperties.setProperty("test.int", "123"); testProperties.setProperty("test.long", "1234567890123"); testProperties.setProperty("test.bool.true", "true"); testProperties.setProperty("test.bool.false", "false"); testProperties.setProperty("test.host", "localhost"); testProperties.setProperty("test.invalid.int", "abc"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/PropertiesUtilTest.java
final File file = tempFolder.newFile("hoge.properties"); final Writer writer = WriterUtil.create(file); PropertiesUtil.store(outProperties, writer, "comments"); CloseableUtil.close(writer); final Properties properties = new Properties(); PropertiesUtil.load(properties, file); assertThat(properties.getProperty("a"), is("A")); } /**
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 9.6K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.java
Activation syspropActivation = new Activation(); ActivationProperty syspropProperty = new ActivationProperty(); syspropProperty.setName("java.version"); syspropActivation.setProperty(syspropProperty); syspropActivated.setActivation(syspropActivation); Profile defaultActivated = new Profile(); defaultActivated.setId("defaultActivated");
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Sun Mar 30 23:08:36 UTC 2025 - 6.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NtlmServlet.java
if (name.startsWith("jcifs.smb1.")) { Config.setProperty(name, config.getInitParameter(name)); } } defaultDomain = Config.getProperty("jcifs.smb1.smb.client.domain"); domainController = Config.getProperty("jcifs.smb1.http.domainController"); if (domainController == null) { domainController = defaultDomain;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/MultiChannelIntegrationTest.java
// Setup multi-channel configuration 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) -
src/main/java/jcifs/http/NtlmServlet.java
*/ p.setProperty("jcifs.smb.client.soTimeout", "300000"); p.setProperty("jcifs.netbios.cachePolicy", "600"); final Enumeration<String> e = config.getInitParameterNames(); String name; while (e.hasMoreElements()) { name = e.nextElement(); if (name.startsWith("jcifs.")) { p.setProperty(name, config.getInitParameter(name));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.1K bytes - Viewed (1)