Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for ConcurrentLinkedQueue (0.07 sec)

  1. android/guava-tests/test/com/google/common/eventbus/DispatcherTest.java

          ImmutableList.of(
              subscriber(bus, s1, "handleString", String.class),
              subscriber(bus, s2, "handleString", String.class));
    
      private final ConcurrentLinkedQueue<Object> dispatchedSubscribers = new ConcurrentLinkedQueue<>();
    
      private Dispatcher dispatcher;
    
      public void testPerThreadQueuedDispatcher() {
        dispatcher = Dispatcher.perThreadDispatchQueue();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Queues.java

        return deque;
      }
    
      // ConcurrentLinkedQueue
    
      /** Creates an empty {@code ConcurrentLinkedQueue}. */
      @J2ktIncompatible
      @GwtIncompatible // ConcurrentLinkedQueue
      public static <E> ConcurrentLinkedQueue<E> newConcurrentLinkedQueue() {
        return new ConcurrentLinkedQueue<>();
      }
    
      /**
       * Creates a {@code ConcurrentLinkedQueue} containing the elements of the specified iterable, in
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/TestingRemovalListeners.java

        return new CountingRemovalListener<>();
      }
    
      /** {@link RemovalListener} that adds all {@link RemovalNotification} objects to a queue. */
      @GwtIncompatible // ConcurrentLinkedQueue
      static class QueuingRemovalListener<K, V> extends ConcurrentLinkedQueue<RemovalNotification<K, V>>
          implements RemovalListener<K, V> {
    
        @Override
        public void onRemoval(RemovalNotification<K, V> notification) {
          add(notification);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/collection/CollectionsUtil.java

         * Creates and returns a new instance of {@link ConcurrentLinkedQueue}.
         *
         * @param <E> the element type of {@link ConcurrentLinkedQueue}
         * @return a new instance of {@link ConcurrentLinkedQueue}
         * @see ConcurrentLinkedQueue#ConcurrentLinkedQueue()
         */
        public static <E> ConcurrentLinkedQueue<E> newConcurrentLinkedQueue() {
            return new ConcurrentLinkedQueue<>();
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 49.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Queues.java

        return deque;
      }
    
      // ConcurrentLinkedQueue
    
      /** Creates an empty {@code ConcurrentLinkedQueue}. */
      @J2ktIncompatible
      @GwtIncompatible // ConcurrentLinkedQueue
      public static <E> ConcurrentLinkedQueue<E> newConcurrentLinkedQueue() {
        return new ConcurrentLinkedQueue<>();
      }
    
      /**
       * Creates a {@code ConcurrentLinkedQueue} containing the elements of the specified iterable, in
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/crypto/CachedCipher.java

        /**
         * 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.
         *
         * @param data
         *            the data to encrypt
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/eventbus/Dispatcher.java

        // probably provide a stronger order guarantee, though that order would obviously be different
        // in some cases.
    
        /** Global event queue. */
        private final ConcurrentLinkedQueue<EventWithSubscriber> queue = new ConcurrentLinkedQueue<>();
    
        @Override
        void dispatch(Object event, Iterator<Subscriber> subscribers) {
          checkNotNull(event);
          while (subscribers.hasNext()) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

        protected int userInfoCacheSize = 10000;
    
        /** Queue for storing search logs. */
        protected Queue<SearchLog> searchLogQueue = new ConcurrentLinkedQueue<>();
    
        /** Queue for storing click logs. */
        protected Queue<ClickLog> clickLogQueue = new ConcurrentLinkedQueue<>();
    
        /** Cache for storing user information. */
        protected LoadingCache<String, UserInfo> userInfoCache;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 26.3K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

     *  See the License for the specific language governing permissions and
     *  limitations under the License.
     */
    package okhttp3.internal.connection
    
    import java.net.Socket
    import java.util.concurrent.ConcurrentLinkedQueue
    import java.util.concurrent.ThreadLocalRandom
    import java.util.concurrent.TimeUnit
    import java.util.concurrent.atomic.AtomicReferenceFieldUpdater
    import okhttp3.Address
    import okhttp3.ConnectionPool
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jun 03 17:10:08 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/exec/Crawler.java

    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.Date;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    import java.util.Queue;
    import java.util.concurrent.ConcurrentLinkedQueue;
    import java.util.concurrent.atomic.AtomicBoolean;
    import java.util.stream.Collectors;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.CoreLibConstants;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 31K bytes
    - Viewed (0)
Back to top