- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for threadPool (0.25 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapBasherTest.java
int deltaRange = 10000; String key = "key"; AtomicLongMap<String> map = AtomicLongMap.create(); ExecutorService threadPool = newFixedThreadPool(nThreads); ArrayList<Future<Long>> futures = new ArrayList<>(); for (int i = 0; i < nTasks; i++) { futures.add( threadPool.submit( new Callable<Long>() { @Override public Long call() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 4.2K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/CurlRequestTest.java
@Test public void testThreadPoolMethod() { CurlRequest request = new CurlRequest(Method.GET, "https://example.com"); ForkJoinPool pool = new ForkJoinPool(); CurlRequest result = request.threadPool(pool); assertSame(request, result); // Fluent API } @Test public void testEncodingSpecialCharacters() { CurlRequest request = new CurlRequest(Method.GET, "https://example.com");
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Thu Jul 31 01:01:12 UTC 2025 - 8.8K bytes - Viewed (0)