Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ParseInt (0.53 sec)

  1. cmd/erasure-multipart.go

    			if b64, err := base64.RawURLEncoding.DecodeString(uploadIDDir); err == nil {
    				if split := strings.Split(string(b64), "x"); len(split) == 2 {
    					t, err := strconv.ParseInt(split[1], 10, 64)
    					if err == nil {
    						modTime = time.Unix(0, t)
    					}
    				}
    			}
    			// Fallback for older uploads without time in the ID.
    			if modTime.IsZero() {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 47.3K bytes
    - Viewed (0)
  2. cmd/object-multipart-handlers.go

    		if sizeStr, ok := r.Header[xhttp.AmzDecodedContentLength]; ok {
    			if sizeStr[0] == "" {
    				writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrMissingContentLength), r.URL)
    				return
    			}
    			size, err = strconv.ParseInt(sizeStr[0], 10, 64)
    			if err != nil {
    				writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    				return
    			}
    		}
    	}
    
    	if size == -1 {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  3. cmd/object-handlers.go

    		if sizeStr, ok := r.Header[xhttp.AmzDecodedContentLength]; ok {
    			if sizeStr[0] == "" {
    				writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrMissingContentLength), r.URL)
    				return
    			}
    			size, err = strconv.ParseInt(sizeStr[0], 10, 64)
    			if err != nil {
    				writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    				return
    			}
    		}
    	}
    	if size == -1 {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 120.6K bytes
    - Viewed (0)
Back to top