- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 73 for 5004 (0.03 seconds)
-
android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java
for (int i = 0; i < 8; i++) { limiter.acquire(); // #1 } stopwatch.sleepMillis(500); // #2: to repay for the last acquire stopwatch.sleepMillis(4000); // #3: becomes cold again for (int i = 0; i < 8; i++) { limiter.acquire(); // // #4 } stopwatch.sleepMillis(500); // #5: to repay for the last acquire
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 18:19:59 GMT 2025 - 21.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java
for (int i = 0; i < 8; i++) { limiter.acquire(); // #1 } stopwatch.sleepMillis(500); // #2: to repay for the last acquire stopwatch.sleepMillis(4000); // #3: becomes cold again for (int i = 0; i < 8; i++) { limiter.acquire(); // // #4 } stopwatch.sleepMillis(500); // #5: to repay for the last acquire
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 18:19:59 GMT 2025 - 21.9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketReaderTest.kt
data.write("88021388".decodeHex()) // Close with code 5000 assertFailsWith<ProtocolException> { clientReader.processNextFrame() }.also { expected -> assertThat(expected.message) .isEqualTo("Code must be in range [1000,5000): 5000") } } @Test fun closeReservedSetThrows() { data.write("880203ec".decodeHex()) // Close with code 1004
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Nov 04 16:11:23 GMT 2025 - 14.4K bytes - Click Count (0) -
README.md
See the License for the specific language governing permissions and limitations under the License. --> Apache Maven ============ [][license]
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sun Nov 16 13:30:57 GMT 2025 - 4.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
} assertEqualsUsingSeed(seed, expected, elements); } } } public void testCorrectOrdering_mediumHeapsPollFirst() { for (int attempts = 0; attempts < reduceIterationsIfGwt(5000); attempts++) { int size = new Random().nextInt(256) + 16; ArrayList<Integer> elements = createOrderedList(size); List<Integer> expected = ImmutableList.copyOf(elements);Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 36.1K bytes - Click Count (0) -
CHANGELOG.md
| com.squareup.okhttp3:mockwebserver3:5.0.0 | mockwebserver3 | Core module. No JUnit dependency! | | com.squareup.okhttp3:mockwebserver3-junit4:5.0.0 | mockwebserver3.junit4 | Optional JUnit 4 integration. | | com.squareup.okhttp3:mockwebserver3-junit5:5.0.0 | mockwebserver3.junit5 | Optional JUnit 5 integration. | | com.squareup.okhttp3:mockwebserver:5.0.0 | okhttp3.mockwebserver | Obsolete. Depends on JUnit 4. |
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 05 16:02:59 GMT 2025 - 36.2K bytes - Click Count (2) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java
long startTime = System.currentTimeMillis(); while (crawler.crawlerContext.getStatus() != CrawlerStatus.RUNNING && System.currentTimeMillis() - startTime < 5000) { try { Thread.sleep(50); } catch (InterruptedException e) { Thread.currentThread().interrupt(); break; }
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Tue Nov 11 13:40:14 GMT 2025 - 25.8K bytes - Click Count (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/ResponseDataTest.java
assertEquals(200, data.getHttpStatusCode()); data.setHttpStatusCode(404); assertEquals(404, data.getHttpStatusCode()); data.setHttpStatusCode(500); assertEquals(500, data.getHttpStatusCode()); } public void test_charSetGetterSetter() { // Test charset getter/setter ResponseData data = new ResponseData(); data.setCharSet("UTF-8");
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Thu Nov 13 13:29:22 GMT 2025 - 14.3K bytes - Click Count (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/interval/impl/DefaultIntervalControllerTest.java
public void test_defaultConstructor() { final DefaultIntervalController controller = new DefaultIntervalController(); assertEquals(0L, controller.getDelayMillisAfterProcessing()); assertEquals(500L, controller.getDelayMillisAtNoUrlInQueue()); assertEquals(0L, controller.getDelayMillisBeforeProcessing()); assertEquals(1000L, controller.getDelayMillisForWaitingNewUrl()); } /**
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Thu Nov 20 08:58:39 GMT 2025 - 8.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbOperationExceptionTest.java
// Then assertEquals(1000, delay1); assertEquals(2000, delay2); assertEquals(4000, delay3); assertEquals(5000, delay4); // Capped at max assertEquals(5000, delay10); // Still capped } @Test @DisplayName("Should handle non-exponential backoff") void testConstantBackoff() { // GivenCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 16.1K bytes - Click Count (0)