Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 130 for error_code (0.58 seconds)

  1. cmd/api-errors_test.go

    		}
    	}
    }
    
    // Check if an API error is properly defined
    func TestAPIErrCodeDefinition(t *testing.T) {
    	for errAPI := ErrNone + 1; errAPI < apiErrCodeEnd; errAPI++ {
    		errCode, ok := errorCodes[errAPI]
    		if !ok {
    			t.Fatal(errAPI, "error code is not defined in the API error code table")
    		}
    		if errCode.Code == "" {
    			t.Fatal(errAPI, "error code has an empty XML code")
    		}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  2. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

    import mockwebserver3.internal.toMockResponseBody
    import okhttp3.Headers
    import okhttp3.Headers.Companion.headersOf
    import okhttp3.WebSocketListener
    import okhttp3.internal.addHeaderLenient
    import okhttp3.internal.http2.ErrorCode
    import okhttp3.internal.http2.Settings
    import okio.Buffer
    
    /** A scripted response to be replayed by the mock web server. */
    public class MockResponse {
      /** Returns the HTTP response line, such as "HTTP/1.1 200 OK". */
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Jun 20 11:46:46 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  3. cmd/signature-v4_test.go

    	"net/url"
    	"os"
    	"testing"
    	"time"
    )
    
    func niceError(code APIErrorCode) string {
    	// Special-handle ErrNone
    	if code == ErrNone {
    		return "ErrNone"
    	}
    
    	return fmt.Sprintf("%s (%s)", errorCodes[code].Code, errorCodes[code].Description)
    }
    
    func TestDoesPolicySignatureMatch(t *testing.T) {
    	_, fsDir, err := prepareFS(t.Context())
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer removeRoots([]string{fsDir})
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java

            this.bufDataStart = 0;
            this.isPrimary = this.hasMore = true;
            this.parametersDone = this.dataDone = false;
        }
    
        @Override
        public boolean hasMoreElements() {
            return this.errorCode == 0 && this.hasMore;
        }
    
        @Override
        public SmbComTransactionResponse nextElement() {
            if (this.isPrimary) {
                this.isPrimary = false;
            }
            return this;
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  5. cmd/object-api-options.go

    		argumentName = strings.ToLower(xhttp.AmzPartNumberMarker)
    		valid = false
    		return opts, valid
    	}
    
    	opts.ObjectAttributes = parseObjectAttributes(r.Header)
    	if len(opts.ObjectAttributes) < 1 {
    		apiErr = errorCodes.ToAPIErr(ErrInvalidAttributeName)
    		argumentName = strings.ToLower(xhttp.AmzObjectAttributes)
    		valid = false
    		return opts, valid
    	}
    
    	for tag := range opts.ObjectAttributes {
    		switch tag {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  6. cmd/warm-backend-azure.go

    	if !ok {
    		// We don't interpret non Azure errors. As azure errors will
    		// have StatusCode to help to convert to object errors.
    		return err
    	}
    
    	serviceCode := azureErr.ErrorCode
    	statusCode := azureErr.StatusCode
    
    	return azureCodesToObjectError(err, serviceCode, statusCode, bucket, object)
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Oct 31 22:10:24 GMT 2024
    - 7K bytes
    - Click Count (0)
  7. cmd/auth-handler.go

    				// header, for all requests where Date header is not
    				// present we will reject such clients.
    				defer logger.AuditLog(r.Context(), w, r, mustGetClaimsFromToken(r))
    				writeErrorResponse(r.Context(), w, errorCodes.ToAPIErr(errCode), r.URL)
    				atomic.AddUint64(&globalHTTPStats.rejectedRequestsTime, 1)
    				return
    			}
    			// Verify if the request date header is shifted by less than globalMaxSkewTime parameter in the past
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  8. cmd/signature-v4-utils_test.go

    		t.Fatal(err)
    	}
    
    	_, owner, s3Err := checkKeyValid(req, globalActiveCred.AccessKey)
    	if s3Err != ErrNone {
    		t.Fatalf("Unexpected failure with %v", errorCodes.ToAPIErr(s3Err))
    	}
    
    	if !owner {
    		t.Fatalf("Expected owner to be 'true', found %t", owner)
    	}
    
    	_, _, s3Err = checkKeyValid(req, "does-not-exist")
    	if s3Err != ErrInvalidAccessKeyID {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  9. okhttp/src/androidMain/baseline-prof.txt

    HSPLokhttp3/internal/http/StatusLine;-><init>(Lokhttp3/Protocol;ILjava/lang/String;)V
    HSPLokhttp3/internal/http/StatusLine;->parse(Ljava/lang/String;)Lokhttp3/internal/http/StatusLine;
    HSPLokhttp3/internal/http2/ErrorCode;-><clinit>()V
    HSPLokhttp3/internal/http2/ErrorCode;-><init>(Ljava/lang/String;II)V
    HSPLokhttp3/internal/http2/Header;-><clinit>()V
    HSPLokhttp3/internal/http2/Header;-><init>(Ljava/lang/String;Ljava/lang/String;)V
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Dec 30 23:28:56 GMT 2024
    - 127.9K bytes
    - Click Count (1)
  10. api/go1.9.txt

    pkg go/types, method (*TypeName) IsAlias() bool
    pkg hash/fnv, func New128() hash.Hash
    pkg hash/fnv, func New128a() hash.Hash
    pkg html/template, const ErrPredefinedEscaper = 11
    pkg html/template, const ErrPredefinedEscaper ErrorCode
    pkg image/png, type Encoder struct, BufferPool EncoderBufferPool
    pkg image/png, type EncoderBuffer struct
    pkg image/png, type EncoderBufferPool interface { Get, Put }
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Oct 04 20:20:20 GMT 2021
    - 10.7K bytes
    - Click Count (0)
Back to Top