- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 1,685 for dists (0.59 sec)
-
cmd/erasure-server-pool.go
} } // Special case: ask all disks if the drive count is 4 if set.setDriveCount == 4 || askDisks > len(disks) { askDisks = len(disks) // use all available drives } var fallbackDisks []StorageAPI if askDisks > 0 && len(disks) > askDisks { rand.Shuffle(len(disks), func(i, j int) { disks[i], disks[j] = disks[j], disks[i] }) fallbackDisks = disks[askDisks:]
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu May 30 11:58:12 UTC 2024 - 82.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ListsTest.java
assertEquals(89, Lists.computeArrayListCapacity(77)); assertEquals(22000005, Lists.computeArrayListCapacity(20000000)); assertEquals(Integer.MAX_VALUE, Lists.computeArrayListCapacity(Integer.MAX_VALUE - 1000)); } public void testNewArrayListFromCollection() { ArrayList<Integer> list = Lists.newArrayList(SOME_COLLECTION); assertEquals(SOME_COLLECTION, list); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Apr 17 16:33:44 UTC 2024 - 35.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ListsTest.java
assertEquals(89, Lists.computeArrayListCapacity(77)); assertEquals(22000005, Lists.computeArrayListCapacity(20000000)); assertEquals(Integer.MAX_VALUE, Lists.computeArrayListCapacity(Integer.MAX_VALUE - 1000)); } public void testNewArrayListFromCollection() { ArrayList<Integer> list = Lists.newArrayList(SOME_COLLECTION); assertEquals(SOME_COLLECTION, list); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Apr 17 16:33:44 UTC 2024 - 35.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java
try { multimap().putAll(k3(), Lists.newArrayList(v3(), null)); fail(); } catch (NullPointerException expected) { } Collection<V> values = multimap().get(k3()); if (values.size() == 0) { expectUnchanged(); // Be extra thorough in case internal state was corrupted by the expected null. assertEquals(Lists.newArrayList(), Lists.newArrayList(values));
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jan 09 20:10:38 UTC 2018 - 7.6K bytes - Viewed (0) -
cmd/erasure-metadata-utils.go
} // shuffleDisks - shuffle input disks slice depending on the // erasure distribution. Return shuffled slice of disks with // their expected distribution. func shuffleDisks(disks []StorageAPI, distribution []int) (shuffledDisks []StorageAPI) { if distribution == nil { return disks } shuffledDisks = make([]StorageAPI, len(disks)) // Shuffle disks for expected distribution. for index := range disks {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 11.7K bytes - Viewed (0) -
cmd/erasure.go
// upto GOMAXPROCS if GOMAXPROCS is < len(disks) maxProcs := runtime.GOMAXPROCS(0) if maxProcs < len(disks) { disks = disks[:maxProcs] } // Start one scanner per disk var wg sync.WaitGroup wg.Add(len(disks)) for i := range disks { go func(i int) { defer wg.Done() disk := disks[i] for bucket := range bucketCh { select {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 16K bytes - Viewed (0) -
cmd/metacache-set.go
// However many we ask, versions must exist on ~50% listingQuorum := (askDisks + 1) / 2 if askDisks > 0 && len(disks) > askDisks { rand.Shuffle(len(disks), func(i, j int) { disks[i], disks[j] = disks[j], disks[i] }) fallbackDisks = disks[askDisks:] disks = disks[:askDisks] } // How to resolve results. resolver := metadataResolutionParams{ dirQuorum: listingQuorum, objQuorum: listingQuorum,
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Jun 07 22:18:44 UTC 2024 - 30.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/eventbus/outside/AnnotatedNotAbstractInSuperclassTest.java
final List<Object> overriddenAndAnnotatedInSubclassEvents = Lists.newArrayList(); final List<Object> differentlyOverriddenNotAnnotatedInSubclassBadEvents = Lists.newArrayList(); final List<Object> differentlyOverriddenAnnotatedInSubclassBadEvents = Lists.newArrayList(); @Subscribe public void notOverriddenInSubclass(Object o) { notOverriddenInSubclassEvents.add(o); } @Subscribe
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 08 21:35:40 UTC 2022 - 4.1K bytes - Viewed (0) -
src/go/doc/comment/testdata/list8.txt
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:31:48 UTC 2022 - 335 bytes - Viewed (0) -
cmd/server-main_test.go
defer cancel() // Tests for ErasureSD object layer. nDisks := 1 disks, err := getRandomDisks(nDisks) if err != nil { t.Fatal("Failed to create drives for the backend") } defer removeRoots(disks) obj, err := newObjectLayer(ctx, mustGetPoolEndpoints(0, disks...)) if err != nil { t.Fatal("Unexpected object layer initialization error", err) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Dec 07 09:33:56 UTC 2023 - 3.1K bytes - Viewed (0)