- Sort Score
- Num 10 results
- Language All
Results 481 - 490 of 655 for 1003 (0.08 seconds)
-
android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java
manager.stopAsync().awaitStopped(); } }; stoppingThread.start(); // this should be super fast since the only non-stopped service is a NoOpService stoppingThread.join(1000); assertFalse("stopAsync has deadlocked!.", stoppingThread.isAlive()); failLeave.countDown(); // release the background thread } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 25.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/math/IntMathTest.java
// Check the first 100,000 integers for (int i = 0; i < 100000; i++) { assertEquals(LongMath.isPrime(i), IntMath.isPrime(i)); } // Then check 1000 deterministic pseudo-random int values. Random rand = new Random(1); for (int i = 0; i < 1000; i++) { int n = rand.nextInt(Integer.MAX_VALUE); assertEquals(LongMath.isPrime(n), IntMath.isPrime(n)); } }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 24.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/RelatedContentHelperTest.java
} } static class MockFessConfig extends FessConfig.SimpleImpl { @Override public Integer getPageRelatedcontentMaxFetchSizeAsInteger() { return 1000; } }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 14.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/SystemUtilTest.java
} @Test public void test_getSearchEngineHttpAddress_withLongValue() { // Test with a very long URL StringBuilder longUrl = new StringBuilder("http://"); for (int i = 0; i < 1000; i++) { longUrl.append("a"); } longUrl.append(".example.com:9200"); String originalValue = System.getProperty(Constants.FESS_SEARCH_ENGINE_HTTP_ADDRESS); try {Created: 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/main/java/jcifs/smb1/smb1/SmbTransport.java
rn = resp.numReferrals; } DfsReferral dr = new DfsReferral(); final String[] arr = new String[4]; final long expiration = System.currentTimeMillis() + Dfs.TTL * 1000; int di = 0; for (;;) { /* NTLM HTTP Authentication must be re-negotiated * with challenge from 'server' to access DFS vol. */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 31.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/JvmUtilTest.java
assertEquals(8, JvmUtil.getJavaVersion()); System.setProperty("java.version", "9.0.4"); assertEquals(9, JvmUtil.getJavaVersion()); System.setProperty("java.version", "10.0.1"); assertEquals(10, JvmUtil.getJavaVersion()); System.setProperty("java.version", "11.0.1"); assertEquals(11, JvmUtil.getJavaVersion()); } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 10.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java
* * @return interface score */ public int getScore() { int score = linkSpeed; // Base score is link speed if (rssCapable) score += 1000; // Prefer RSS-capable if (rdmaCapable) score += 2000; // Prefer RDMA-capable // Note: No IPv4 preference bonus to keep base score equal to link speed return score; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 9.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/auth/chain/CommandChain.java
/** Working directory for command execution. */ protected File workingDirectory = null; /** Maximum number of output lines to capture. */ protected int maxOutputLine = 1000; /** Command execution timeout in milliseconds. */ protected long executionTimeout = 30L * 1000L; // 30sec /** Character encoding for command output. */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 14.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java
if (valueSeparator.length() > 0) { final String[] values = rolesStr.split(valueSeparator); if (maxAge > 0) { try { final long time = getCurrentTime() / 1000 - Long.parseLong(values[0]); if (time > maxAge || time < 0) { if (logger.isDebugEnabled()) { logger.debug("role info is expired: {} > {}", time, maxAge);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 15.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java
assertTrue("Should find custom thread in dump", customThreadFound.get() > 0); } finally { latch.countDown(); customThread.join(1000); // Wait up to 1 second for thread to finish } } @Test public void test_writeThreadDump_fileContent() throws IOException {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 15.6K bytes - Click Count (0)