- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 1,231 for onerror (0.28 sec)
-
cmd/admin-heal-ops.go
errHealStopSignalled = errors.New("heal stop signaled") errFnHealFromAPIErr = func(ctx context.Context, err error) error { apiErr := toAdminAPIErr(ctx, err) return fmt.Errorf("Heal internal error: %s: %s", apiErr.Code, apiErr.Description) } ) // healSequenceStatus - accumulated status of the heal sequence type healSequenceStatus struct {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 25.4K bytes - Viewed (0) -
cmd/api-errors.go
HTTPStatusCode: http.StatusBadRequest, } case replication.Error: apiErr = APIError{ Code: "MalformedXML", Description: e.Error(), HTTPStatusCode: http.StatusBadRequest, } case tags.Error: apiErr = APIError{ Code: e.Code(), Description: e.Error(), HTTPStatusCode: http.StatusBadRequest, } case policy.Error:
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Apr 16 07:34:24 UTC 2025 - 93K bytes - Viewed (1) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java
assertEquals(0, bytesWritten, "Failed at iteration " + i); } } } @Nested @DisplayName("Error handling tests") class ErrorHandlingTests { @Test @DisplayName("Should provide clear error message for invalid structure size") void testClearErrorMessage() { // Given byte[] buffer = new byte[10];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
cmd/auth-handler.go
} // Verify if request has valid AWS Signature Version '2'. func isReqAuthenticatedV2(r *http.Request) (s3Error APIErrorCode) { if isRequestSignatureV2(r) { return doesSignV2Match(r) } return doesPresignV2SignatureMatch(r) } func reqSignatureV4Verify(r *http.Request, region string, stype serviceType) (s3Error APIErrorCode) { sha256sum := getContentSha256Cksum(r, stype) switch { case isRequestSignatureV4(r):
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 25.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/NotifyResponseTest.java
public boolean isVerifyFailed() { return this.verifyFailed; } @Override public boolean isError() { return this.error; } @Override public void error() { this.error = true; } // Setter methods for testing public void setGrantedCredits(int grantedCredits) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/RequestTest.java
@Override public boolean isVerifyFailed() { return false; } @Override public boolean isError() { return errorCode != 0; } @Override public void error() { this.errorCode = -1; } @Override public Long getExpiration() { return expiration; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/WinErrorTest.java
assertThrows(ArrayIndexOutOfBoundsException.class, () -> { int dummy = WinError.WINERR_CODES[WinError.WINERR_CODES.length]; }); } } @Test @DisplayName("Mockito mock of WinError") void mockInterfaceNoOps() { WinError mock = Mockito.mock(WinError.class); assertNotNull(mock);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.7K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt
val reason = when (value) { in 100..199 -> "Informational" in 200..299 -> "OK" in 300..399 -> "Redirection" in 400..499 -> "Client Error" in 500..599 -> "Server Error" else -> "Mock Response" } status = "HTTP/1.1 $value $reason" } private var headers_: Headers.Builder public val headers: Headers
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 17.8K bytes - Viewed (0) -
cmd/bucket-versioning-handler.go
if objectAPI == nil { writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrServerNotInitialized), r.URL) return } if s3Error := checkRequestAuthType(ctx, r, policy.PutBucketVersioningAction, bucket, ""); s3Error != ErrNone { writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL) return } v, err := versioning.ParseConfig(io.LimitReader(r.Body, maxBucketVersioningConfigSize)) if err != nil {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 5K bytes - Viewed (0) -
cmd/listen-notification-handlers.go
bucketName := vars["bucket"] if bucketName == "" { if s3Error := checkRequestAuthType(ctx, r, policy.ListenNotificationAction, bucketName, ""); s3Error != ErrNone { writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL) return } } else { if s3Error := checkRequestAuthType(ctx, r, policy.ListenBucketNotificationAction, bucketName, ""); s3Error != ErrNone { writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 6K bytes - Viewed (0)