- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 311 for setProperty (0.17 seconds)
-
docs/smb3-features/06-witness-protocol-design.md
} @Test public void testWitnessServiceDiscovery() throws Exception { CIFSContext context = getTestContext(); context.getConfig().setProperty("jcifs.smb.client.useWitness", "true"); context.getConfig().setProperty("jcifs.smb.client.witnessServiceDiscovery", "true"); SmbSession session = new SmbSession(context, transport); session.initializeWitnessSupport();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 42K bytes - Click Count (0) -
docs/smb3-features/03-multi-channel-design.md
@Test public void testMultiChannelThroughput() throws Exception { // Requires multi-NIC test environment CIFSContext context = getTestContext(); context.getConfig().setProperty("jcifs.smb.client.useMultiChannel", "true"); context.getConfig().setProperty("jcifs.smb.client.maxChannels", "4"); SmbFile file = new SmbFile("smb://server/share/largefile.dat", context); // Measure single channel throughput
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 39.6K bytes - Click Count (0) -
docs/smb3-features/04-directory-leasing-design.md
} ``` ### 8.2 Integration Tests ```java @Test public void testDirectoryListingCache() throws Exception { CIFSContext context = getTestContext(); context.getConfig().setProperty("jcifs.smb.client.useDirectoryLeasing", "true"); SmbFile dir = new SmbFile("smb://server/share/testdir/", context); // First listing should hit the server long start1 = System.currentTimeMillis();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 36.2K bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java
@Serial private static final long serialVersionUID = 1L; { setProperty("foo", "foo"); setProperty("bar", "foo"); } })); assertViolations(result, 0, 0, 0); } @TestCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 33.9K bytes - Click Count (0) -
docs/smb3-features/01-smb3-lease-design.md
``` ### 8.2 Integration Tests ```java @Test public void testLeaseWithRealServer() throws Exception { // Requires SMB3 capable server CIFSContext context = getTestContext(); context.getConfig().setProperty("jcifs.smb.client.useLeases", "true"); try (SmbFile file = new SmbFile("smb://server/share/test.txt", context)) { // Open file with lease file.createNewFile();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 22K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/SystemHelper.java
version = prop.getProperty("fess.version", "0.0.0"); final String[] values = version.split("\\."); majorVersion = Integer.parseInt(values[0]); minorVersion = Integer.parseInt(values[1]); productVersion = majorVersion + "." + minorVersion; System.setProperty("fess.version", version); System.setProperty("fess.product.version", productVersion);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 43.2K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/Hc5HttpClient.java
} final Map<String, String> ntlmParams = config.getNtlmParameters(); if (ntlmParams != null) { ntlmParams.forEach(result::setProperty); } } } } else if (value instanceof Hc5Authentication[]) { for (final Hc5Authentication auth : (Hc5Authentication[]) value) {Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Sat Jan 31 12:23:29 GMT 2026 - 62.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/SystemUtilTest.java
String originalValue = System.getProperty(Constants.FESS_SEARCH_ENGINE_HTTP_ADDRESS); try { // Set initial value System.setProperty(Constants.FESS_SEARCH_ENGINE_HTTP_ADDRESS, "initial"); assertEquals("initial", SystemUtil.getSearchEngineHttpAddress()); // Change value and verify it's read freshCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 17.1K bytes - Click Count (0) -
src/test/java/jcifs/config/PropertyConfigurationTest.java
// 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", ""); props.setProperty("jcifs.smb.client.connTimeout", "35000");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/FessConfigImplTest.java
String initialValue = "initial"; System.setProperty(Constants.FESS_CONFIG_PREFIX + testKey, initialValue); try { // Get initial value String value1 = fessConfig.get(testKey); assertEquals(initialValue, value1); // Change system property String newValue = "changed"; System.setProperty(Constants.FESS_CONFIG_PREFIX + testKey, newValue);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.9K bytes - Click Count (0)