- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 139 for Run (0.02 sec)
-
cmd/background-heal-ops.go
return int(globalHTTPListen.Subscribers()) + int(globalTrace.Subscribers()) } func waitForLowIO(maxIO int, maxWait time.Duration, currentIO func() int) { // No need to wait run at full speed. if maxIO <= 0 { return } const waitTick = 100 * time.Millisecond tmpMaxWait := maxWait for currentIO() >= maxIO { if tmpMaxWait > 0 { if tmpMaxWait < waitTick {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 4.6K bytes - Viewed (0) -
cmd/xl-storage-disk-id-check.go
ctx, done, err := p.TrackDiskHealth(ctx, storageMetricMakeVolBulk, volumes...) if err != nil { return err } defer done(0, &err) w := xioutil.NewDeadlineWorker(globalDriveConfig.GetMaxTimeout()) return w.Run(func() error { return p.storage.MakeVolBulk(ctx, volumes...) }) } func (p *xlStorageDiskIDCheck) MakeVol(ctx context.Context, volume string) (err error) { ctx, done, err := p.TrackDiskHealth(ctx, storageMetricMakeVol, volume)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 33.4K bytes - Viewed (0) -
cmd/admin-handlers-users-race_test.go
} baseTestCases := []TestSuiteCommon{ // Init and run test on ErasureSD backend with signature v4. {serverType: "ErasureSD", signer: signerV4}, // Init and run test on ErasureSD backend, with tls enabled. {serverType: "ErasureSD", signer: signerV4, secure: true}, // Init and run test on Erasure backend. {serverType: "Erasure", signer: signerV4}, // Init and run test on ErasureSet backend.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 3.9K bytes - Viewed (0) -
cmd/object-api-multipart_test.go
{bucketNames[0], objectNames[0], uploadIDs[0], inputParts[4].parts, "", InvalidUploadID{UploadID: uploadIDs[0]}, false}, } for _, testCase := range testCases { testCase := testCase t.(*testing.T).Run("", func(t *testing.T) { opts = ObjectOptions{} actualResult, actualErr := obj.CompleteMultipartUpload(context.Background(), testCase.bucket, testCase.object, testCase.uploadID, testCase.parts, ObjectOptions{})
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Feb 22 06:26:06 UTC 2024 - 77.1K bytes - Viewed (0) -
cmd/peer-rest-common.go
peerRESTHost = "host" peerRESTJobID = "job-id" peerRESTDepID = "depID" peerRESTStartRebalance = "start-rebalance" peerRESTMetrics = "metrics" peerRESTDryRun = "dry-run" peerRESTURL = "url" peerRESTSha256Sum = "sha256sum" peerRESTReleaseInfo = "releaseinfo" peerRESTListenBucket = "bucket" peerRESTListenPrefix = "prefix" peerRESTListenSuffix = "suffix"
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon May 06 09:45:10 UTC 2024 - 2.8K bytes - Viewed (0) -
internal/disk/stat_bsd.go
Files: s.Files, Ffree: s.Ffree, FSType: getFSType(s.Fstypename[:]), } if info.Free > info.Total { return info, fmt.Errorf("detected free space (%d) > total drive space (%d), fs corruption at (%s). please run 'fsck'", info.Free, info.Total, path) } info.Used = info.Total - info.Free return info, nil } // GetDriveStats returns IO stats of the drive by its major:minor
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Feb 26 19:34:50 UTC 2024 - 1.7K bytes - Viewed (0) -
cmd/data-usage_test.go
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed Mar 27 15:10:40 UTC 2024 - 14.1K bytes - Viewed (0) -
internal/amztime/parse_test.go
}, { nil, time.Date(2009, time.November, 10, 23, 0, 0, 0, time.UTC), "Tue, 10 Nov 2009 23:00:00 UTC", }, } for _, testCase := range testCases { testCase := testCase t.Run(testCase.timeStr, func(t *testing.T) { gott, goterr := Parse(testCase.timeStr) if !errors.Is(goterr, testCase.expectedErr) { t.Errorf("expected %v, got %v", testCase.expectedErr, goterr) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed Sep 07 14:24:54 UTC 2022 - 1.6K bytes - Viewed (0) -
internal/event/target/nsq_test.go
{ name: "test4_emptynsqdaddr", fields: fields{ Enable: true, NSQDAddress: xnet.Host{}, Topic: "topic", }, wantErr: true, }, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { n := NSQArgs{ Enable: tt.fields.Enable, NSQDAddress: tt.fields.NSQDAddress, Topic: tt.fields.Topic, } if err := n.Validate(); (err != nil) != tt.wantErr {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 2.2K bytes - Viewed (0) -
internal/amztime/iso8601_time_test.go
{ date: time.Date(2009, time.November, 13, 4, 51, 1, 941303531, time.UTC), expectedOutput: "2009-11-13T04:51:01.941Z", }, } for _, testCase := range testCases { testCase := testCase t.Run(testCase.expectedOutput, func(t *testing.T) { gotOutput := ISO8601Format(testCase.date) t.Log("Go", testCase.date.Format(iso8601TimeFormat)) if gotOutput != testCase.expectedOutput {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Dec 12 18:28:30 UTC 2022 - 1.8K bytes - Viewed (0)