Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 356 for queued (0.04 sec)

  1. guava/src/com/google/common/collect/Iterables.java

       *
       * <p>Note: If {@code iterable} is a {@link Queue}, the returned iterable will instead use {@link
       * Queue#isEmpty} and {@link Queue#remove()}, since {@link Queue}'s iteration order is undefined.
       * Calling {@link Iterator#hasNext()} on a generated iterator from the returned iterable may cause
       * an item to be immediately dequeued for return on a subsequent call to {@link Iterator#next()}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 43.3K bytes
    - Viewed (0)
  2. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

        // Cause acceptConnections() to break out.
        serverSocket.closeQuietly()
    
        // Await shutdown.
        for (queue in taskRunner.activeQueues()) {
          if (!queue.idleLatch().await(5, TimeUnit.SECONDS)) {
            throw AssertionError("Gave up waiting for queue to shut down")
          }
        }
        taskRunnerBackend.shutdown()
      }
    
      private fun serveConnection(
        connectionIndex: Int,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 20:36:00 UTC 2025
    - 40.3K bytes
    - Viewed (0)
  3. CHANGELOG/CHANGELOG-1.15.md

    - `process_start_time_seconds` has been added to kubelet’s '/metrics/probes' endpoint ([#77975](https://github.com/kubernetes/kubernetes/pull/77975), [@logicalhan](https://github.com/logicalhan))
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Thu May 05 13:44:43 UTC 2022
    - 278.9K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskLogger.kt

        startNs = queue.taskRunner.backend.nanoTime()
        log(task, queue, "starting")
      }
    
      var completedNormally = false
      try {
        val result = block()
        completedNormally = true
        return result
      } finally {
        if (loggingEnabled) {
          val elapsedNs = queue.taskRunner.backend.nanoTime() - startNs
          if (completedNormally) {
            log(task, queue, "finished run in ${formatDuration(elapsedNs)}")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerRealBackendTest.kt

      }
    
      @Test fun taskFailsWithUncheckedException() {
        queue.schedule("task", TimeUnit.MILLISECONDS.toNanos(100)) {
          log.put("failing task running")
          throw RuntimeException("boom!")
        }
    
        queue.schedule("task", TimeUnit.MILLISECONDS.toNanos(200)) {
          log.put("normal task running")
          return@schedule -1L
        }
    
        queue.idleLatch().await(500, TimeUnit.MILLISECONDS)
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java

     * }
     * </pre>
     */
    public class ESSourceReader implements DocumentReader {
        private static final Logger logger = LogManager.getLogger(ESSourceReader.class);
    
        /** Queue of documents. */
        protected final Queue<Map<String, Object>> queue = new ConcurrentLinkedQueue<>();
        /** Flag indicating if reading is finished. */
        protected final AtomicBoolean isFinished = new AtomicBoolean(false);
        /** Random number generator. */
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 11K bytes
    - Viewed (0)
  7. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/util/OpenSearchCrawlerConfig.java

            this.filterIndex = filterIndex;
        }
    
        /**
         * Returns the number of queue shards.
         * @return The number of queue shards.
         */
        public int getQueueShards() {
            return queueShards;
        }
    
        /**
         * Sets the number of queue shards.
         * @param queueShards The number of queue shards.
         */
        public void setQueueShards(final int queueShards) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/UrlQueue.java

    /**
     * The UrlQueue interface represents a queue of URLs to be processed by a web crawler.
     * It provides methods to get and set various properties of a URL queue entry.
     *
     * @param <IDTYPE> the type of the identifier for the URL queue entry
     */
    public interface UrlQueue<IDTYPE> {
    
        /**
         * Retrieves the unique identifier of the URL queue.
         *
         * @return the unique identifier of type IDTYPE.
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

        private final BlockingQueue<String> queue;
    
        EnableWrites(BlockingQueue<String> queue, long tMinus) {
          super(tMinus);
          assertFalse(queue.isEmpty());
          assertFalse(queue.offer("shouldBeRejected"));
          this.queue = queue;
        }
    
        @Override
        protected void doAction() {
          assertNotNull(queue.remove());
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 31.7K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java

      @Param({"100", "10000"})
      private int size;
    
      @Param private HeapType heap;
    
      private Queue<Integer> queue;
    
      private final Random random = new Random();
    
      @BeforeExperiment
      void setUp() {
        queue = heap.create(comparator.get());
        for (int i = 0; i < size; i++) {
          queue.add(random.nextInt());
        }
      }
    
      @Benchmark
      void pollAndAdd(int reps) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top