Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 162 for optimized (0.32 sec)

  1. guava-tests/test/com/google/common/primitives/ShortArrayAsListTest.java

      private static List<Short> asList(Short[] values) {
        short[] temp = new short[values.length];
        for (short i = 0; i < values.length; i++) {
          temp[i] = checkNotNull(values[i]); // checkNotNull for GWT (do not optimize).
        }
        return Shorts.asList(temp);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // suite
      public static Test suite() {
        List<ListTestSuiteBuilder<Short>> builders =
            ImmutableList.of(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/DescendingImmutableSortedSet.java

          return index;
        } else {
          return size() - 1 - index;
        }
      }
    
      @Override
      boolean isPartialView() {
        return forward.isPartialView();
      }
    
      // redeclare to help optimizers with b/310253115
      @SuppressWarnings("RedundantOverride")
      @Override
      @J2ktIncompatible // serialization
      Object writeReplace() {
        return super.writeReplace();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/SingletonImmutableBiMap.java

          if (result == null) {
            return lazyInverse = new SingletonImmutableBiMap<>(singleValue, singleKey, this);
          } else {
            return result;
          }
        }
      }
    
      // redeclare to help optimizers with b/310253115
      @SuppressWarnings("RedundantOverride")
      @Override
      @J2ktIncompatible
      @GwtIncompatible
        Object writeReplace() {
        return super.writeReplace();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  4. docs/erasure/storage-class/README.md

    saving the object in specific number of data and parity drives.
    
    ## Storage usage
    
    The selection of varying data and parity drives has a direct impact on the drive space usage. With storage class, you can optimize for high
    redundancy or better drive space utilization.
    
    To get an idea of how various combinations of data and parity drives affect the storage usage, let’s take an example of a 100 MiB file stored
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/Booleans.java

        }
    
        Object[] boxedArray = collection.toArray();
        int len = boxedArray.length;
        boolean[] array = new boolean[len];
        for (int i = 0; i < len; i++) {
          // checkNotNull for GWT (do not optimize)
          array[i] = (Boolean) checkNotNull(boxedArray[i]);
        }
        return array;
      }
    
      /**
       * Returns a fixed-size list backed by the specified array, similar to {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/primitives/Booleans.java

        }
    
        Object[] boxedArray = collection.toArray();
        int len = boxedArray.length;
        boolean[] array = new boolean[len];
        for (int i = 0; i < len; i++) {
          // checkNotNull for GWT (do not optimize)
          array[i] = (Boolean) checkNotNull(boxedArray[i]);
        }
        return array;
      }
    
      /**
       * Returns a fixed-size list backed by the specified array, similar to {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/RegularImmutableBiMap.java

        return new RegularImmutableMap.KeySet<>(this, keyList);
      }
    
      @Override
      boolean isPartialView() {
        return false;
      }
    
      // redeclare to help optimizers with b/310253115
      @SuppressWarnings("RedundantOverride")
      @Override
      @J2ktIncompatible
      @GwtIncompatible
        Object writeReplace() {
        return super.writeReplace();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/RegularImmutableMultiset.java

        }
    
        @Override
        boolean isPartialView() {
          return true;
        }
    
        @Override
        public int size() {
          return contents.size();
        }
    
        // redeclare to help optimizers with b/310253115
        @SuppressWarnings("RedundantOverride")
        @Override
        @GwtIncompatible
        @J2ktIncompatible
            Object writeReplace() {
          return super.writeReplace();
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/RegularImmutableSortedMultiset.java

        }
      }
    
      @Override
      boolean isPartialView() {
        return offset > 0 || length < cumulativeCounts.length - 1;
      }
    
      // redeclare to help optimizers with b/310253115
      @SuppressWarnings("RedundantOverride")
      @Override
      @J2ktIncompatible // serialization
      Object writeReplace() {
        return super.writeReplace();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/CartesianList.java

            return axes.get(axis).get(axisIndex);
          }
    
          @Override
          boolean isPartialView() {
            return true;
          }
    
          // redeclare to help optimizers with b/310253115
          @SuppressWarnings("RedundantOverride")
          @J2ktIncompatible // serialization
          @Override
          @GwtIncompatible // serialization
          Object writeReplace() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 4.7K bytes
    - Viewed (0)
Back to top