Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 106 for error_code (0.07 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbComTransactionResponse.java

        void reset() {
            super.reset();
            bufDataStart = 0;
            isPrimary = hasMore = true; 
            parametersDone = dataDone = false;
        }
        public boolean hasMoreElements() {
            return errorCode == 0 && hasMore;
        }
        public Object nextElement() {
            if( isPrimary ) {
                isPrimary = false;
            }
            return this;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 6K bytes
    - Viewed (0)
  2. 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(context.Background())
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer removeRoots([]string{fsDir})
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  3. cmd/object-api-options.go

    		argumentName = strings.ToLower(xhttp.AmzPartNumberMarker)
    		valid = false
    		return
    	}
    
    	opts.ObjectAttributes = parseObjectAttributes(r.Header)
    	if len(opts.ObjectAttributes) < 1 {
    		apiErr = errorCodes.ToAPIErr(ErrInvalidAttributeName)
    		argumentName = strings.ToLower(xhttp.AmzObjectAttributes)
    		valid = false
    		return
    	}
    
    	for tag := range opts.ObjectAttributes {
    		switch tag {
    		case xhttp.ETag:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 21 21:13:59 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  4. 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)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 7K bytes
    - Viewed (0)
  5. 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 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 05 21:26:41 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  6. 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
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 17 16:45:46 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

             * and bytes as usual. Note how we can't just call andx.readWireFormat
             * because there's no header.
             */
    
            if ( this.errorCode != 0 || this.andxCommand == (byte) 0xFF ) {
                this.andxCommand = (byte) 0xFF;
                this.andx = null;
            }
            else if ( this.andx == null ) {
                this.andxCommand = (byte) 0xFF;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Nov 28 10:56:27 UTC 2022
    - 14.3K bytes
    - Viewed (0)
  8. okhttp-android/src/main/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
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Mar 21 11:22:00 UTC 2022
    - 127.9K bytes
    - Viewed (0)
  9. cmd/signature-v4-parser_test.go

    		// validating the credential fields.
    		if testCase.expectedErrCode != actualErrCode {
    			t.Fatalf("Test %d: Expected the APIErrCode to be %s, got %s", i+1, errorCodes[testCase.expectedErrCode].Code, errorCodes[actualErrCode].Code)
    		}
    		if actualErrCode == ErrNone {
    			validateCredentialfields(t, i+1, testCase.expectedCredentials, actualCredential)
    		}
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  10. cmd/handler-api.go

    		default:
    			globalHTTPStats.addRequestsInQueue(-1)
    			if contextCanceled(ctx) {
    				w.WriteHeader(499)
    				return
    			}
    			// Send a http timeout message
    			writeErrorResponse(ctx, w,
    				errorCodes.ToAPIErr(ErrTooManyRequests),
    				r.URL)
    
    		}
    	}
    }
    
    func (t *apiConfig) getReplicationOpts() replicationPoolOpts {
    	t.mu.RLock()
    	defer t.mu.RUnlock()
    
    	if t.replicationPriority == "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 26 17:07:10 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top