- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 731 for dists (0.04 sec)
-
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 Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Dec 07 09:33:56 UTC 2023 - 3.1K bytes - Viewed (0) -
cmd/admin-server-info.go
objLayer := newObjectLayerFn() if objLayer != nil { storageInfo := objLayer.LocalStorageInfo(GlobalContext, metrics) props.State = string(madmin.ItemOnline) props.Disks = storageInfo.Disks } else { props.State = string(madmin.ItemInitializing) props.Disks = getOfflineDisks("", globalEndpoints) } return props
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 4.9K bytes - Viewed (1) -
cmd/erasure-object.go
} func readAllRawFileInfo(ctx context.Context, disks []StorageAPI, bucket, object string, readData bool) ([]RawFileInfo, []error) { rawFileInfos := make([]RawFileInfo, len(disks)) g := errgroup.WithNErrs(len(disks)) for index := range disks { index := index g.Go(func() (err error) { if disks[index] == nil { return errDiskNotFound } rf, err := disks[index].ReadXL(ctx, bucket, object, readData)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 31 22:10:24 UTC 2024 - 78.8K bytes - Viewed (0) -
cmd/erasure-decode_test.go
if err != nil { b.Fatalf("failed to create test setup: %v", err) } disks := setup.disks erasure, err := NewErasure(context.Background(), data, parity, blockSizeV2) if err != nil { b.Fatalf("failed to create ErasureStorage: %v", err) } writers := make([]io.Writer, len(disks)) for i, disk := range disks { if disk == nil { continue }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jan 30 20:43:25 UTC 2024 - 21.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ListsTest.java
import static com.google.common.collect.Lists.cartesianProduct; import static com.google.common.collect.Lists.charactersOf; import static com.google.common.collect.Lists.computeArrayListCapacity; import static com.google.common.collect.Lists.newArrayListWithExpectedSize; import static com.google.common.collect.Lists.partition; import static com.google.common.collect.Lists.transform;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 35K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ListsTest.java
import static com.google.common.collect.Lists.cartesianProduct; import static com.google.common.collect.Lists.charactersOf; import static com.google.common.collect.Lists.computeArrayListCapacity; import static com.google.common.collect.Lists.newArrayListWithExpectedSize; import static com.google.common.collect.Lists.partition; import static com.google.common.collect.Lists.transform;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 35K 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: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 08 21:35:40 UTC 2022 - 4.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/FluentIterableTest.java
assertEquals( Lists.newArrayList("c", "d", "e"), Lists.newArrayList(FluentIterable.from(set).skip(2))); assertEquals("[c, d, e]", FluentIterable.from(set).skip(2).toString()); } public void testSkip_simpleList() { Collection<String> list = Lists.newArrayList("a", "b", "c", "d", "e"); assertEquals( Lists.newArrayList("c", "d", "e"), Lists.newArrayList(FluentIterable.from(list).skip(2)));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 30.4K bytes - Viewed (0) -
cmd/erasure-encode_test.go
if err != nil { b.Fatalf("failed to create ErasureStorage: %v", err) } disks := setup.disks buffer := make([]byte, blockSizeV2, 2*blockSizeV2) content := make([]byte, size) for i := 0; i < dataDown; i++ { disks[i] = OfflineDisk } for i := data; i < data+parityDown; i++ { disks[i] = OfflineDisk } b.ResetTimer() b.SetBytes(size) b.ReportAllocs()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jan 30 20:43:25 UTC 2024 - 11.9K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/ImmutableListCreationBenchmark.java
} return dummy; } @Benchmark int copyArrayList(int reps) { int size = this.size; int dummy = 0; for (int rep = 0; rep < reps; rep++) { List<Object> builder = Lists.newArrayList(); for (int i = 0; i < size; i++) { builder.add(OBJECT); } dummy += ImmutableList.copyOf(builder).size(); } return dummy; } @Benchmark
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 2.3K bytes - Viewed (0)