- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 107 for Duchess (0.14 sec)
-
internal/dsync/locker.go
type NetLocker interface { // Do read lock for given LockArgs. It should return // * a boolean to indicate success/failure of the operation // * an error on failure of lock request operation. RLock(ctx context.Context, args LockArgs) (bool, error) // Do write lock for given LockArgs. It should return // * a boolean to indicate success/failure of the operation // * an error on failure of lock request operation.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Jan 18 20:44:38 GMT 2022 - 2.7K bytes - Viewed (0) -
cmd/namespace-lock.go
lockSource := getSource(2) start := UTCNow() const readLock = false success := make([]int, len(li.paths)) for i, path := range li.paths { if !li.ns.lock(ctx, li.volume, path, lockSource, li.opsID, readLock, timeout.Timeout()) { timeout.LogFailure() for si, sint := range success { if sint == 1 { li.ns.unlock(li.volume, li.paths[si], readLock) } }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Jun 05 23:56:35 GMT 2023 - 9.2K bytes - Viewed (0) -
cmd/format-erasure_test.go
t.Fatal("Unexpected success") } formats[0] = nil quorumFormat, err = getFormatErasureInQuorum(formats) if err != nil { t.Fatal(err) } badFormat := *quorumFormat badFormat.Erasure.Sets = nil if err = formatErasureV3Check(quorumFormat, &badFormat); err == nil { t.Fatal("Unexpected success") } badFormatUUID := *quorumFormat
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Apr 15 08:25:46 GMT 2024 - 12.9K bytes - Viewed (0) -
cmd/batch-rotate.go
stopFn := globalBatchJobsMetrics.trace(batchJobMetricKeyRotation, job.ID, attempts) success := true if err := r.KeyRotate(ctx, api, result); err != nil { stopFn(result, err) batchLogIf(ctx, err) success = false } else { stopFn(result, nil) } ri.trackCurrentBucketObject(r.Bucket, result, success) ri.RetryAttempts = attempts globalBatchJobsMetrics.save(job.ID, ri)
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 14.2K bytes - Viewed (0) -
cmd/server-main_test.go
sctx := &serverCtxt{} err := mergeServerCtxtFromConfigFile(testcase.config, sctx) if testcase.expectedErr && err == nil { t.Error("expected failure, got success") } if !testcase.expectedErr && err != nil { t.Error("expected success, got failure", err) } if err == nil { if len(sctx.Layout.pools) != 2 { t.Error("expected parsed pools to be 2, not", len(sctx.Layout.pools)) }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Dec 07 09:33:56 GMT 2023 - 3.1K bytes - Viewed (0) -
internal/config/identity/openid/jwt_test.go
claims["exp"] = testCase.exp err := updateClaimsExpiry(testCase.dsecs, claims) if err != nil && !testCase.expectedFailure { t.Errorf("Expected success, got failure %s", err) } if err == nil && testCase.expectedFailure { t.Error("Expected failure, got success") } }) } } func initJWKSServer() *httptest.Server { server := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 8.3K bytes - Viewed (0) -
cmd/batch-expire.go
} else { stopFn(exp, err) success = true break } } ri.trackMultipleObjectVersions(r.Bucket, exp, success) if done { break } } if done { return } // DeleteMultiple objects
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 21K bytes - Viewed (1) -
cmd/erasure-utils.go
n, err := dst.Write(block) if err != nil { return 0, err } // Decrement output size. write -= int64(n) // Increment written. totalWritten += int64(n) } // Success. return totalWritten, nil } // returns deploymentID from uploadID func getDeplIDFromUpload(uploadID string) (string, error) { uploadBytes, err := base64.RawURLEncoding.DecodeString(uploadID) if err != nil {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Jan 31 02:11:45 GMT 2024 - 3.1K bytes - Viewed (0) -
cmd/erasure-server-pool-decom_test.go
update, err := testCase.meta.validate(testCase.pools) if testCase.expectedErr { t.Log(err) } if err != nil && !testCase.expectedErr { t.Errorf("Expected success, but found %s", err) } if err == nil && testCase.expectedErr { t.Error("Expected error, but got `nil`") } if update != testCase.expectedUpdate {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Jul 03 16:47:40 GMT 2023 - 4.8K bytes - Viewed (0) -
cmd/dynamic-timeouts_test.go
for i := 0; i < dynamicTimeoutLogSize; i++ { timeout.LogSuccess(successTimeout) } } adjusted := timeout.Timeout() // Check whether eventual timeout is between initial value and success timeout if initial <= adjusted || adjusted <= successTimeout { t.Errorf("Failure to decrease timeout appropriately") } } func TestDynamicTimeoutConcurrent(t *testing.T) { // Race test.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Oct 14 10:08:40 GMT 2022 - 5.4K bytes - Viewed (0)