Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 1,301 for emptify (0.09 sec)

  1. cmd/tier.go

    	d, err := config.getDriver(ctx, tier)
    	if err != nil {
    		return err
    	}
    	return checkWarmBackend(ctx, d)
    }
    
    // Empty returns if tier targets are empty
    func (config *TierConfigMgr) Empty() bool {
    	if config == nil {
    		return true
    	}
    	return len(config.ListTiers()) == 0
    }
    
    // TierType returns the type of tier
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:44:05 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/MinimalSet.java

      @SuppressWarnings("unchecked") // empty Object[] as E[]
      public static <E extends @Nullable Object> MinimalSet<E> of(E... contents) {
        return ofClassAndContents(Object.class, (E[]) new Object[0], asList(contents));
      }
    
      @SuppressWarnings("unchecked") // empty Object[] as E[]
      public static <E extends @Nullable Object> MinimalSet<E> from(Collection<? extends E> contents) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. tests/joins_test.go

    		t.Fatalf("joins NamedPet and Account should not empty:%v", user1)
    	}
    
    	// Account should empty
    	DB.Delete(&user1.Account)
    
    	var user2 User
    	DB.Model(&User{}).Joins("NamedPet").Joins("Account").First(&user2, user.ID)
    	if user2.NamedPet == nil || user2.Account.ID != 0 {
    		t.Fatalf("joins Account should not empty:%v", user2)
    	}
    
    	// NamedPet should empty
    	DB.Delete(&user1.NamedPet)
    
    	var user3 User
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 17 03:58:13 UTC 2024
    - 15K bytes
    - Viewed (0)
  4. guava/src/com/google/common/math/Stats.java

       *
       * <p>If you only want to calculate the mean, use {@link #meanOf} instead of creating a {@link
       * Stats} instance.
       *
       * @throws IllegalStateException if the dataset is empty
       */
      public double mean() {
        checkState(count != 0);
        return mean;
      }
    
      /**
       * Returns the sum of the values.
       *
       * <h3>Non-finite values</h3>
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/MoreCollectorsTest.java

     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class MoreCollectorsTest extends TestCase {
      public void testToOptionalEmpty() {
        assertThat(Stream.empty().collect(toOptional())).isEmpty();
      }
    
      public void testToOptionalSingleton() {
        assertThat(Stream.of(1).collect(toOptional())).hasValue(1);
      }
    
      public void testToOptionalNull() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. compat/maven-builder-support/src/main/java/org/apache/maven/building/StringSource.java

         *
         * @param content The String representation, may be empty or {@code null}.
         */
        public StringSource(CharSequence content) {
            this(content, null);
        }
    
        /**
         * Creates a new source backed by the specified string.
         *
         * @param content The String representation, may be empty or {@code null}.
         * @param location The location to report for this use, may be {@code null}.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. internal/bucket/lifecycle/filter.go

    		predCount++
    	}
    	if f.ObjectSizeLessThan != 0 {
    		pType = sizeLtPred
    		predCount++
    	}
    	// Note: S3 supports empty <Filter></Filter>, so predCount == 0 is
    	// valid.
    	if predCount > 1 {
    		return errInvalidFilter
    	}
    
    	var err error
    	switch pType {
    	case nonePred:
    	// S3 supports empty <Filter></Filter>
    	case prefixPred:
    	case andPred:
    		err = f.And.Validate()
    	case tagPred:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 04 17:01:26 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Collections2.java

       * permutation, instead of two. This is why the elements have to implement {@link Comparable}.
       *
       * <p>An empty iterable has only one permutation, which is an empty list.
       *
       * <p>This method is equivalent to {@code Collections2.orderedPermutations(list,
       * Ordering.natural())}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

    @Immutable
    @ElementTypesAreNonnullByDefault
    public final class ImmutableDoubleArray implements Serializable {
      private static final ImmutableDoubleArray EMPTY = new ImmutableDoubleArray(new double[0]);
    
      /** Returns the empty array. */
      public static ImmutableDoubleArray of() {
        return EMPTY;
      }
    
      /** Returns an immutable array containing a single value. */
      public static ImmutableDoubleArray of(double e0) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 23K bytes
    - Viewed (0)
  10. cmd/handler-utils_test.go

    				"x-amz-meta-key": []string{"amz-meta1", "amz-meta2"},
    			},
    			metadata: map[string]string{
    				"x-amz-meta-key": "amz-meta1,amz-meta2",
    			},
    			shouldFail: false,
    		},
    		// Empty header input returns empty metadata.
    		{
    			header:     nil,
    			metadata:   nil,
    			shouldFail: true,
    		},
    	}
    
    	// Validate if the extracting headers.
    	for i, testCase := range testCases {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top