Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 611 - 620 of 623 for iterables (0.07 seconds)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

      public void testEmptyRangeSubMultisetSupportingAdd(SortedMultiset<E> multiset) {
        for (Entry<E> entry : asList(a, b, c)) {
          expectAddFailure(multiset, entry);
        }
      }
    
      private static int totalSize(Iterable<? extends Entry<?>> entries) {
        int sum = 0;
        for (Entry<?> entry : entries) {
          sum += entry.getCount();
        }
        return sum;
      }
    
      private enum SubMultisetSpec {
        TAIL_CLOSED {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 20:14:36 GMT 2024
    - 26K bytes
    - Click Count (0)
  2. 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;
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 26.1K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/TreeRangeSet.java

       * one {@code Range} in {@code ranges}.
       *
       * @since 21.0
       */
      public static <C extends Comparable<?>> TreeRangeSet<C> create(Iterable<Range<C>> ranges) {
        TreeRangeSet<C> result = create();
        result.addAll(ranges);
        return result;
      }
    
      private TreeRangeSet(NavigableMap<Cut<C>, Range<C>> rangesByLowerCut) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 32.3K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

       *
       * @param services The services to manage
       * @throws IllegalArgumentException if not all services are {@linkplain State#NEW new} or if there
       *     are any duplicate services.
       */
      public ServiceManager(Iterable<? extends Service> services) {
        ImmutableList<Service> copy = ImmutableList.copyOf(services);
        if (copy.isEmpty()) {
          // Having no services causes the manager to behave strangely. Notably, listeners are never
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 33.2K bytes
    - Click Count (1)
  5. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

      }
    
      // Bulk Operations
    
      /**
       * {@inheritDoc}
       *
       * <p>The returned collection is immutable.
       */
      @Override
      public Collection<V> replaceValues(@ParametricNullness K key, Iterable<? extends V> values) {
        Iterator<? extends V> iterator = values.iterator();
        if (!iterator.hasNext()) {
          return removeAll(key);
        }
    
        // TODO(lowasser): investigate atomic failure?
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 48.4K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

            }
            final Deque<ActivationFrame> stk = new LinkedList<>();
    
            final Supplier<String> pathSupplier = () -> {
                final boolean parallel = false;
                return StreamSupport.stream(((Iterable<ActivationFrame>) stk::descendingIterator).spliterator(), parallel)
                        .map(f -> f.location)
                        .collect(Collectors.joining("."));
            };
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 03 15:06:05 GMT 2025
    - 66.8K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

      }
    
      // Bulk Operations
    
      /**
       * {@inheritDoc}
       *
       * <p>The returned collection is immutable.
       */
      @Override
      public Collection<V> replaceValues(@ParametricNullness K key, Iterable<? extends V> values) {
        Iterator<? extends V> iterator = values.iterator();
        if (!iterator.hasNext()) {
          return removeAll(key);
        }
    
        // TODO(lowasser): investigate atomic failure?
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Aug 12 15:51:57 GMT 2025
    - 46.9K bytes
    - Click Count (0)
  8. okhttp/api/jvm/okhttp.api

    	public final fun get (Lokhttp3/TlsVersion;Lokhttp3/CipherSuite;Ljava/util/List;Ljava/util/List;)Lokhttp3/Handshake;
    }
    
    public final class okhttp3/Headers : java/lang/Iterable, kotlin/jvm/internal/markers/KMappedMarker {
    	public static final field Companion Lokhttp3/Headers$Companion;
    	public static final field EMPTY Lokhttp3/Headers;
    	public final fun -deprecated_size ()I
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 72.3K bytes
    - Click Count (0)
  9. okhttp/api/android/okhttp.api

    	public final fun get (Lokhttp3/TlsVersion;Lokhttp3/CipherSuite;Ljava/util/List;Ljava/util/List;)Lokhttp3/Handshake;
    }
    
    public final class okhttp3/Headers : java/lang/Iterable, kotlin/jvm/internal/markers/KMappedMarker {
    	public static final field Companion Lokhttp3/Headers$Companion;
    	public static final field EMPTY Lokhttp3/Headers;
    	public final fun -deprecated_size ()I
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 72.3K bytes
    - Click Count (0)
  10. fastapi/routing.py

                            _async_stream_jsonl()
                        )
                    else:
    
                        def _sync_stream_jsonl() -> Iterator[bytes]:
                            for item in gen:  # ty: ignore[not-iterable]
                                yield _serialize_item(item)
    
                        jsonl_stream_content = _sync_stream_jsonl()
    
                    response = StreamingResponse(
                        jsonl_stream_content,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 193K bytes
    - Click Count (0)
Back to Top