Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for LinkedBlockingQueue (0.15 sec)

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

        Iterables.addAll(deque, elements);
        return deque;
      }
    
      // LinkedBlockingQueue
    
      /** Creates an empty {@code LinkedBlockingQueue} with a capacity of {@link Integer#MAX_VALUE}. */
      @J2ktIncompatible
      @GwtIncompatible // LinkedBlockingQueue
      public static <E> LinkedBlockingQueue<E> newLinkedBlockingQueue() {
        return new LinkedBlockingQueue<>();
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/internal/duplex/AsyncRequestBody.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.duplex
    
    import java.util.concurrent.BlockingQueue
    import java.util.concurrent.LinkedBlockingQueue
    import java.util.concurrent.TimeUnit.SECONDS
    import okhttp3.MediaType
    import okhttp3.RequestBody
    import okio.BufferedSink
    import org.junit.jupiter.api.Assertions.assertTrue
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

    import java.io.File;
    import java.io.IOException;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    import java.util.concurrent.LinkedBlockingQueue;
    
    import org.codelibs.core.misc.Tuple3;
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.exception.FessSystemException;
    import org.codelibs.fess.helper.SystemHelper;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/collection/CollectionsUtil.java

        /**
         * Creates and returns a new instance of {@link LinkedBlockingQueue}.
         *
         * @param <E> the element type of {@link LinkedBlockingQueue}
         * @return a new instance of {@link LinkedBlockingQueue}
         * @see LinkedBlockingQueue#LinkedBlockingQueue()
         */
        public static <E> LinkedBlockingQueue<E> newLinkedBlockingQueue() {
            return new LinkedBlockingQueue<>();
        }
    
        /**
    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. okhttp/src/jvmTest/kotlin/okhttp3/TestLogHandler.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import java.util.concurrent.LinkedBlockingQueue
    import java.util.concurrent.TimeUnit
    import java.util.logging.Handler
    import java.util.logging.Level
    import java.util.logging.LogRecord
    import java.util.logging.Logger
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/TestsForQueuesInJavaUtil.java

                new TestStringQueueGenerator() {
                  @Override
                  public Queue<String> create(String[] elements) {
                    return new LinkedBlockingQueue<>(MinimalCollection.of(elements));
                  }
                })
            .named("LinkedBlockingQueue")
            .withFeatures(
                CollectionFeature.GENERAL_PURPOSE, CollectionFeature.KNOWN_ORDER, CollectionSize.ANY)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 16:28:01 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Queues.java

        Iterables.addAll(deque, elements);
        return deque;
      }
    
      // LinkedBlockingQueue
    
      /** Creates an empty {@code LinkedBlockingQueue} with a capacity of {@link Integer#MAX_VALUE}. */
      @J2ktIncompatible
      @GwtIncompatible // LinkedBlockingQueue
      public static <E> LinkedBlockingQueue<E> newLinkedBlockingQueue() {
        return new LinkedBlockingQueue<>();
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/timer/TimeoutManager.java

     */
    package org.codelibs.core.timer;
    
    import java.util.ArrayList;
    import java.util.List;
    import java.util.concurrent.ExecutorService;
    import java.util.concurrent.LinkedBlockingQueue;
    import java.util.concurrent.ThreadPoolExecutor;
    import java.util.concurrent.TimeUnit;
    
    import org.codelibs.core.collection.SLinkedList;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.core.log.Logger;
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/internal/duplex/MockSocketHandler.kt

     * [receiveRequest] in the sequence they are run.
     */
    class MockSocketHandler : SocketHandler {
      private val actions = LinkedBlockingQueue<Action>()
      private val results = LinkedBlockingQueue<FutureTask<Void>>()
    
      fun receiveRequest(expected: String) =
        apply {
          actions += { stream ->
            val actual = stream.source.readUtf8(expected.utf8Size())
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketRecorder.kt

    import java.io.IOException
    import java.util.concurrent.LinkedBlockingQueue
    import java.util.concurrent.TimeUnit
    import okhttp3.Response
    import okhttp3.WebSocket
    import okhttp3.WebSocketListener
    import okhttp3.internal.platform.Platform
    import okio.ByteString
    
    class WebSocketRecorder(
      private val name: String,
    ) : WebSocketListener() {
      private val events = LinkedBlockingQueue<Any>()
      private var delegate: WebSocketListener? = null
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6.8K bytes
    - Viewed (0)
Back to top