Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 453 for Iterables (0.07 sec)

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

     * whitespace.
     *
     * Instances of this class are immutable. Use [Builder] to create instances.
     */
    @Suppress("NAME_SHADOWING")
    class Headers internal constructor(
      internal val namesAndValues: Array<String>,
    ) : Iterable<Pair<String, String>> {
      /** Returns the last value corresponding to the specified field, or null. */
      operator fun get(name: String): String? = commonHeadersGet(namesAndValues, name)
    
      /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  2. okhttp-android/src/main/baseline-prof.txt

    HSPLkotlin/collections/CollectionsKt__IteratorsJVMKt;->collectionSizeOrDefault(Ljava/lang/Iterable;I)I
    HSPLkotlin/collections/CollectionsKt__MutableCollectionsJVMKt;->sort(Ljava/util/List;)V
    HSPLkotlin/collections/CollectionsKt__ReversedViewsKt;->addAll(Ljava/util/Collection;Ljava/lang/Iterable;)Z
    HSPLkotlin/collections/CollectionsKt___CollectionsKt;->toList(Ljava/lang/Iterable;)Ljava/util/List;
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Mar 21 11:22:00 UTC 2022
    - 127.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableMap.java

       * entries in the same order as the original iterable.
       *
       * @throws NullPointerException if any key, value, or entry is null
       * @throws IllegalArgumentException if two entries have the same key
       * @since 19.0
       */
      public static <K, V> ImmutableMap<K, V> copyOf(
          Iterable<? extends Entry<? extends K, ? extends V>> entries) {
        int initialCapacity =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java

                .createTestSuite());
        suite.addTest(
            BiMapTestSuiteBuilder.using(new ImmutableBiMapCopyOfEntriesGenerator())
                .named("ImmutableBiMap.copyOf[Iterable<Entry>]")
                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.SERIALIZABLE,
                    CollectionFeature.KNOWN_ORDER,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

          }
        }
      }
    
      // utility methods
    
      private static Iterable<MapMaker> allWeakKeyStrengthMakers() {
        return ImmutableList.of(createMapMaker().weakKeys(), createMapMaker().weakKeys().weakValues());
      }
    
      private static Iterable<MapMaker> allWeakValueStrengthMakers() {
        return ImmutableList.of(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

          }
        }
      }
    
      // utility methods
    
      private static Iterable<MapMaker> allWeakKeyStrengthMakers() {
        return ImmutableList.of(createMapMaker().weakKeys(), createMapMaker().weakKeys().weakValues());
      }
    
      private static Iterable<MapMaker> allWeakValueStrengthMakers() {
        return ImmutableList.of(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

              .put(PeekingIterator.class, Iterators.peekingIterator(ImmutableSet.of().iterator()))
              .put(ListIterator.class, ImmutableList.of().listIterator())
              .put(Iterable.class, ImmutableSet.of())
              .put(Collection.class, ImmutableList.of())
              .put(ImmutableCollection.class, ImmutableList.of())
              .put(List.class, ImmutableList.of())
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

                .createTestSuite());
        suite.addTest(
            ListMultimapTestSuiteBuilder.using(new ImmutableListMultimapCopyOfEntriesGenerator())
                .named("ImmutableListMultimap.copyOf[Iterable<Entry>]")
                .withFeatures(ALLOWS_ANY_NULL_QUERIES, SERIALIZABLE, KNOWN_ORDER, CollectionSize.ANY)
                .createTestSuite());
        suite.addTestSuite(ImmutableListMultimapTest.class);
        return suite;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/cache/CacheStats.java

     *
     * <p>A lookup is specifically defined as an invocation of one of the methods {@link
     * LoadingCache#get(Object)}, {@link LoadingCache#getUnchecked(Object)}, {@link Cache#get(Object,
     * Callable)}, or {@link LoadingCache#getAll(Iterable)}.
     *
     * @author Charles Fry
     * @since 10.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class CacheStats {
      private final long hitCount;
      private final long missCount;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

        }
        assertMultimapRemainsUnmodified(multimap, originalEntries);
    
        // Test #putAll(K, Collection<V>)
        try {
          multimap.putAll(sampleKey, sampleValueAsCollection);
          fail("putAll(K, Iterable) succeeded on unmodifiable multimap");
        } catch (UnsupportedOperationException expected) {
        }
        assertMultimapRemainsUnmodified(multimap, originalEntries);
    
        // Test #putAll(Multimap<K, V>)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 14.8K bytes
    - Viewed (0)
Back to top