- Sort Score
- Result 10 results
- Languages All
Results 411 - 420 of 591 for 1100 (0.02 sec)
-
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 } /**
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 17:49:12 UTC 2025 - 25.5K bytes - Viewed (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)); } }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 24.1K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java
@Test public void testLargeThreshold() throws IOException { // Test with very large threshold ContentOutputStream cos = new ContentOutputStream(1024 * 1024, Curl.tmpDir); cos.write(new byte[1000]); assertTrue(cos.isInMemory()); cos.close(); } @Test public void testMultipleGetFile() throws IOException { // Calling getFile() multiple times should return the same fileRegistered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Wed Nov 12 14:01:04 UTC 2025 - 9.9K bytes - Viewed (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; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 9.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java
public FailoverState(String channelId) { this.channelId = channelId; this.failureTime = System.currentTimeMillis(); this.retryCount = 0; this.nextRetryTime = failureTime + 1000; // Initial 1 second delay } /** * Get channel ID * * @return channel identifier */ public String getChannelId() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 11.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java
// Create larger buffer byte[] buffer = new byte[100]; long value = 999L; SMBUtil.writeInt8(value, buffer, 0); // Decode with extra length - should only read 8 bytes int bytesRead = fileInfo.decode(buffer, 0, 100); assertEquals(8, bytesRead); assertTrue(fileInfo.toString().contains("endOfFile=" + value)); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt
} @Test fun defaultMockResponse() { val response = MockResponse() assertThat(headersToList(response)).containsExactly("Content-Length: 0") assertThat(response.status).isEqualTo("HTTP/1.1 200 OK") } @Test fun setResponseMockReason() { val reasons = arrayOf( "Mock Response", "Informational", "OK", "Redirection", "Client Error",
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Jul 03 13:16:34 UTC 2025 - 22.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
String nonceHex = bytesToHex(nonce); nonceSet.add(nonceHex); } // Verify that secure nonces provide excellent diversity // With 100 nonces and 16 random bytes, we should have all unique nonces assertEquals(100, nonceSet.size(), "Secure nonces should all be unique"); } @Test @DisplayName("Should reject null message in encryptMessage")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TextUtil.java
boolean isSpace = false; int alphanumSize = 0; int symbolSize = 0; int c; final Set<String> termCache = new HashSet<>(1000); try { while ((c = reader.read()) != -1) { if (Character.isISOControl(c) || isSpaceChar(c)) { if (duplicateTermRemoved) {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Nov 22 13:28:22 UTC 2025 - 12K bytes - Viewed (0)