Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for dataSize (0.06 sec)

  1. 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)
  2. 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)
  3. 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)
  4. cmd/erasure-healing_test.go

    			t.Fatalf("Unexpected drive state (%d): %v", i+1, h.State)
    		}
    	}
    }
    
    func TestHealLastDataShard(t *testing.T) {
    	tests := []struct {
    		name     string
    		dataSize int64
    	}{
    		{"4KiB", 4 * humanize.KiByte},
    		{"64KiB", 64 * humanize.KiByte},
    		{"128KiB", 128 * humanize.KiByte},
    		{"1MiB", 1 * humanize.MiByte},
    		{"5MiB", 5 * humanize.MiByte},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  5. buildscripts/verify-build.sh

    export GOGC=25
    export ENABLE_ADMIN=1
    export MINIO_CI_CD=1
    
    MINIO_CONFIG_DIR="$WORK_DIR/.minio"
    MINIO=("$PWD/minio" --config-dir "$MINIO_CONFIG_DIR")
    
    FILE_1_MB="$MINT_DATA_DIR/datafile-1-MB"
    FILE_65_MB="$MINT_DATA_DIR/datafile-65-MB"
    
    FUNCTIONAL_TESTS="$WORK_DIR/functional-tests.sh"
    
    function start_minio_fs() {
    	export MINIO_ROOT_USER=$ACCESS_KEY
    	export MINIO_ROOT_PASSWORD=$SECRET_KEY
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 19:28:51 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  6. docs/debugging/xl-meta/main.go

    						filemap[file][verID+".json"] = buf.String()
    						for _, i := range ei.V2Obj.PartNums {
    							if len(ei.V2Obj.MetaSys.Inline) != 0 {
    								break
    							}
    							file := file
    							dataFile := fmt.Sprintf("%s%s/part.%d", strings.TrimSuffix(file, "xl.meta"), uuid.UUID(ei.V2Obj.DDir).String(), i)
    							if i > 1 {
    								file = fmt.Sprintf("%s/part.%d", file, i)
    								filemap[file] = make(map[string]string)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 05 11:57:44 UTC 2024
    - 40.3K bytes
    - Viewed (0)
Back to top