Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for values (0.19 sec)

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

       *
       * @param values the values to use when constructing the {@code ImmutableListMultimap}
       * @param keyFunction the function used to produce the key for each value
       * @return {@code ImmutableListMultimap} mapping the result of evaluating the function {@code
       *     keyFunction} on each value in the input collection to that value
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

         * comparator (which might be the keys' natural order), are not allowed, and will cause {@link
         * #build} to fail.
         */
        @CanIgnoreReturnValue
        @Override
        public Builder<K, V> put(K key, V value) {
          ensureCapacity(size + 1);
          checkEntryNotNull(key, value);
          keys[size] = key;
          values[size] = value;
          size++;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  3. cmd/test-utils_test.go

    	return makeTestTargetURL(endPoint, bucketName, "", url.Values{})
    }
    
    // return URL for creating the bucket.
    func getBucketVersioningConfigURL(endPoint, bucketName string) string {
    	vals := make(url.Values)
    	vals.Set("versioning", "")
    	return makeTestTargetURL(endPoint, bucketName, "", vals)
    }
    
    // return URL for listing buckets.
    func getListBucketURL(endPoint string) string {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  4. cmd/bucket-handlers.go

    		name := part.FormName()
    		if name == "" {
    			continue
    		}
    
    		fileName = part.FileName()
    
    		// Multiple values for the same key (one map entry, longer slice) are cheaper
    		// than the same number of values for different keys (many map entries), but
    		// using a consistent per-value cost for overhead is simpler.
    		maxMemoryBytes := 2 * int64(10<<20)
    		maxMemoryBytes -= int64(len(name))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Sets.java

       * boolean) headSet()}) to actually construct the view. Consult these methods for a full
       * description of the returned view's behavior.
       *
       * <p><b>Warning:</b> {@code Range}s always represent a range of values using the values' natural
       * ordering. {@code NavigableSet} on the other hand can specify a custom ordering via a {@link
       * Comparator}, which can violate the natural ordering. Using this method (or in general using
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java

                }
            }
    
            return true;
        }
    
        private boolean hasExpression(String value) {
            return value != null && value.contains("${");
        }
    
        private boolean hasProjectExpression(String value) {
            return value != null && value.contains("${project.");
        }
    
        private boolean validateStringNotEmpty(
                String fieldName,
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 13:13:07 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

          super(5, MODIFIABLE, newArrayList(1, 2), IteratorTester.KnownOrder.KNOWN_ORDER);
        }
      }
    
      private static Iterator<Integer> iterateOver(int... values) {
        // Note: Ints.asList's iterator does not support remove which we need for testing.
        return new ArrayList<>(Ints.asList(values)).iterator();
      }
    
      public void testElementsEqual() {
        Iterable<?> a;
        Iterable<?> b;
    
        // Base case.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 56.5K bytes
    - Viewed (0)
  8. cmd/object-api-listobjects_test.go

    		// Testing for negative value of maxKey, this should set maxKeys to listObjectsLimit (19).
    		{"test-bucket-list-object", "", "", "", -1, resultCases[0], nil, true},
    		// Testing for very large value of maxKey, this should set maxKeys to listObjectsLimit (20).
    		{"test-bucket-list-object", "", "", "", 1234567890, resultCases[0], nil, true},
    		// Testing for trancated value (21-24).
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  9. cmd/xl-storage-format-v2.go

    //
    // It is callers responsibility to set correct versionID, this
    // function shouldn't be further extended to update immutable
    // values such as ErasureInfo, ChecksumInfo.
    //
    // Metadata is only updated to new values, existing values
    // stay as is, if you wish to update all values you should
    // update all metadata freshly before calling this function
    // in-case you wish to clear existing metadata.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
  10. android/guava/src/com/google/common/collect/Iterators.java

      }
    
      /**
       * Returns an iterator containing only {@code value}.
       *
       * <p>The {@link Iterable} equivalent of this method is {@link Collections#singleton}.
       */
      public static <T extends @Nullable Object> UnmodifiableIterator<T> singletonIterator(
          @ParametricNullness T value) {
        if (value != null) {
          return new SingletonIterator<>(value);
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
Back to top