- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 27 for metasize (0.18 sec)
-
cmd/xl-storage.go
defer func() { stopFn(res) }() doneSz := globalScannerMetrics.timeSize(scannerMetricReadMetadata) buf, err := s.readMetadata(ctx, item.Path) doneSz(len(buf)) res["metasize"] = strconv.Itoa(len(buf)) if err != nil { res["err"] = err.Error() return sizeSummary{}, errSkipFile } // Remove filename which is the meta file. item.transformMetaDir()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Oct 26 09:58:27 UTC 2024 - 91.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketWriter.kt
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java
private void testThreshold( int fileThreshold, int dataSize, boolean singleByte, boolean resetOnFinalize) throws IOException { byte[] data = newPreFilledByteArray(dataSize); FileBackedOutputStream out = new FileBackedOutputStream(fileThreshold, resetOnFinalize); ByteSource source = out.asByteSource(); int chunk1 = min(dataSize, fileThreshold); int chunk2 = dataSize - chunk1;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 5.5K bytes - Viewed (0) -
cmd/endpoint-ellipses.go
return nil, config.ErrInvalidNumberOfErasureEndpoints(nil).Msg(msg) } // Final set size with all the symmetry accounted for. setSize = commonSetDriveCount(commonSize, setCounts) } // Check whether setSize is with the supported range. if !isValidSetSize(setSize) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 14.7K bytes - Viewed (0) -
cmd/data-usage_test.go
{name: "dir1/dira/dbfile", size: 200000}, {name: "dir1/dira/dirasub/dcfile", size: 1000000}, {name: "dir1/dira/dirasub/sublevel3/dccccfile", size: 10}, } createUsageTestFiles(t, base, bucket, files) getSize := func(item scannerItem) (sizeS sizeSummary, err error) { if item.Typ&os.ModeDir == 0 { var s os.FileInfo s, err = os.Stat(item.Path) if err != nil { return } sizeS.totalSize = s.Size()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Oct 04 22:23:33 UTC 2024 - 14.7K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/ToStringHelperBenchmark.java
/** * Some microbenchmarks for the {@link MoreObjects.ToStringHelper} class. * * @author Osvaldo Doederlein */ public class ToStringHelperBenchmark { @Param({"0", "1", "5"}) int dataSize; @Param({"false", "true"}) boolean omitNulls; enum Dataset { SMALL { @Override void addEntries(MoreObjects.ToStringHelper helper) { helper .add(SHORT_NAME, 10)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jun 10 19:21:11 UTC 2024 - 4.3K bytes - Viewed (0) -
docs/debugging/reorder-disks/main.go
if err != nil { log.Fatal(err) } setSize := len(format.XL.Sets[0]) expectedDisksName := make(map[string]string) actualDisksName := make(map[string]string) // Calculate the set/disk index for _, disk := range localDisks { expectedDisksName[fmt.Sprintf("%d-%d", disk.index/setSize, disk.index%setSize)] = disk.path format, err := getFormatJSON(disk.path) if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 5.4K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/collect/MultipleSetContainsBenchmark.java
throw new SkipThisScenarioException(); } Random rng = new Random(); for (int i = 0; i < 0x1000; i++) { double setSize = rng.nextDouble(); if (setSize < emptySetProportion) { sets[i] = ImmutableSet.of(); } else if (setSize < emptySetProportion + singletonSetProportion) { sets[i] = ImmutableSet.of(PRESENT); } else { sets[i] = ImmutableSet.of(PRESENT, new Object());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 20:09:59 UTC 2024 - 2.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java
private void verifyTableSize(int inputSize, int setSize, int tableSize) { Builder<Integer> builder = ImmutableSet.builder(); for (int i = 0; i < inputSize; i++) { builder.add(i % setSize); } ImmutableSet<Integer> set = builder.build(); assertTrue(set instanceof RegularImmutableSet); assertEquals( "Input size " + inputSize + " and set size " + setSize, tableSize,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 13.7K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/base/ToStringHelperBenchmark.java
/** * Some microbenchmarks for the {@link MoreObjects.ToStringHelper} class. * * @author Osvaldo Doederlein */ public class ToStringHelperBenchmark { @Param({"0", "1", "5"}) int dataSize; @Param({"false", "true"}) boolean omitNulls; enum Dataset { SMALL { @Override void addEntries(MoreObjects.ToStringHelper helper) { helper .add(SHORT_NAME, 10)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jun 10 19:21:11 UTC 2024 - 4.3K bytes - Viewed (0)