Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,099 for iterated (0.14 sec)

  1. android/guava/src/com/google/common/collect/ImmutableMultiset.java

         */
        @CanIgnoreReturnValue
        @Override
        public Builder<E> addAll(Iterator<? extends E> elements) {
          super.addAll(elements);
          return this;
        }
    
        /**
         * If the specified collection is backed by an ObjectCountHashMap, it will be much more
         * efficient to iterate over it by index rather than an entry iterator, which will need to
         * allocate an object for each entry, so we check for that.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableMultiset.java

        } else {
          return RegularImmutableMultiset.create(entries);
        }
      }
    
      ImmutableMultiset() {}
    
      @Override
      public UnmodifiableIterator<E> iterator() {
        final Iterator<Entry<E>> entryIterator = entrySet().iterator();
        return new UnmodifiableIterator<E>() {
          int remaining;
          @CheckForNull E element;
    
          @Override
          public boolean hasNext() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 08 03:01:02 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/passes/lift_quantizable_spots_as_functions.cc

          signalPassFailure();
        }
      }
    
      // Remove all attr_map attributes.
      module_op.walk([](Operation* op) { op->removeAttr(kAttrMapAttribute); });
    
      // Perform selective quantization. Iterates over the quantization specs and
      // applies quantization methods to each matched lifted function.
      for (const QuantizationSpec& spec : quantization_specs_.specs()) {
        if (failed(ApplyQuantizationSpec(spec, module_op))) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Multimaps.java

          }
    
          int oldCount = values.size();
          if (occurrences >= oldCount) {
            values.clear();
          } else {
            Iterator<V> iterator = values.iterator();
            for (int i = 0; i < occurrences; i++) {
              iterator.next();
              iterator.remove();
            }
          }
          return oldCount;
        }
    
        @Override
        public void clear() {
          multimap.clear();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 86.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Multimaps.java

          }
    
          int oldCount = values.size();
          if (occurrences >= oldCount) {
            values.clear();
          } else {
            Iterator<V> iterator = values.iterator();
            for (int i = 0; i < occurrences; i++) {
              iterator.next();
              iterator.remove();
            }
          }
          return oldCount;
        }
    
        @Override
        public void clear() {
          multimap.clear();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 86.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableMap.java

       * convenient.
       *
       * <p>By default, a {@code Builder} will generate maps that iterate over entries in the order they
       * were inserted into the builder, equivalently to {@code LinkedHashMap}. For example, in the
       * above example, {@code WORD_TO_INT.entrySet()} is guaranteed to iterate over the entries in the
       * order {@code "one"=1, "two"=2, "three"=3}, and {@code keySet()} and {@code values()} respect
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Ordering.java

       * @throws ClassCastException if the parameters are not <i>mutually comparable</i> under this
       *     ordering.
       * @since 11.0
       */
      @ParametricNullness
      public <E extends T> E min(Iterator<E> iterator) {
        // let this throw NoSuchElementException as necessary
        E minSoFar = iterator.next();
    
        while (iterator.hasNext()) {
          minSoFar = this.<E>min(minSoFar, iterator.next());
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  8. maven-xml-impl/src/main/java/org/apache/maven/internal/xml/XmlNodeImpl.java

         *         'combine.children' == 'merge' as an attribute on the dominant root node.</li>
         *     </ol></li>
         *   <li> Iterate through the recessive children, and:
         *     <ol type="i">
         *     <li> if mergeChildren == true and there is a corresponding dominant child (matched by element name),
         *          merge the two.</li>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Apr 03 17:49:40 UTC 2024
    - 18K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableSortedSet.java

            size(), SPLITERATOR_CHARACTERISTICS | Spliterator.SIZED) {
          final UnmodifiableIterator<E> iterator = iterator();
    
          @Override
          public boolean tryAdvance(Consumer<? super E> action) {
            if (iterator.hasNext()) {
              action.accept(iterator.next());
              return true;
            } else {
              return false;
            }
          }
    
          @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 08 03:01:02 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/RangeMap.java

      /**
       * Returns a view of this range map as an unmodifiable {@code Map<Range<K>, V>}. Modifications to
       * this range map are guaranteed to read through to the returned {@code Map}.
       *
       * <p>The returned {@code Map} iterates over entries in ascending order of the bounds of the
       * {@code Range} entries.
       *
       * <p>It is guaranteed that no empty ranges will be in the returned {@code Map}.
       */
      Map<Range<K>, V> asMapOfRanges();
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top