Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for minimize (0.04 sec)

  1. guava/src/com/google/common/util/concurrent/Striped.java

     * represents the task. This maximizes concurrency by having each unique key mapped to a unique
     * lock, but also maximizes memory footprint. On the other extreme, one could use a single lock for
     * all tasks, which minimizes memory footprint but also minimizes concurrency. Instead of choosing
     * either of these extremes, {@code Striped} allows the user to trade between required concurrency
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableSet.java

      // The suppression also covers the cast to E[], discussed below.
      // In the backport, we don't have those cases and thus don't need this suppression.
      // We keep it to minimize diffs.
      @SuppressWarnings("unchecked")
      public static <E> ImmutableSet<E> copyOf(Collection<? extends E> elements) {
        /*
         * TODO(lowasser): consider checking for ImmutableAsList here
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Iterables.java

        // * The element with (index == from) should be kept.
        // * Everything with (index > from) has not been checked yet.
    
        // Check from the end of the list backwards (minimize expected cost of
        // moving elements when remove() is called). Stop before 'from' because
        // we already know that should be kept.
        for (int n = list.size() - 1; n > from; n--) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 43.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

         * ImmutableSortedSet#orderedBy}.
         */
        /*
         * TODO(cpovirk): use Object[] instead of E[] in the mainline? (The backport is different and
         * doesn't need this suppression, but we keep it to minimize diffs.) Generally be more clear
         * about when we have an Object[] vs. a Comparable[] or other array type in internalArray? If we
         * used Object[], we might be able to optimize toArray() to use clone() sometimes. (See
    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. android/guava/src/com/google/common/collect/Sets.java

         * SetView}.
         */
        abstract int minSize();
    
        /**
         * Returns the {@link #minSize()} of {@code set} if it is a {@link SetView}, or the exact {@link
         * #size()} of {@code set} otherwise.
         */
        static int minSize(Set<?> set) {
          return set instanceof SetView ? ((SetView<?>) set).minSize() : set.size();
        }
    
        /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 81.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ObjectCountLinkedHashMap.java

     * iteration order, and uses arrays to store key objects and count values. Comparing to using a
     * traditional {@code LinkedHashMap} implementation which stores keys and count values as map
     * entries, {@code ObjectCountLinkedHashMap} minimizes object allocation and reduces memory
     * footprint.
     */
    @GwtCompatible
    @NullMarked
    final class ObjectCountLinkedHashMap<K extends @Nullable Object> extends ObjectCountHashMap<K> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/SetViewTest.java

      }
    
      /**
       * Returns a {@link SetView} with a {@link SetView#minSize()} of {@code min} and a {@link
       * SetView#maxSize()} of {@code max}.
       */
      private static SetView<Integer> setSizeRange(int min, int max) {
        checkArgument(min >= 0 && max >= min);
        SetView<Integer> set = difference(setSize(max), setSize(max - min));
        checkState(set.minSize() == min && set.maxSize() == max);
        return set;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/hash/Hashing.java

      public static HashFunction fingerprint2011() {
        return Fingerprint2011.FINGERPRINT_2011;
      }
    
      /**
       * Assigns to {@code hashCode} a "bucket" in the range {@code [0, buckets)}, in a uniform manner
       * that minimizes the need for remapping as {@code buckets} grows. That is, {@code
       * consistentHash(h, n)} equals:
       *
       * <ul>
       *   <li>{@code n - 1}, with approximate probability {@code 1/n}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:06:57 UTC 2025
    - 31.1K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.33.md

    - Reduced log verbosity for high-frequency, low-value log entries in Job, IPAM, and ReplicaSet controllers by adjusting them to V(2), V(4) and V(4) respectively. This change minimizes log noise while maintaining access to these logs when needed. ([#130591](https://github.com/kubernetes/kubernetes/pull/130591), [@fmuyassarov](https://github.com/fmuyassarov)) [SIG Apps and Network]
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Wed Aug 13 19:46:23 UTC 2025
    - 294.3K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.32.md

    - kubeadm: removed the deprecated sub-phase of 'init kubelet-finilize' called `experimental-cert-rotation`, and use 'enable-client-cert-rotation' instead. ([#126913](https://github.com/kubernetes/kubernetes/pull/126913), [@pacoxu](https://github.com/pacoxu)) [SIG Cluster Lifecycle]
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Wed Aug 13 14:49:49 UTC 2025
    - 412.3K bytes
    - Viewed (0)
Back to top