Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for barcode (0.16 sec)

  1. cmd/api-errors.go

    type errorCodeMap map[APIErrorCode]APIError
    
    func (e errorCodeMap) ToAPIErrWithErr(errCode APIErrorCode, err error) APIError {
    	apiErr, ok := e[errCode]
    	if !ok {
    		apiErr = e[ErrInternalError]
    	}
    	if err != nil {
    		apiErr.Description = fmt.Sprintf("%s (%s)", apiErr.Description, err)
    	}
    	if globalSite.Region != "" {
    		if errCode == ErrAuthorizationHeaderMalformed {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  2. cmd/api-resources.go

    // Parse bucket url queries
    func getListObjectsV1Args(values url.Values) (prefix, marker, delimiter string, maxkeys int, encodingType string, errCode APIErrorCode) {
    	errCode = ErrNone
    
    	if values.Get("max-keys") != "" {
    		var err error
    		if maxkeys, err = strconv.Atoi(values.Get("max-keys")); err != nil {
    			errCode = ErrInvalidMaxKeys
    			return
    		}
    	} else {
    		maxkeys = maxObjectList
    	}
    
    	prefix = values.Get("prefix")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jun 07 18:25:26 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  3. cmd/signature-v4.go

    	if s3Err != ErrNone {
    		return s3Err
    	}
    
    	// Extract all the signed headers along with its values.
    	extractedSignedHeaders, errCode := extractSignedHeaders(pSignValues.SignedHeaders, r)
    	if errCode != ErrNone {
    		return errCode
    	}
    
    	// Check if the metadata headers are equal with signedheaders
    	errMetaCode := checkMetaHeaders(extractedSignedHeaders, r)
    	if errMetaCode != ErrNone {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  4. cmd/s3-zip-handlers.go

    				if toAPIError(ctx, err).Code == "NoSuchKey" {
    					s3Error = ErrNoSuchKey
    				}
    			}
    		}
    		errCode := errorCodes.ToAPIErr(s3Error)
    		w.Header().Set(xMinIOErrCodeHeader, errCode.Code)
    		w.Header().Set(xMinIOErrDescHeader, "\""+errCode.Description+"\"")
    		writeErrorResponseHeadersOnly(w, errCode)
    		return
    	}
    
    	// Validate pre-conditions if any.
    	opts.CheckPrecondFn = func(oi ObjectInfo) bool {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 09 10:41:25 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/arch/arm.go

    func IsARMMULA(op obj.As) bool {
    	switch op {
    	case arm.AMULA, arm.AMULS, arm.AMMULA, arm.AMMULS, arm.AMULABB, arm.AMULAWB, arm.AMULAWT:
    		return true
    	}
    	return false
    }
    
    var bcode = []obj.As{
    	arm.ABEQ,
    	arm.ABNE,
    	arm.ABCS,
    	arm.ABCC,
    	arm.ABMI,
    	arm.ABPL,
    	arm.ABVS,
    	arm.ABVC,
    	arm.ABHI,
    	arm.ABLS,
    	arm.ABGE,
    	arm.ABLT,
    	arm.ABGT,
    	arm.ABLE,
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Nov 18 17:59:44 GMT 2022
    - 6.1K bytes
    - Viewed (0)
  6. cmd/admin-handlers.go

    	objectAPI, _ := validateAdminReq(ctx, w, r, policy.HealAdminAction)
    	if objectAPI == nil {
    		return
    	}
    
    	hip, errCode := extractHealInitParams(mux.Vars(r), r.Form, r.Body)
    	if errCode != ErrNone {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(errCode), r.URL)
    		return
    	}
    
    	// Analyze the heal token and route the request accordingly
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
  7. cmd/api-resources_test.go

    			maxKeys:      0,
    			encodingType: "",
    			errCode:      ErrIncorrectContinuationToken,
    		},
    	}
    
    	for i, testCase := range testCases {
    		prefix, token, startAfter, delimiter, fetchOwner, maxKeys, encodingType, errCode := getListObjectsV2Args(testCase.values)
    
    		if errCode != testCase.errCode {
    			t.Errorf("Test %d: Expected error code:%d, got %d", i+1, testCase.errCode, errCode)
    		}
    		if prefix != testCase.prefix {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 7.1K bytes
    - Viewed (0)
  8. cmd/bucket-listobjects-handlers.go

    	// Extract all the listBucketVersions query params to their native values.
    	prefix, marker, delimiter, maxkeys, encodingType, versionIDMarker, errCode := getListBucketObjectVersionsArgs(urlValues)
    	if errCode != ErrNone {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(errCode), r.URL)
    		return
    	}
    
    	// Validate the query params before beginning to serve the request.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  9. cmd/bucket-handlers.go

    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL)
    		return
    	}
    
    	prefix, keyMarker, uploadIDMarker, delimiter, maxUploads, encodingType, errCode := getBucketMultipartResources(r.Form)
    	if errCode != ErrNone {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(errCode), r.URL)
    		return
    	}
    
    	if maxUploads < 0 {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrInvalidMaxUploads), r.URL)
    		return
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
Back to top