Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for expectedSize (0.13 sec)

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

       *     without resizing
       * @throws IllegalArgumentException if {@code expectedSize} is negative
       */
      @SuppressWarnings("NonApiType") // acts as a direct substitute for a constructor call
      public static <E extends @Nullable Object> HashSet<E> newHashSetWithExpectedSize(
          int expectedSize) {
        return new HashSet<>(Maps.capacity(expectedSize));
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableSortedMap.java

       */
      @DoNotCall("Use naturalOrder (which does not accept an expected size)")
      @Deprecated
      public static <K, V> ImmutableSortedMap.Builder<K, V> builderWithExpectedSize(int expectedSize) {
        throw new UnsupportedOperationException();
      }
    
      /**
       * Not supported. <b>You are attempting to create a map that may contain a non-{@code Comparable}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  3. cmd/xl-storage.go

    // checkPart is a light check of an existing and size of a part, without doing a bitrot operation
    // For any unexpected error, return checkPartUnknown (zero)
    func (s *xlStorage) checkPart(volumeDir, path, dataDir string, partNum int, expectedSize int64, skipAccessCheck bool) (resp int) {
    	partPath := pathJoin(path, dataDir, fmt.Sprintf("part.%d", partNum))
    	filePath := pathJoin(volumeDir, partPath)
    	st, err := Lstat(filePath)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

       */
      @DoNotCall("Use naturalOrder (which does not accept an expected size)")
      @Deprecated
      public static <K, V> ImmutableSortedMap.Builder<K, V> builderWithExpectedSize(int expectedSize) {
        throw new UnsupportedOperationException();
      }
    
      /**
       * Not supported. <b>You are attempting to create a map that may contain a non-{@code Comparable}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53K bytes
    - Viewed (0)
Back to top