Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 219 for Queues (0.03 sec)

  1. src/main/java/org/codelibs/fess/crawler/service/FessUrlQueueService.java

    import org.opensearch.index.query.functionscore.RandomScoreFunctionBuilder;
    import org.opensearch.search.sort.SortBuilders;
    import org.opensearch.search.sort.SortOrder;
    
    /**
     * Fess-specific URL queue service that extends OpenSearch URL queue functionality.
     * This service provides customized URL fetching strategies including sequential and random ordering
     * based on crawling configuration parameters.
     */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4K bytes
    - Viewed (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

                waitingCoordinatorInterrupted = false
                throw InterruptedException()
              }
            }
    
            override fun <T> decorate(queue: BlockingQueue<T>) = TaskFakerBlockingQueue(queue)
          },
          logger = logger,
        )
    
      /** Runs all tasks that are ready. Used by the test thread only. */
      fun runTasks() {
        advanceUntil(nanoTime)
      }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/Uninterruptibles.java

          }
        }
      }
    
      /** Invokes {@code queue.}{@link BlockingQueue#take() take()} uninterruptibly. */
      @J2ktIncompatible
      @GwtIncompatible // concurrency
      public static <E> E takeUninterruptibly(BlockingQueue<E> queue) {
        boolean interrupted = false;
        try {
          while (true) {
            try {
              return queue.take();
            } catch (InterruptedException e) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  4. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchUrlQueue.java

         */
        public static final String WEIGHT = "weight";
    
        /**
         * Converts this URL queue entry to XContent format for OpenSearch indexing.
         *
         * @param builder The XContentBuilder to write to.
         * @param params Additional parameters for the conversion.
         * @return The XContentBuilder with the URL queue data.
         * @throws IOException if the conversion fails.
         */
        @Override
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/BasicCertificateChainCleaner.kt

       */
      @Throws(SSLPeerUnverifiedException::class)
      override fun clean(
        chain: List<Certificate>,
        hostname: String,
      ): List<Certificate> {
        val queue: Deque<Certificate> = ArrayDeque(chain)
        val result = mutableListOf<Certificate>()
        result.add(queue.removeFirst())
        var foundTrustedCertificate = false
    
        followIssuerChain@
        for (c in 0 until MAX_SIGNERS) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

        /**
         * Maximum size of the thumbnail generation task queue.
         */
        protected int thumbnailTaskQueueSize = 10000;
    
        /**
         * Number of tasks to process in bulk operations.
         */
        protected int thumbnailTaskBulkSize = 100;
    
        /**
         * Timeout in milliseconds for thumbnail task queue operations.
         */
        protected long thumbnailTaskQueueTimeout = 10 * 1000L;
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 27K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/crawler/interval/FessIntervalController.java

        /**
         * Gets the delay time in milliseconds when there are no URLs in the queue.
         *
         * @return the delay time in milliseconds when no URLs are available
         */
        public long getDelayMillisAtNoUrlInQueue() {
            return delayMillisAtNoUrlInQueue;
        }
    
        /**
         * Sets the delay time in milliseconds when there are no URLs in the queue.
         *
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Wed Nov 19 07:09:17 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/QueueTestSuiteBuilder.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.ArrayList;
    import java.util.List;
    
    /**
     * Creates, based on your criteria, a JUnit test suite that exhaustively tests a queue
     * implementation.
     *
     * @author Jared Levy
     */
    @GwtIncompatible
    public final class QueueTestSuiteBuilder<E>
        extends AbstractCollectionTestSuiteBuilder<QueueTestSuiteBuilder<E>, E> {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

      private fun ensureAllTaskQueuesIdle() {
        val entryTime = System.nanoTime()
    
        for (queue in TaskRunner.INSTANCE.activeQueues()) {
          // We wait at most 1 second, so we don't ever turn multiple lost threads into
          // a test timeout failure.
          val waitTime = (entryTime + 1_000_000_000L - System.nanoTime())
          if (!queue.idleLatch().await(waitTime, TimeUnit.NANOSECONDS)) {
            TaskRunner.INSTANCE.withLock {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

      private void weaklyReferenceQueue() {
        frq = new FinalizableReferenceQueue();
        queueReference = new WeakReference<>(frq.queue);
    
        /*
         * Queue and clear a reference for good measure. We test later on that
         * the finalizer thread stopped, but we should test that it actually
         * started first.
         */
        reference =
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 8.7K bytes
    - Viewed (0)
Back to top