Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 754 for Threads (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

        }
        ListenableFuture<Integer> stackDepthCheck =
            serializer.submit(() -> Thread.currentThread().getStackTrace().length, directExecutor());
        settableFuture.set(null);
        assertThat(getDone(stackDepthCheck))
            .isLessThan(Thread.currentThread().getStackTrace().length + 100);
      }
    
      public void testAvoidsStackOverflow_alternatingCancelledAndSubmitted() throws Exception {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/core/collection/LruHashMap.java

     * <p>
     * <strong>Thread-Safety:</strong> This class is <strong>NOT thread-safe</strong>.
     * It extends {@link LinkedHashMap} without synchronization. If multiple threads access
     * an instance concurrently, and at least one thread modifies the map structurally,
     * it must be synchronized externally.
     * </p>
     * <p>
     * For thread-safe usage, wrap with {@link java.util.Collections#synchronizedMap(Map)}:
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 3K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java

            protected String propertiesPath;
    
            /**
             * Number of threads to use for thumbnail generation.
             */
            @Option(name = "-t", aliases = "--numOfThreads", metaVar = "numOfThreads", usage = "The number of threads")
            protected int numOfThreads = 1;
    
            /**
             * Whether to run in cleanup mode to remove old thumbnails.
             */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/helper/ProcessHelper.java

                    ist.interrupt();
                } catch (final Exception e) {
                    logger.warn("Could not interrupt a thread of an input stream.", e);
                }
    
                final CountDownLatch latch = new CountDownLatch(3);
                final Process process = jobProcess.getProcess();
                new Thread(() -> {
                    try {
                        CloseableUtil.closeQuietly(process.getInputStream());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 06:54:47 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/Mojo.java

     * or extended by Maven plugins or extensions and consumed by Maven itself.</li>
     * <li>{@link ThreadSafe}: Implies that implementations of this interface must
     * be safe to invoke from multiple threads concurrently.</li>
     * </ul>
     *
     * @since 4.0.0
     */
    @Experimental
    @FunctionalInterface
    @Consumer
    @ThreadSafe
    public interface Mojo {
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jan 29 08:21:00 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java

                        }
                    });
                }
    
                executor.shutdown();
                assertTrue(executor.awaitTermination(30, TimeUnit.SECONDS), "All threads should complete within timeout");
    
                // Analyze timing consistency across threads
                if (!timings.isEmpty()) {
                    double avgTime = timings.stream().mapToLong(Long::longValue).average().orElse(0.0);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/TreeBasedTable.java

     * {@link Map} specified in the {@link Table} interface.
     *
     * <p>Note that this implementation is not synchronized. If multiple threads access this table
     * concurrently and one of the threads modifies the table, it must be synchronized externally.
     *
     * <p>See the Guava User Guide article on <a href=
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jul 18 15:05:43 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

        }
        ListenableFuture<Integer> stackDepthCheck =
            serializer.submit(() -> Thread.currentThread().getStackTrace().length, directExecutor());
        settableFuture.set(null);
        assertThat(getDone(stackDepthCheck))
            .isLessThan(Thread.currentThread().getStackTrace().length + 100);
      }
    
      public void testAvoidsStackOverflow_alternatingCancelledAndSubmitted() throws Exception {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java

        protected long crawlingExecutionInterval = Constants.DEFAULT_CRAWLING_EXECUTION_INTERVAL;
    
        /**
         * Thread priority for index updater operations.
         */
        protected int indexUpdaterPriority = Thread.MAX_PRIORITY;
    
        /**
         * Thread priority for crawler operations.
         */
        protected int crawlerPriority = Thread.NORM_PRIORITY;
    
        /**
         * Synchronized list of active crawlers.
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 25K bytes
    - Click Count (0)
  10. build-tools-internal/src/main/resources/forbidden/jdk-signatures.txt

    @defaultMessage this method needs special permission
    java.lang.Thread#getAllStackTraces()
    
    @defaultMessage Stopping threads explicitly leads to inconsistent states. Use interrupt() instead.
    java.lang.Thread#stop()
    # uncomment when https://github.com/elastic/elasticsearch/issues/31715 is fixed
    # java.lang.Thread#stop(java.lang.Throwable)
    
    @defaultMessage Please do not terminate the application
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 4.8K bytes
    - Click Count (0)
Back to Top