Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 167 for sizeof (0.2 sec)

  1. cmd/api-response.go

    		content.Key = s3EncodeName(object.Name, encodingType)
    		content.LastModified = amztime.ISO8601Format(object.ModTime.UTC())
    		if object.ETag != "" {
    			content.ETag = "\"" + object.ETag + "\""
    		}
    		content.Size = object.Size
    		if object.StorageClass != "" {
    			content.StorageClass = object.StorageClass
    		} else {
    			content.StorageClass = globalMinioDefaultStorageClass
    		}
    		if tagErr == ErrNone {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 33.3K bytes
    - Viewed (2)
  2. cmd/endpoint-ellipses.go

    	setIndexes  [][]uint64 // All the sets.
    }
    
    // Supported set sizes this is used to find the optimal
    // single set size.
    var setSizes = []uint64{2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16}
    
    // getDivisibleSize - returns a greatest common divisor of
    // all the ellipses sizes.
    func getDivisibleSize(totalSizes []uint64) (result uint64) {
    	gcd := func(x, y uint64) uint64 {
    		for y != 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  3. buildscripts/race.sh

    #!/usr/bin/env bash
    
    set -e
    
    export GORACE="history_size=7"
    export MINIO_API_REQUESTS_MAX=10000
    
    for d in $(go list ./...); do
    	CGO_ENABLED=1 go test -v -race --timeout 100m "$d"
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 26 05:07:25 GMT 2023
    - 184 bytes
    - Viewed (0)
  4. cmd/erasure-server-pool-decom.go

    	}
    
    	return nil
    }
    
    func (p *poolMeta) CountItem(idx int, size int64, failed bool) {
    	pd := p.Pools[idx].Decommission
    	if pd == nil {
    		return
    	}
    	if failed {
    		pd.ItemsDecommissionFailed++
    		pd.BytesFailed += size
    	} else {
    		pd.ItemsDecommissioned++
    		pd.BytesDone += size
    	}
    	p.Pools[idx].Decommission = pd
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 41.5K bytes
    - Viewed (1)
  5. internal/kms/single-key.go

    		}
    	}
    
    	if n := len(encryptedKey.IV); n != 16 {
    		return nil, Error{
    			HTTPStatusCode: http.StatusBadRequest,
    			APICode:        "KMS.InternalException",
    			Err:            fmt.Errorf("invalid iv size: %d", n),
    		}
    	}
    
    	var aead cipher.AEAD
    	switch encryptedKey.Algorithm {
    	case algorithmAESGCM:
    		mac := hmac.New(sha256.New, kms.key)
    		mac.Write(encryptedKey.IV)
    		sealingKey := mac.Sum(nil)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  6. cmd/admin-bucket-handlers.go

    		return
    	}
    
    	bucketMeta := madmin.SRBucketMeta{
    		Type:      madmin.SRBucketMetaTypeQuotaConfig,
    		Bucket:    bucket,
    		Quota:     data,
    		UpdatedAt: updatedAt,
    	}
    	if quotaConfig.Size == 0 && quotaConfig.Quota == 0 {
    		bucketMeta.Quota = nil
    	}
    
    	// Call site replication hook.
    	replLogIf(ctx, globalSiteReplicationSys.BucketMetaHook(ctx, bucketMeta))
    
    	// Write success response.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  7. cmd/post-policy-fan-out.go

    	for i, req := range fanOutEntries {
    		wg.Add(1)
    		go func(idx int, req minio.PutObjectFanOutEntry) {
    			defer wg.Done()
    
    			objInfos[idx] = ObjectInfo{Name: req.Key}
    
    			hopts := hash.Options{
    				Size:       int64(len(fanOutBuf)),
    				MD5Hex:     opts.MD5Hex,
    				SHA256Hex:  "",
    				ActualSize: -1,
    				DisableMD5: true,
    			}
    			hr, err := hash.NewReaderWithOpts(ctx, bytes.NewReader(fanOutBuf), hopts)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  8. cmd/bucket-lifecycle.go

    	return lifecycle.ObjectOpts{
    		Name:             oi.Name,
    		UserTags:         oi.UserTags,
    		VersionID:        oi.VersionID,
    		ModTime:          oi.ModTime,
    		Size:             oi.Size,
    		IsLatest:         oi.IsLatest,
    		NumVersions:      oi.NumVersions,
    		DeleteMarker:     oi.DeleteMarker,
    		SuccessorModTime: oi.SuccessorModTime,
    		RestoreOngoing:   oi.RestoreOngoing,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  9. cmd/update-notifier.go

    	// Populate lines with color coding.
    	line1InColor := fmt.Sprintf(msgLine1Fmt, color.YellowBold(newerThan))
    	line2InColor := fmt.Sprintf(msgLine2Fmt, color.CyanBold(updateString))
    
    	// calculate the rectangular box size.
    	maxContentWidth := max(line1Length, line2Length)
    
    	// termWidth is set to a default one to use when we are
    	// not able to calculate terminal width via OS syscalls
    	termWidth := 25
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  10. cmd/storage-rest-client.go

    	values := make(url.Values)
    	values.Set(storageRESTVolume, volume)
    	values.Set(storageRESTFilePath, path)
    	values.Set(storageRESTLength, strconv.Itoa(int(size)))
    	values.Set(storageRESTOrigVolume, origvolume)
    
    	respBody, err := client.call(ctx, storageRESTMethodCreateFile, values, io.NopCloser(reader), size)
    	defer xhttp.DrainBody(respBody)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 26.1K bytes
    - Viewed (0)
Back to top