Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 461 - 470 of 662 for hasTest (0.06 seconds)

  1. android/guava-tests/test/com/google/common/collect/MapsTest.java

        assertTrue(iter.hasNext());
        Entry<String, String> entry = iter.next();
        assertThat(entry.getKey()).isEqualTo("Hello");
        assertThat(entry.getValue()).isEqualTo("World");
        assertTrue(iter.hasNext());
    
        entry = iter.next();
        assertThat(entry.getKey()).isEqualTo("first");
        assertThat(entry.getValue()).isEqualTo("second");
        assertTrue(iter.hasNext());
    
        entry = iter.next();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 63.2K bytes
    - Click Count (0)
  2. ci/official/requirements_updater/README.md

    specific versions. This is necessary to ensure reproducibility of the build.
    The pinned versions of the full transitive closure of TensorFlow's dependencies
    together with their corresponding hashes are specified in
    `requirements_lock_<python version>.txt` files (e.g.
    `requirements_lock_3_12.txt` for `Python 3.12`).
    
    To update the lock files, make sure
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Jun 29 00:19:18 GMT 2024
    - 3K bytes
    - Click Count (0)
  3. android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

    import java.nio.ShortBuffer;
    import java.nio.charset.Charset;
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.Comparator;
    import java.util.Currency;
    import java.util.HashMap;
    import java.util.HashSet;
    import java.util.LinkedHashMap;
    import java.util.LinkedHashSet;
    import java.util.LinkedList;
    import java.util.List;
    import java.util.Locale;
    import java.util.Map;
    import java.util.Map.Entry;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  4. guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java

          Iterator<Map.Entry<E, Integer>> backingIterator = countMap.entrySet().iterator();
          return new Iterator<Entry<E>>() {
            @Override
            public boolean hasNext() {
              return backingIterator.hasNext();
            }
    
            @Override
            public Multiset.Entry<E> next() {
              Map.Entry<E, Integer> backingEntry = backingIterator.next();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/gcs/GcsClient.java

    import java.io.BufferedInputStream;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.InputStream;
    import java.nio.channels.Channels;
    import java.util.Date;
    import java.util.HashSet;
    import java.util.Map;
    import java.util.Set;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.io.CloseableUtil;
    import org.codelibs.core.io.CopyUtil;
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Dec 11 08:38:29 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/ImmutableSet.java

       */
      public static <E> ImmutableSet<E> copyOf(Iterator<? extends E> elements) {
        // We special-case for 0 or 1 elements, but anything further is madness.
        if (!elements.hasNext()) {
          return of();
        }
        E first = elements.next();
        if (!elements.hasNext()) {
          return of(first);
        } else {
          return new ImmutableSet.Builder<E>().add(first).addAll(elements).build();
        }
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Oct 11 14:54:00 GMT 2025
    - 22.4K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

        protected void pushUserProperties(C context) throws Exception {
            ProtoSession protoSession = context.protoSession;
            HashSet<String> sys = new HashSet<>(protoSession.getSystemProperties().keySet());
            if (context.pushedUserProperties == null) {
                context.pushedUserProperties = new HashSet<>();
                protoSession.getUserProperties().entrySet().stream()
                        .filter(k -> !sys.contains(k.getKey()))
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Oct 28 13:01:07 GMT 2025
    - 43.2K bytes
    - Click Count (0)
  8. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

        private int nextIndex;
    
        /**
         * nextItem holds on to item fields because once we claim that an element exists in hasNext(),
         * we must return it in the following next() call even if it was in the process of being removed
         * when hasNext() was called.
         */
        private @Nullable E nextItem;
    
        /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 22.4K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt

          private var nextUrl: String? = null
          private var canRemove = false
    
          override fun hasNext(): Boolean {
            if (nextUrl != null) return true
    
            canRemove = false // Prevent delegate.remove() on the wrong item!
            while (delegate.hasNext()) {
              try {
                delegate.next().use { snapshot ->
                  val metadata = snapshot.getSource(ENTRY_METADATA).buffer()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Mar 20 09:13:37 GMT 2026
    - 26.9K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RoutePlanner.kt

       *
       * @param failedConnection an optional connection that was resulted in a failure. If the failure
       *     is recoverable, the connection's route may be recovered for the retry.
       */
      fun hasNext(failedConnection: RealConnection? = null): Boolean
    
      /**
       * Returns true if the host and port are unchanged from when this was created. This is used to
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue May 27 14:58:02 GMT 2025
    - 4.2K bytes
    - Click Count (0)
Back to Top