Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 139 for Run (0.04 sec)

  1. cmd/batch-job-common-types_test.go

    		},
    		{
    			//  2MiB > 1MiB -> in range
    			objSize: 2 << 20,
    			sizeFilter: BatchJobSizeFilter{
    				LowerBound: 1 << 20,
    			},
    			want: true,
    		},
    	}
    
    	for i, test := range tests {
    		t.Run(fmt.Sprintf("test-%d", i+1), func(t *testing.T) {
    			if got := test.sizeFilter.InRange(test.objSize); got != test.want {
    				t.Fatalf("Expected %v but got %v", test.want, got)
    			}
    		})
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jan 08 23:22:28 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. cmd/admin-handlers.go

    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrMethodNotAllowed), r.URL)
    		return
    	}
    
    	vars := mux.Vars(r)
    	updateURL := vars["updateURL"]
    	dryRun := r.Form.Get("dry-run") == "true"
    
    	mode := getMinioMode()
    	if updateURL == "" {
    		updateURL = minioReleaseInfoURL
    		if runtime.GOOS == globalWindowsOSName {
    			updateURL = minioReleaseWindowsInfoURL
    		}
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 98K bytes
    - Viewed (0)
  3. cmd/batchjobmetric_string.go

    package cmd
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[batchJobMetricReplication-0]
    	_ = x[batchJobMetricKeyRotation-1]
    	_ = x[batchJobMetricExpire-2]
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Dec 02 10:51:33 UTC 2023
    - 797 bytes
    - Viewed (0)
  4. cmd/healingmetric_string.go

    package cmd
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[healingMetricBucket-0]
    	_ = x[healingMetricObject-1]
    	_ = x[healingMetricCheckAbandonedParts-2]
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Nov 28 18:20:55 UTC 2022
    - 789 bytes
    - Viewed (0)
  5. internal/grid/grid_test.go

    		}
    		t.Log("client after", time.Since(clientEnd))
    	}
    	// local to remote, unbuffered
    	t.Run("unbuffered", func(t *testing.T) {
    		testHandler(t, handlerTest, false)
    	})
    	t.Run("buffered", func(t *testing.T) {
    		testHandler(t, handlerTest2, false)
    	})
    	t.Run("buffered", func(t *testing.T) {
    		testHandler(t, handlerTest2, true)
    	})
    }
    
    // testStreamDeadline will test if server
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  6. cmd/osmetric_string.go

    package cmd
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[osMetricRemoveAll-0]
    	_ = x[osMetricMkdirAll-1]
    	_ = x[osMetricMkdir-2]
    	_ = x[osMetricRename-3]
    	_ = x[osMetricOpenFileW-4]
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 15 01:09:38 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  7. internal/config/crypto_test.go

    				b.Fatal(err)
    			}
    			plaintext.Reset(data)
    		}
    	}
    	b.Run("1KB", func(b *testing.B) { benchmarkEncrypt(1*1024, b) })
    	b.Run("512KB", func(b *testing.B) { benchmarkEncrypt(512*1024, b) })
    	b.Run("1MB", func(b *testing.B) { benchmarkEncrypt(1024*1024, b) })
    	b.Run("10MB", func(b *testing.B) { benchmarkEncrypt(10*1024*1024, b) })
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. cmd/scannermetric_string.go

    package cmd
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[scannerMetricReadMetadata-0]
    	_ = x[scannerMetricCheckMissing-1]
    	_ = x[scannerMetricSaveUsage-2]
    	_ = x[scannerMetricApplyAll-3]
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Sep 25 05:15:31 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  9. internal/grid/msg_string.go

    package grid
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[OpConnect-1]
    	_ = x[OpConnectResponse-2]
    	_ = x[OpPing-3]
    	_ = x[OpPong-4]
    	_ = x[OpConnectMux-5]
    	_ = x[OpMuxConnectError-6]
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  10. cmd/benchmark-utils_test.go

    	}
    	// cleaning up the backend by removing all the directories and files created on function return.
    	defer removeRoots(disks)
    
    	// uses *testing.B and the object Layer to run the benchmark.
    	runPutObjectPartBenchmark(b, objLayer, objSize)
    }
    
    // creates Erasure/FS backend setup, obtains the object layer and calls the runPutObjectBenchmark function.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Dec 23 15:46:00 UTC 2022
    - 8.2K bytes
    - Viewed (0)
Back to top