Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 420 for queues (0.04 seconds)

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

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.NoSuchElementException;
    import java.util.Queue;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A queue which forwards all its method calls to another queue. Subclasses should override one or
     * more methods to modify the behavior of the backing queue as desired per the <a
     * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.9K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/TestsForQueuesInJavaUtil.java

        return QueueTestSuiteBuilder.using(
                new TestStringQueueGenerator() {
                  @Override
                  public Queue<String> create(String[] elements) {
                    Queue<String> queue = new LinkedList<>(MinimalCollection.of(elements));
                    return Collections.checkedQueue(queue, String.class);
                  }
                })
            .named("checkedQueue/LinkedList")
            .withFeatures(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Feb 12 16:28:01 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  3. samples/crawler/src/main/java/okhttp3/sample/Crawler.java

      private final BlockingQueue<HttpUrl> queue;
      private final ConcurrentHashMap<String, AtomicInteger> hostnames = new ConcurrentHashMap<>();
      private final int hostLimit;
    
      public Crawler(OkHttpClient client, int queueLimit, int hostLimit) {
        this.client = client;
        this.queue = new LinkedBlockingQueue<>(queueLimit);
        this.hostLimit = hostLimit;
      }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Jul 23 00:58:06 GMT 2025
    - 5K bytes
    - Click Count (0)
  4. cmd/peer-s3-client.go

    		// these could be stale buckets lying around, queue a heal
    		// of such a bucket. This is needed here as we identify such
    		// buckets here while listing buckets. As part of regular
    		// globalBucketMetadataSys.Init() call would get a valid
    		// buckets only and not the quourum lost ones like this, so
    		// explicit call
    		for bktName, count := range bucketsMap {
    			if count < quorum {
    				// Queue a bucket heal task
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/UrlQueueImpl.java

        /** The metadata associated with the URL queue. */
        protected String metaData;
    
        /** The encoding of the URL queue. */
        protected String encoding;
    
        /** The parent URL of the current URL in the queue. */
        protected String parentUrl;
    
        /** The depth of the URL in the queue. */
        protected Integer depth;
    
        /** The last modified timestamp of the URL in the queue. */
        protected Long lastModified;
    
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/MethodMetaData.java

        public MethodMetaData getOverriddenMethod() {
            LinkedList<ClassMetaData> queue = new LinkedList<ClassMetaData>();
            queue.add(ownerClass.getSuperClass());
            queue.addAll(ownerClass.getInterfaces());
    
            String overrideSignature = getOverrideSignature();
    
            while (!queue.isEmpty()) {
                ClassMetaData cl = queue.removeFirst();
                if (cl == null) {
                    continue;
                }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.9K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java

        ListenerCallQueue<Object> queue = new ListenerCallQueue<>();
        queue.addListener(listener, directExecutor());
    
        Multiset<Object> counters = ConcurrentHashMultiset.create();
        queue.enqueue(incrementingEvent(counters, listener, 1));
        queue.enqueue(THROWING_EVENT);
        queue.enqueue(incrementingEvent(counters, listener, 2));
        queue.enqueue(THROWING_EVENT);
        queue.enqueue(incrementingEvent(counters, listener, 3));
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Jul 11 18:52:30 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java

        ListenerCallQueue<Object> queue = new ListenerCallQueue<>();
        queue.addListener(listener, directExecutor());
    
        Multiset<Object> counters = ConcurrentHashMultiset.create();
        queue.enqueue(incrementingEvent(counters, listener, 1));
        queue.enqueue(THROWING_EVENT);
        queue.enqueue(incrementingEvent(counters, listener, 2));
        queue.enqueue(THROWING_EVENT);
        queue.enqueue(incrementingEvent(counters, listener, 3));
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Jul 11 18:52:30 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/core/crypto/CachedCipher.java

         */
        protected String charsetName = CoreLibConstants.UTF_8;
    
        /**
         * The queue of ciphers for encryption.
         */
        protected Queue<Cipher> encryptoQueue = new ConcurrentLinkedQueue<>();
    
        /**
         * The queue of ciphers for decryption.
         */
        protected Queue<Cipher> decryptoQueue = new ConcurrentLinkedQueue<>();
    
        /**
         * Encrypts the given data.
         *
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/AbstractQueueTester.java

    package com.google.common.collect.testing.testers;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.testing.AbstractCollectionTester;
    import java.util.Queue;
    import org.junit.Ignore;
    
    /**
     * Base class for queue collection tests.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 1.3K bytes
    - Click Count (0)
Back to Top