- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 157 for 1000ms (0.13 seconds)
-
src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java
byte[] largeBuffer = new byte[8192]; System.arraycopy(createValidWriteResponse(5000, 2500), 0, largeBuffer, 1000, 20); Smb2WriteResponse response2 = new Smb2WriteResponse(mockConfig); bytesRead = response2.readBytesWireFormat(largeBuffer, 1000); assertEquals(16, bytesRead); assertEquals(5000, response2.getCount());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/RateLimitHelper.java
requestCounters = CacheBuilder.newBuilder().expireAfterWrite(windowMs, TimeUnit.MILLISECONDS).maximumSize(10000).build(); blockedIps = CacheBuilder.newBuilder().expireAfterWrite(blockDurationMs, TimeUnit.MILLISECONDS).maximumSize(10000).build(); if (logger.isInfoEnabled()) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Dec 24 14:16:27 GMT 2025 - 9.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/entity/RequestParameterTest.java
StringBuilder longNameBuilder = new StringBuilder(); for (int i = 0; i < 10000; i++) { longNameBuilder.append("a"); } String longName = longNameBuilder.toString(); StringBuilder longValueBuilder = new StringBuilder(); for (int i = 0; i < 10000; i++) { longValueBuilder.append("b"); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 9.9K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java
* QPS=5 (5 tokens per second), if we ensure that a request isn't granted earlier than 200ms after * the last one, then we achieve the intended rate. If a request comes and the last request was * granted only 100ms ago, then we wait for another 100ms. At this rate, serving 15 fresh permits * (i.e. for an acquire(15) request) naturally takes 3 seconds. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed May 14 19:40:47 GMT 2025 - 19.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/CrawlTestBase.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 10.6K bytes - Click Count (0) -
src/test/java/org/codelibs/core/collection/ArrayMapTest.java
assertThat(map.equals(copy), is(true)); } /** * @throws Exception */ @Test public void testPerformance() throws Exception { int num = 100000; Map<String, Object> hmap = new HashMap<String, Object>(); Map<String, Object> amap = new ArrayMap<String, Object>(); long start = System.currentTimeMillis();
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 10.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/api/chat/ChatApiManagerTest.java
createFacetQueryView("size", "small", "content_length:[0 TO 10000]", "large", "content_length:[10000 TO *]")); final MockHttpServletRequest request = new MockHttpServletRequest(); request.setParameterValues("ex_q", new String[] { "filetype:HTML", "filetype:PDF", "timestamp:[now-1y TO *]", "content_length:[0 TO 10000]" }); final String[] result = chatApiManager.parseExtraQueries(request);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 14 01:39:16 GMT 2026 - 35K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java
dir1.mkdirs(); File expiredFile = new File(dir1, "expired.png"); expiredFile.createNewFile(); expiredFile.setLastModified(System.currentTimeMillis() - 10000L); File recentFile = new File(dir1, "recent.png"); recentFile.createNewFile(); recentFile.setLastModified(System.currentTimeMillis()); // Override purge to avoid client operations
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 20.4K bytes - Click Count (0) -
cmd/namespace-lock_test.go
t.Errorf("expected : %s, got : %s", expectedSource, gotSource) } } // Test lock race func TestNSLockRace(t *testing.T) { t.Skip("long test skip it") ctx := t.Context() for i := range 10000 { nsLk := newNSLock(false) // lk1; ref=1 if !nsLk.lock(ctx, "volume", "path", "source", "opsID", false, time.Second) { t.Fatal("failed to acquire lock") } // lk2 lk2ch := make(chan struct{})
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 3K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
public void testSetFuture_stackOverflow() { SettableFuture<String> orig = SettableFuture.create(); SettableFuture<String> prev = orig; for (int i = 0; i < 100000; i++) { SettableFuture<String> curr = SettableFuture.create(); prev.setFuture(curr); prev = curr; } // prev represents the 'innermost' future prev.set("done");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 45.2K bytes - Click Count (0)