Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for object_size (0.13 sec)

  1. cmd/object-api-datatypes.go

    	Checksum     *objectAttributesChecksum `xml:",omitempty"`
    	ObjectParts  *objectAttributesParts    `xml:",omitempty"`
    	StorageClass string                    `xml:",omitempty"`
    	ObjectSize   int64                     `xml:",omitempty"`
    }
    
    type objectAttributesChecksum struct {
    	ChecksumCRC32  string `xml:",omitempty"`
    	ChecksumCRC32C string `xml:",omitempty"`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  2. cmd/object-api-options.go

    		valid = false
    		return
    	}
    
    	for tag := range opts.ObjectAttributes {
    		switch tag {
    		case xhttp.ETag:
    		case xhttp.Checksum:
    		case xhttp.StorageClass:
    		case xhttp.ObjectSize:
    		case xhttp.ObjectParts:
    		default:
    			apiErr = errorCodes.ToAPIErr(ErrInvalidAttributeName)
    			argumentName = strings.ToLower(xhttp.AmzObjectAttributes)
    			argumentValue = tag
    			valid = false
    			return
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 21 21:13:59 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  3. cmd/data-scanner.go

    	}
    	healOpts := madmin.HealOpts{
    		Remove:   healDeleteDangling,
    		ScanMode: scanMode,
    	}
    	res, _ := o.HealObject(ctx, i.bucket, i.objectPath(), oi.VersionID, healOpts)
    	if res.ObjectSize > 0 {
    		return res.ObjectSize
    	}
    	return 0
    }
    
    func (i *scannerItem) applyLifecycle(ctx context.Context, o ObjectLayer, oi ObjectInfo) (action lifecycle.Action, size int64) {
    	size, err := oi.GetActualSize()
    	if i.debug {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  4. cmd/api-errors.go

    	"github.com/minio/minio/internal/hash"
    	"github.com/minio/pkg/v3/policy"
    )
    
    // APIError structure
    type APIError struct {
    	Code           string
    	Description    string
    	HTTPStatusCode int
    	ObjectSize     string
    	RangeRequested string
    }
    
    // APIErrorResponse - error response format
    type APIErrorResponse struct {
    	XMLName          xml.Name `xml:"Error" json:"-"`
    	Code             string
    	Message          string
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 92.1K bytes
    - Viewed (0)
  5. cmd/peer-rest-client.go

    		}
    	}()
    	return ch, nil
    }
    
    func (client *peerRESTClient) SpeedTest(ctx context.Context, opts speedTestOpts) (SpeedTestResult, error) {
    	values := make(url.Values)
    	values.Set(peerRESTSize, strconv.Itoa(opts.objectSize))
    	values.Set(peerRESTConcurrent, strconv.Itoa(opts.concurrency))
    	values.Set(peerRESTDuration, opts.duration.String())
    	values.Set(peerRESTStorageClass, opts.storageClass)
    	values.Set(peerRESTBucket, opts.bucketName)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  6. cmd/peer-rest-server.go

    	duration, err := time.ParseDuration(durationStr)
    	if err != nil {
    		duration = time.Second * 10
    	}
    
    	done := keepHTTPResponseAlive(w)
    
    	result, err := selfSpeedTest(r.Context(), speedTestOpts{
    		objectSize:      size,
    		concurrency:     concurrent,
    		duration:        duration,
    		storageClass:    storageClass,
    		bucketName:      bucketName,
    		enableSha256:    enableSha256,
    		enableMultipart: enableMultipart,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  7. cmd/batch-handlers.go

    		break
    	}
    
    	return nil
    }
    
    //msgp:ignore batchReplicationJobError
    type batchReplicationJobError struct {
    	Code           string
    	Description    string
    	HTTPStatusCode int
    	ObjectSize     int64
    }
    
    func (e batchReplicationJobError) Error() string {
    	return e.Description
    }
    
    // Validate validates the job definition input
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  8. cmd/bucket-replication.go

    				time.Sleep(time.Duration(rand.Int63n(int64(time.Second))))
    			}
    		}
    	}()
    
    	var (
    		hr     *hash.Reader
    		isSSEC = crypto.SSEC.IsEncrypted(objInfo.UserDefined)
    	)
    
    	var objectSize int64
    	for _, partInfo := range objInfo.Parts {
    		if isSSEC {
    			hr, err = hash.NewReader(ctx, io.LimitReader(r, partInfo.Size), partInfo.Size, "", "", partInfo.ActualSize)
    		} else {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  9. cmd/object-handlers.go

    			}
    		}
    	}
    
    	if _, ok := opts.ObjectAttributes[xhttp.ETag]; ok {
    		OA.ETag = objInfo.ETag
    	}
    
    	if _, ok := opts.ObjectAttributes[xhttp.ObjectSize]; ok {
    		OA.ObjectSize, _ = objInfo.GetActualSize()
    	}
    
    	if _, ok := opts.ObjectAttributes[xhttp.StorageClass]; ok {
    		OA.StorageClass = filterStorageClass(ctx, objInfo.StorageClass)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
  10. cmd/admin-handlers.go

    	}()
    
    	keepAliveTicker := time.NewTicker(500 * time.Millisecond)
    	defer keepAliveTicker.Stop()
    
    	enc := json.NewEncoder(w)
    	ch := objectSpeedTest(ctx, speedTestOpts{
    		objectSize:       size,
    		concurrencyStart: concurrent,
    		duration:         duration,
    		autotune:         autotune,
    		storageClass:     storageClass,
    		bucketName:       customBucket,
    		enableSha256:     enableSha256,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
Back to top