Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for FormatUint (0.2 sec)

  1. cmd/xl-storage.go

    				res["free-versions"] = strconv.Itoa(len(fivs.FreeVersions))
    			}
    
    			if sizeS.versions > 0 {
    				res["versions"] = strconv.FormatUint(sizeS.versions, 10)
    			}
    			res["size"] = strconv.FormatInt(sizeS.totalSize, 10)
    			for name, tier := range sizeS.tiers {
    				res["tier-size-"+name] = strconv.FormatUint(tier.TotalSize, 10)
    				res["tier-versions-"+name] = strconv.Itoa(tier.NumVersions)
    			}
    			if sizeS.failedCount > 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  2. cmd/test-utils_test.go

    	req.Header.Set("x-amz-content-sha256", "STREAMING-AWS4-HMAC-SHA256-PAYLOAD")
    	req.Header.Set("content-encoding", "aws-chunked")
    	req.Header.Set("x-amz-decoded-content-length", strconv.FormatInt(dataLength, 10))
    	req.Header.Set("content-length", strconv.FormatInt(contentLength, 10))
    
    	// Seek back to beginning.
    	body.Seek(0, 0)
    
    	// Add body
    	req.Body = io.NopCloser(body)
    	req.ContentLength = contentLength
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  3. cmd/api-errors.go

    			}
    		case InvalidRange:
    			apiErr = APIError{
    				Code:           "InvalidRange",
    				Description:    e.Error(),
    				HTTPStatusCode: errorCodes[ErrInvalidRange].HTTPStatusCode,
    				ObjectSize:     strconv.FormatInt(e.ResourceSize, 10),
    				RangeRequested: fmt.Sprintf("%d-%d", e.OffsetBegin, e.OffsetEnd),
    			}
    		case InvalidArgument:
    			apiErr = APIError{
    				Code:           "InvalidArgument",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (6)
  4. cmd/admin-handlers-users.go

    				}
    			}
    		}
    	}
    }
    
    func addExpirationToCondValues(exp *time.Time, condValues map[string][]string) {
    	if exp == nil {
    		return
    	}
    	condValues["DurationSeconds"] = []string{strconv.FormatInt(int64(exp.Sub(time.Now()).Seconds()), 10)}
    }
    
    func commonAddServiceAccount(r *http.Request) (context.Context, auth.Credentials, newServiceAccountOpts, madmin.AddServiceAccountReq, string, APIError) {
    	ctx := r.Context()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 77.5K bytes
    - Viewed (0)
  5. src/cmd/cgo/gcc.go

    		Len: c.intExpr(n),
    		Elt: c.byte,
    	}
    }
    
    // Expr for integer n.
    func (c *typeConv) intExpr(n int64) ast.Expr {
    	return &ast.BasicLit{
    		Kind:  token.INT,
    		Value: strconv.FormatInt(n, 10),
    	}
    }
    
    // Add padding of given size to fld.
    func (c *typeConv) pad(fld []*ast.Field, sizes []int64, size int64) ([]*ast.Field, []int64) {
    	n := len(fld)
    	fld = fld[0 : n+1]
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
Back to top