- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 51 for pthreadpool (0.21 seconds)
-
fastapi/datastructures.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 5.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java
ExecutorService threadPool = newFixedThreadPool(nThreads); CountDownLatch tasksFinished = new CountDownLatch(nTasks); for (int i = 0; i < nTasks; i++) { String s = "a" + i; @SuppressWarnings("unused") // https://errorprone.info/bugpattern/FutureReturnValueIgnored Future<?> possiblyIgnoredError = threadPool.submit( () -> {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 25.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/CacheBuilderTest.java
ExecutorService threadPool = newFixedThreadPool(nThreads); CountDownLatch tasksFinished = new CountDownLatch(nTasks); for (int i = 0; i < nTasks; i++) { String s = "a" + i; @SuppressWarnings("unused") // https://errorprone.info/bugpattern/FutureReturnValueIgnored Future<?> possiblyIgnoredError = threadPool.submit( () -> {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 25.6K bytes - Click Count (0) -
.teamcity/scripts/CheckWrapper.java
* java .teamcity/scripts/CheckWrapper.java < commits.txt * * Reads commit SHAs from stdin (one per line), checks wrapper per commit. */ public class CheckWrapper { private static final ExecutorService THREAD_POOL = Executors.newCachedThreadPool(); private static final Pattern ALLOWED_WRAPPER_VERSION = Pattern.compile("^[0-9.]+(-(rc|milestone|m)-[0-9]+)?$"); // Keep the same extraction semantics as the old sed:
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Jan 20 03:53:25 GMT 2026 - 6.4K bytes - Click Count (0) -
src/test/java/org/codelibs/curl/CurlRequestTest.java
ForkJoinPool pool1 = new ForkJoinPool(2); ForkJoinPool pool2 = new ForkJoinPool(4); // Multiple threadPool calls should work request.threadPool(pool1); request.threadPool(pool2); assertNotNull(request); } @Test public void testOnConnectWithNull() {
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 09:11:12 GMT 2026 - 24.7K bytes - Click Count (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java
connected = false; } /** * Gets the thread pool from the underlying client. * * @return The thread pool. */ @Override public ThreadPool threadPool() { return client.threadPool(); } /** * Gets the admin client for cluster and index operations. * * @return The admin client. */ @OverrideCreated: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Sun Nov 23 02:01:26 GMT 2025 - 26.2K bytes - Click Count (0) -
.teamcity/scripts/CheckBadMerge.java
* * If any "bad" merge commit is found, it will print the details and exit with non-zero code. */ public class CheckBadMerge { private static final ExecutorService THREAD_POOL = Executors.newCachedThreadPool(); private static final List<String> MONITORED_PATHS = Collections.unmodifiableList(Arrays.asList( "subprojects/docs/src/docs/release/notes.md",
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Mar 30 16:25:09 GMT 2026 - 9K bytes - Click Count (0) -
src/test/java/org/codelibs/curl/io/IOIntegrationTest.java
ForkJoinPool pool = new ForkJoinPool(1); req.threadPool(pool); // ## Act ## // execute() should force synchronous execution but restore threadPool afterward try (CurlResponse response = req.execute()) { assertEquals(200, response.getHttpStatusCode()); } // ## Assert ## // After execute(), the threadPool should be restored
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 12:00:34 GMT 2026 - 44.1K bytes - Click Count (0) -
src/main/java/jcifs/SmbResourceException.java
private static final long serialVersionUID = 1L; /** * Resource type that caused the error */ public enum ResourceType { FILE_HANDLE, CONNECTION, MEMORY, DISK_SPACE, QUOTA, LOCK, BUFFER, THREAD_POOL } private final ResourceType resourceType; private final long availableResources; private final long requestedResources; /** * Creates a resource exception *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 5.6K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java
private ImmutableList<Integer> keys; private ExecutorService threadPool; @BeforeExperiment void setUp() throws Exception { multiset = implSupplier.get(); ImmutableList.Builder<Integer> builder = ImmutableList.builder(); for (int i = 0; i < size; i++) { builder.add(i); } keys = builder.build(); threadPool = newFixedThreadPool(threads, new ThreadFactoryBuilder().setDaemon(true).build());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 16.6K bytes - Click Count (0)