Search Options

Results per page
Sort
Preferred Languages
Advance

Results 811 - 820 of 920 for Ensure (0.08 sec)

  1. cmd/global-heal.go

    	if !found {
    		return errors.New("no local healing sequence initialized, unable to heal the drive")
    	}
    
    	scanMode := madmin.HealNormalScan
    
    	// Make sure to copy since `buckets slice`
    	// is modified in place by tracker.
    	healBuckets := make([]string, len(buckets))
    	copy(healBuckets, buckets)
    
    	objAPI := newObjectLayerFn()
    	if objAPI == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  2. src/archive/zip/writer_test.go

    		{Name: "file.go", Data: []byte("hello"), Mode: 0644},
    		{Name: "subfolder/another.go", Data: []byte("world"), Mode: 0644},
    		// Notably missing here is the "subfolder" directory. This makes sure even
    		// if we don't have a subfolder directory listed.
    	}
    	err := w.AddFS(writeTestsToFS(tests))
    	if err != nil {
    		t.Fatal(err)
    	}
    	if err := w.Close(); err != nil {
    		t.Fatal(err)
    	}
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  3. internal/config/storageclass/storage-class.go

    // an erasure shard and written along with xl.meta on the drive, on a versioned
    // bucket this value is automatically chosen to 1/8th of the this value, make
    // sure to put this into consideration when choosing this value.
    func (sCfg *Config) InlineBlock() int64 {
    	ConfigLock.RLock()
    	defer ConfigLock.RUnlock()
    	if !sCfg.initialized {
    		return 128 * humanize.KiByte
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  4. android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

            generator.generateFresh(String.class));
      }
    
      public void testFreshCurrency() {
        FreshValueGenerator generator = new FreshValueGenerator();
        // repeat a few times to make sure we don't stumble upon a bad Locale
        assertNotNull(generator.generateFresh(Currency.class));
        assertNotNull(generator.generateFresh(Currency.class));
        assertNotNull(generator.generateFresh(Currency.class));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 17.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ContiguousSetTest.java

        ContiguousSet<Integer> regular = ContiguousSet.create(Range.closed(1, 3), integers());
        assertTrue(regular instanceof RegularContiguousSet);
        reserializeAndAssert(regular);
    
        /*
         * Make sure that we're using RegularContiguousSet.SerializedForm and not
         * ImmutableSet.SerializedForm, which would be enormous.
         */
        ContiguousSet<Integer> enormous = ContiguousSet.create(Range.<Integer>all(), integers());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 19K bytes
    - Viewed (0)
  6. guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

            generator.generateFresh(String.class));
      }
    
      public void testFreshCurrency() {
        FreshValueGenerator generator = new FreshValueGenerator();
        // repeat a few times to make sure we don't stumble upon a bad Locale
        assertNotNull(generator.generateFresh(Currency.class));
        assertNotNull(generator.generateFresh(Currency.class));
        assertNotNull(generator.generateFresh(Currency.class));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 18.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

    import junit.framework.AssertionFailedError;
    import junit.framework.TestCase;
    
    /**
     * Base class for JSR166 Junit TCK tests. Defines some constants, utility methods and classes, as
     * well as a simple framework for helping to make sure that assertions failing in generated threads
     * cause the associated test that generated them to itself fail (which JUnit does not otherwise
     * arrange). The rules for creating such tests are:
     *
     * <ol>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Multiset.java

      int add(@ParametricNullness E element, int occurrences);
    
      /**
       * Adds a single occurrence of the specified element to this multiset.
       *
       * <p>This method refines {@link Collection#add}, which only <i>ensures</i> the presence of the
       * element, to further specify that a successful call must always increment the count of the
       * element, and the overall size of the collection, by one.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 21K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/hash/HashingTest.java

            HashFunction hashFunction1b = (HashFunction) method.invoke(clazz);
    
            new EqualsTester().addEqualityGroup(hashFunction1a, hashFunction1b).testEquals();
    
            // Make sure we're returning not only equal instances, but constants.
            assertSame(hashFunction1a, hashFunction1b);
    
            assertEquals(hashFunction1a.toString(), hashFunction1b.toString());
          }
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 09 17:40:09 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/reflect/Types.java

       * {@link TypeVariableImpl#equals(Object)} is changed to no longer be equal to custom TypeVariable
       * implementations. As a result, we need to make sure our TypeVariable implementation respects
       * symmetry. Moreover, we don't want to reconstruct a native type variable {@code <A>} using our
       * implementation unless some of its bounds have changed in resolution. This avoids creating
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 23K bytes
    - Viewed (0)
Back to top