- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 637 for 5007 (0.02 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 Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 22K 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 Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 22K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt
response.body.close() } @Test fun connectTimeout() { val interceptor1 = Interceptor { chainA: Interceptor.Chain -> assertThat(chainA.connectTimeoutMillis()).isEqualTo(5000) val chainB = chainA.withConnectTimeout(100, TimeUnit.MILLISECONDS) assertThat(chainB.connectTimeoutMillis()).isEqualTo(100) chainB.proceed(chainA.request()) } val interceptor2 =
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 16:11:23 GMT 2025 - 28.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java
assertEquals("3", result.get("error_count")); } @Test public void test_setMaxSessionIdsInList() { crawlingInfoHelper.setMaxSessionIdsInList(500); assertEquals(500, crawlingInfoHelper.maxSessionIdsInList); crawlingInfoHelper.setMaxSessionIdsInList(0); assertEquals(0, crawlingInfoHelper.maxSessionIdsInList);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 12 01:46:45 GMT 2026 - 28.7K bytes - Click Count (0) -
cmd/metrics-v2_test.go
t.Errorf("Expected le='0.050' api=PutObject value to be 1 but got '%v'", value) } if le := capitalPutObjects[1].VariableLabels["le"]; le != "5.000" { t.Errorf("Expected le='5.000' api=PutObject metrics but got '%v'", le) } if value := capitalPutObjects[1].Value; value != 2 { t.Errorf("Expected le='5.000' api=PutObject value to be 2 but got '%v'", value) } if le := capitalPutObjects[2].VariableLabels["le"]; le != "+Inf" {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 6.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/crawler/interval/FessIntervalControllerTest.java
*/ @Test public void test_delayMillisBeforeProcessing() { FessIntervalController controller = new FessIntervalController(); controller.setDelayMillisBeforeProcessing(500L); assertEquals(500L, controller.getDelayMillisBeforeProcessing()); controller.setDelayMillisBeforeProcessing(3000L); assertEquals(3000L, controller.getDelayMillisBeforeProcessing());Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 6.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/ByteStreamsTest.java
try (FileOutputStream fos = new FileOutputStream(testFile)) { for (int i = 0; i < 500; i++) { fos.write(dummyData); } } try (ReadableByteChannel inChannel = new RandomAccessFile(testFile, "r").getChannel()) { ByteStreams.copy(inChannel, outChannel); } byte[] actual = out.toByteArray(); for (int i = 0; i < 500 * chunkSize; i += chunkSize) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 22K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/QueryResponseListTest.java
QueryResponseList qrList = new QueryResponseList(documentList, 100L, "gte", 500L, true, facetResponse, 0, 10, 0); assertEquals(documentList, qrList.parent); assertEquals(100L, qrList.getAllRecordCount()); assertEquals("gte", qrList.getAllRecordCountRelation()); assertEquals(500L, qrList.getQueryTime()); assertTrue(qrList.isPartialResults());Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 40.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/AllocInfoTest.java
// Given when(mockAllocInfo.getCapacity()).thenReturn(1000L, 2000L, 3000L); when(mockAllocInfo.getFree()).thenReturn(500L, 1000L, 1500L); // When & Then assertEquals(1000L, mockAllocInfo.getCapacity()); assertEquals(500L, mockAllocInfo.getFree()); assertEquals(2000L, mockAllocInfo.getCapacity()); assertEquals(1000L, mockAllocInfo.getFree());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java
when(mockFile1.lastModified()).thenReturn(1000L); when(mockFile1.isDirectory()).thenReturn(false); when(mockFile1.getAttributes()).thenReturn(0x20); when(mockFile1.createTime()).thenReturn(500L); when(mockFile1.lastAccess()).thenReturn(800L); when(mockFile2.getName()).thenReturn("dir1"); when(mockFile2.length()).thenReturn(0L); when(mockFile2.lastModified()).thenReturn(2000L);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 15.9K bytes - Click Count (0)