Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for ArrayDeque (0.08 sec)

  1. okhttp/src/main/kotlin/okhttp3/Dispatcher.kt

      private val readyAsyncCalls = ArrayDeque<AsyncCall>()
    
      /** Running asynchronous calls. Includes canceled calls that haven't finished yet. */
      private val runningAsyncCalls = ArrayDeque<AsyncCall>()
    
      /** Running synchronous calls. Includes canceled calls that haven't finished yet. */
      private val runningSyncCalls = ArrayDeque<RealCall>()
    
      constructor(executorService: ExecutorService?) : this() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Jun 20 14:10:53 UTC 2024
    - 9K bytes
    - Viewed (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingCookieJar.kt

     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.containsExactly
    import java.util.ArrayDeque
    import java.util.Deque
    
    class RecordingCookieJar : CookieJar {
      private val requestCookies: Deque<List<Cookie>> = ArrayDeque()
      private val responseCookies: Deque<List<Cookie>> = ArrayDeque()
    
      fun enqueueRequestCookies(vararg cookies: Cookie) {
        requestCookies.add(cookies.toList())
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Queues.java

        return new ArrayBlockingQueue<>(capacity);
      }
    
      // ArrayDeque
    
      /**
       * Creates an empty {@code ArrayDeque}.
       *
       * @since 12.0
       */
      public static <E> ArrayDeque<E> newArrayDeque() {
        return new ArrayDeque<>();
      }
    
      /**
       * Creates an {@code ArrayDeque} containing the elements of the specified iterable, in the order
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 26 14:11:14 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/TestsForQueuesInJavaUtil.java

                new TestStringQueueGenerator() {
                  @Override
                  public Queue<String> create(String[] elements) {
                    return new ArrayDeque<>(MinimalCollection.of(elements));
                  }
                })
            .named("ArrayDeque")
            .withFeatures(
                CollectionFeature.GENERAL_PURPOSE, CollectionFeature.KNOWN_ORDER, CollectionSize.ANY)
            .suppressing(suppressForArrayDeque())
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/TreeTraverser.java

          this.childIterator = checkNotNull(childIterator);
        }
      }
    
      private final class PostOrderIterator extends AbstractIterator<T> {
        private final ArrayDeque<PostOrderNode<T>> stack;
    
        PostOrderIterator(T root) {
          this.stack = new ArrayDeque<>();
          stack.addLast(expand(root));
        }
    
        @Override
        @CheckForNull
        protected T computeNext() {
          while (!stack.isEmpty()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Queues.java

        return new ArrayBlockingQueue<>(capacity);
      }
    
      // ArrayDeque
    
      /**
       * Creates an empty {@code ArrayDeque}.
       *
       * @since 12.0
       */
      public static <E> ArrayDeque<E> newArrayDeque() {
        return new ArrayDeque<>();
      }
    
      /**
       * Creates an {@code ArrayDeque} containing the elements of the specified iterable, in the order
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 26 14:11:14 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/SynchronizedQueueTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import java.util.ArrayDeque;
    import java.util.Collection;
    import java.util.Iterator;
    import java.util.Queue;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 19 20:50:58 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/tls/BasicCertificateChainCleaner.kt

     * limitations under the License.
     */
    package okhttp3.internal.tls
    
    import java.security.GeneralSecurityException
    import java.security.cert.Certificate
    import java.security.cert.X509Certificate
    import java.util.ArrayDeque
    import java.util.Deque
    import javax.net.ssl.SSLPeerUnverifiedException
    
    /**
     * A certificate chain cleaner that uses a set of trusted root certificates to build the trusted
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.lang.annotation.Annotation;
    import java.lang.reflect.AnnotatedElement;
    import java.lang.reflect.Method;
    import java.util.ArrayDeque;
    import java.util.ArrayList;
    import java.util.HashMap;
    import java.util.LinkedHashSet;
    import java.util.List;
    import java.util.Locale;
    import java.util.Map;
    import java.util.Queue;
    import java.util.Set;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 05 22:05:05 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/LineReader.java

    import com.google.common.annotations.J2ktIncompatible;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.io.IOException;
    import java.io.Reader;
    import java.nio.CharBuffer;
    import java.util.ArrayDeque;
    import java.util.Queue;
    import javax.annotation.CheckForNull;
    
    /**
     * A class for reading lines of text. Provides the same functionality as {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 3.1K bytes
    - Viewed (0)
Back to top