Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 224 for QUEUE (0.04 sec)

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

          implements PeekingIterator<T> {
        private final Queue<T> queue;
    
        BreadthFirstIterator(T root) {
          this.queue = new ArrayDeque<>();
          queue.add(root);
        }
    
        @Override
        public boolean hasNext() {
          return !queue.isEmpty();
        }
    
        @Override
        public T peek() {
          return queue.element();
        }
    
        @Override
        public T next() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/CrawlingParameterUtil.java

            return URL_QUEUE_THREAD_LOCAL.get();
        }
    
        /**
         * Sets the URL queue for the current thread. If the provided URL queue is null,
         * the URL queue for the current thread is removed.
         *
         * @param urlQueue the URL queue to be set for the current thread, or null to remove the URL queue
         */
        public static void setUrlQueue(final UrlQueue<?> urlQueue) {
            if (urlQueue == null) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/BufferCache.java

        private static final int MAX_BUFFER_SIZE = 0x100000; // 1MB maximum
    
        // Use concurrent queue for lock-free operations
        private static final java.util.concurrent.ConcurrentLinkedQueue<byte[]> bufferQueue =
                new java.util.concurrent.ConcurrentLinkedQueue<>();
    
        // Track queue size with atomic counter for efficiency
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/ListenerCallQueue.java

      }
    
      private void enqueueHelper(Event<L> event, Object label) {
        checkNotNull(event, "event");
        checkNotNull(label, "label");
        synchronized (listeners) {
          for (PerListenerQueue<L> queue : listeners) {
            queue.add(event, label);
          }
        }
      }
    
      /**
       * Dispatches all events enqueued prior to this call, serially and in order, for every listener.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/TestStringQueueGenerator.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.testing.SampleElements.Strings;
    import java.util.List;
    import java.util.Queue;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Create queue of strings for tests.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @NullMarked
    public abstract class TestStringQueueGenerator implements TestQueueGenerator<String> {
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/IntervalController.java

     *   <li>{@code PRE_PROCESSING} - Represents the pre-processing state.</li>
     *   <li>{@code POST_PROCESSING} - Represents the post-processing state.</li>
     *   <li>{@code NO_URL_IN_QUEUE} - Indicates that there are no URLs in the queue.</li>
     *   <li>{@code WAIT_NEW_URL} - Indicates that the crawler is waiting for new URLs.</li>
     * </ul>
     */
    public interface IntervalController {
        /** Constant representing the pre-processing state. */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

                errorsField.setAccessible(true);
                Queue<String> errors = (Queue<String>) errorsField.get(null);
                errors.clear();
            } catch (Exception e) {
                // Ignore if field doesn't exist
            }
    
            // Add some errors to the queue
            Crawler.addError("Error 1");
            Crawler.addError("Error 2");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/IterablesTest.java

        private final Queue<T> queue;
    
        UnIterableQueue(Queue<T> queue) {
          this.queue = queue;
        }
    
        @Override
        public Iterator<T> iterator() {
          throw new UnsupportedOperationException();
        }
    
        @Override
        protected Queue<T> delegate() {
          return queue;
        }
      }
    
      public void testIndexOf_empty() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 46.6K bytes
    - Viewed (0)
  9. android/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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/impl/DefaultIntervalController.java

     * and when waiting for new URLs.
     * The delays are configurable via constructor parameters.
     *
     */
    public class DefaultIntervalController extends AbstractIntervalController {
    
        /** Delay in milliseconds after processing a URL */
        protected long delayMillisAfterProcessing = 0L;
    
        /** Delay in milliseconds when no URL is in the queue */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.4K bytes
    - Viewed (0)
Back to top