Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 305 for smaller (0.03 sec)

  1. guava/src/com/google/common/collect/Iterables.java

          Iterable<? extends Iterable<? extends T>> inputs) {
        return FluentIterable.concat(inputs);
      }
    
      /**
       * Divides an iterable into unmodifiable sublists of the given size (the final iterable may be
       * smaller). For example, partitioning an iterable containing {@code [a, b, c, d, e]} with a
       * partition size of 3 yields {@code [[a, b, c], [d, e]]} -- an outer iterable containing two
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 43.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/AbstractFutureState.java

      // Timed Get
      // There are a few design constraints to consider
      // * We want to be responsive to small timeouts, unpark() has non trivial latency overheads (I
      //   have observed 12 micros on 64-bit linux systems to wake up a parked thread). So if the
      //   timeout is small we shouldn't park(). This needs to be traded off with the cpu overhead of
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/Striped.java

     * @since 13.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public abstract class Striped<L> {
      /**
       * If there are at least this many stripes, we assume the memory usage of a ConcurrentMap will be
       * smaller than a large array. (This assumes that in the lazy case, most stripes are unused. As
       * always, if many stripes are in use, a non-lazy striped makes more sense.)
       */
      private static final int LARGE_LAZY_CUTOFF = 1024;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

       *
       * <p>The {@link SortedSet#subSet} documentation states that a subset of a subset throws an {@link
       * IllegalArgumentException} if passed a {@code fromElement} smaller than an earlier {@code
       * fromElement}. However, this method doesn't throw an exception in that situation, but instead
       * keeps the original {@code fromElement}. Similarly, this method keeps the original {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/hash/HashTestUtils.java

          return actions[random.nextInt(actions.length)];
        }
      }
    
      /**
       * Test that the hash function contains no funnels. A funnel is a situation where a set of input
       * (key) bits 'affects' a strictly smaller set of output bits. Funneling is bad because it can
       * result in more-than-ideal collisions for a non-uniformly distributed key space. In practice,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/CompactHashMap.java

        if (size < requireEntries().length) {
          resizeEntries(size);
        }
        int minimumTableSize = CompactHashing.tableSize(size);
        int mask = hashTableMask();
        if (minimumTableSize < mask) { // smaller table size will always be less than current mask
          resizeTable(mask, minimumTableSize, UNSET, UNSET);
        }
      }
    
      @Override
      public void clear() {
        if (needsAllocArrays()) {
          return;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

        } else {
          return new AsMap(map);
        }
      }
    
      @WeakOuter
      private class AsMap extends ViewCachingAbstractMap<K, Collection<V>> {
        /**
         * Usually the same as map, but smaller for the headMap(), tailMap(), or subMap() of a
         * SortedAsMap.
         */
        final transient Map<K, Collection<V>> submap;
    
        AsMap(Map<K, Collection<V>> submap) {
          this.submap = submap;
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Aug 12 15:51:57 UTC 2025
    - 48.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Iterators.java

          checkNotNull(input);
        }
        return concat(consumingForArray(inputs));
      }
    
      /**
       * Divides an iterator into unmodifiable sublists of the given size (the final list may be
       * smaller). For example, partitioning an iterator containing {@code [a, b, c, d, e]} with a
       * partition size of 3 yields {@code [[a, b, c], [d, e]]} -- an outer iterator containing two
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 50.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/BloomFilter.java

       * true} for an object that has not actually been put in the {@code BloomFilter}.
       *
       * <p>Ideally, this number should be close to the {@code fpp} parameter passed in {@linkplain
       * #create(Funnel, int, double)}, or smaller. If it is significantly higher, it is usually the
       * case that too many elements (more than expected) have been put in the {@code BloomFilter},
       * degenerating it.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Converter.java

       * documented as being for use with type parameters that have parametric nullness. But Converter's
       * type parameters do not. Still, we use it here so that we can suppress a warning at a smaller
       * level than the whole method but without performing a runtime null check. That way, we can still
       * pass null inputs to LegacyConverter, and it can violate the contract of Converter.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 18 21:43:06 UTC 2025
    - 22.8K bytes
    - Viewed (0)
Back to top