Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 78 for Run (0.02 sec)

  1. cmd/rebalstatus_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[rebalNone-0]
    	_ = x[rebalStarted-1]
    	_ = x[rebalCompleted-2]
    	_ = x[rebalStopped-3]
    	_ = x[rebalFailed-4]
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Oct 25 19:36:57 UTC 2022
    - 795 bytes
    - Viewed (0)
  2. cmd/server-main_test.go

    		{
    			config:      "testdata/config/invalid-types.yaml",
    			expectedErr: true,
    		},
    		{
    			config:      "testdata/config/invalid-disks.yaml",
    			expectedErr: true,
    		},
    	} {
    		testcase := testcase
    		t.Run(testcase.config, func(t *testing.T) {
    			sctx := &serverCtxt{}
    			err := mergeServerCtxtFromConfigFile(testcase.config, sctx)
    			if testcase.expectedErr && err == nil {
    				t.Error("expected failure, got success")
    			}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Dec 07 09:33:56 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  3. internal/config/config_test.go

    			keys:           []string{"connection_string", "comment"},
    			expectedFields: map[string]struct{}{},
    		},
    	}
    	for _, test := range tests {
    		test := test
    		t.Run("", func(t *testing.T) {
    			gotFields := kvFields(test.input, test.keys)
    			if len(gotFields) != len(test.expectedFields) {
    				t.Errorf("Expected keys %d, found %d", len(test.expectedFields), len(gotFields))
    			}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Aug 18 22:55:17 UTC 2022
    - 4.2K bytes
    - Viewed (0)
  4. internal/bucket/bandwidth/monitor_test.go

    			},
    			want: &BucketBandwidthReport{
    				BucketStats: test2Want,
    			},
    			want2: &BucketBandwidthReport{
    				BucketStats: test2Want2,
    			},
    		},
    	}
    	for _, tt := range tests {
    		tt := tt
    		t.Run(tt.name, func(t *testing.T) {
    			t.Parallel()
    			thr := bucketThrottle{
    				NodeBandwidthPerSec: 1024 * 1024,
    			}
    			th := make(map[BucketOptions]*bucketThrottle)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Sep 06 03:21:59 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  5. cmd/authtype_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[authTypeUnknown-0]
    	_ = x[authTypeAnonymous-1]
    	_ = x[authTypePresigned-2]
    	_ = x[authTypePresignedV2-3]
    	_ = x[authTypePostPolicy-4]
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat May 06 02:53:12 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  6. internal/disk/stat_windows.go

    		uintptr(unsafe.Pointer(&lpTotalNumberOfFreeBytes)))
    
    	if uint64(lpTotalNumberOfFreeBytes) > uint64(lpTotalNumberOfBytes) {
    		return info, fmt.Errorf("detected free space (%d) > total drive space (%d), fs corruption at (%s). please run 'fsck'",
    			uint64(lpTotalNumberOfFreeBytes), uint64(lpTotalNumberOfBytes), path)
    	}
    
    	info = Info{
    		Total:  uint64(lpTotalNumberOfBytes),
    		Free:   uint64(lpTotalNumberOfFreeBytes),
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. cmd/xl-storage_windows_test.go

    	}
    
    	// Create volume to use in conjunction with other StorageAPI's file API(s)
    	err = fs.MakeVol(context.Background(), "voldir")
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	for i, test := range testCases {
    		t.Run(fmt.Sprint(i), func(t *testing.T) {
    			err = fs.AppendFile(context.Background(), "voldir", test.objName, []byte("hello"))
    			if err != nil && test.pass {
    				t.Error(err)
    			} else if err == nil && !test.pass {
    				t.Error(err)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Nov 29 06:35:16 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  8. cmd/service.go

    	if runtime.GOOS == globalWindowsOSName {
    		cmd := exec.Command(os.Args[0], os.Args[1:]...)
    		cmd.Stdout = os.Stdout
    		cmd.Stderr = os.Stderr
    		cmd.Stdin = os.Stdin
    		cmd.Env = os.Environ()
    		err := cmd.Run()
    		if err == nil {
    			os.Exit(0)
    		}
    		return err
    	}
    
    	// Use the original binary location. This works with symlinks such that if
    	// the file it points to has been changed we will use the updated symlink.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Feb 28 07:02:14 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. internal/arn/arn_test.go

    				Service:      "",
    				Region:       "us-east-1",
    				ResourceType: "role",
    				ResourceID:   "my-role",
    			},
    			want: "arn:minio::us-east-1::role/my-role",
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.want, func(t *testing.T) {
    			if got := tt.arn.String(); got != tt.want {
    				t.Errorf("ARN.String() = %v, want %v", got, tt.want)
    			}
    		})
    	}
    }
    
    func TestNewIAMRoleARN(t *testing.T) {
    	type args struct {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 08:31:34 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  10. cmd/storagemetric_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[storageMetricMakeVolBulk-0]
    	_ = x[storageMetricMakeVol-1]
    	_ = x[storageMetricListVols-2]
    	_ = x[storageMetricStatVol-3]
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Dec 01 20:10:54 UTC 2022
    - 2K bytes
    - Viewed (0)
Back to top