Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 675 for part (0.15 sec)

  1. internal/hash/checksum.go

    		b = b[length:]
    		if !typ.Is(ChecksumIncludesMultipart) {
    			continue
    		}
    		parts, n := binary.Uvarint(b)
    		if n <= 0 {
    			break
    		}
    		if len(res) == 0 {
    			res = make([]map[string]string, parts)
    		}
    		b = b[n:]
    		for part := 0; part < int(parts); part++ {
    			if len(b) < length {
    				break
    			}
    			// Read part checksum
    			cs := base64.StdEncoding.EncodeToString(b[:length])
    			b = b[length:]
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  2. cmd/encryption-v1_test.go

    			t.Errorf("Test %d: ServerSideEncryptionKDF must be part of metadata: %v", i, kdf)
    		}
    		if iv, ok := test.metadata[crypto.MetaIV]; !ok {
    			t.Errorf("Test %d: crypto.SSEIV must be part of metadata: %v", i, iv)
    		}
    		if mac, ok := test.metadata[crypto.MetaSealedKeySSEC]; !ok {
    			t.Errorf("Test %d: ServerSideEncryptionKeyMAC must be part of metadata: %v", i, mac)
    		}
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Sep 24 04:17:08 GMT 2022
    - 19.9K bytes
    - Viewed (0)
  3. cmd/signature-v4-utils.go

    			continue
    		}
    		switch header {
    		case "expect":
    			// Golang http server strips off 'Expect' header, if the
    			// client sent this as part of signed headers we need to
    			// handle otherwise we would see a signature mismatch.
    			// `aws-cli` sets this as part of signed headers.
    			//
    			// According to
    			// http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.20
    			// Expect header is always of form:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jan 31 18:56:45 GMT 2024
    - 9K bytes
    - Viewed (0)
  4. cmd/erasure-server-pool-rebalance.go

    		parts := make([]CompletePart, len(oi.Parts))
    		for i, part := range oi.Parts {
    			hr, err := hash.NewReader(ctx, io.LimitReader(gr, part.Size), part.Size, "", "", part.ActualSize)
    			if err != nil {
    				return fmt.Errorf("rebalanceObject: hash.NewReader() %w", err)
    			}
    			pi, err := z.PutObjectPart(ctx, bucket, oi.Name, res.UploadID,
    				part.Number,
    				NewPutObjReader(hr),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 19:29:28 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  5. cmd/object-multipart-handlers.go

    	// The ETag of a multi-part object is always:
    	//   ETag := MD5(ETag_p1, ETag_p2, ...)+"-N"   (N being the number of parts)
    	//
    	// This is independent of encryption. An encrypted multipart
    	// object also has an ETag that is the MD5 of its part ETags.
    	// The fact the in case of encryption the ETag of a part is
    	// not the MD5 of the part content does not change that.
    	var completeETags []etag.ETag
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 39K bytes
    - Viewed (0)
  6. cmd/server_test.go

    	c.Assert(err, nil)
    	// verify whether complete multipart was successful.
    	c.Assert(response.StatusCode, http.StatusOK)
    	var parts []CompletePart
    	for _, part := range completeUploads.Parts {
    		part.ETag = canonicalizeETag(part.ETag)
    		parts = append(parts, part)
    	}
    	etag := getCompleteMultipartMD5(parts)
    	c.Assert(canonicalizeETag(response.Header.Get(xhttp.ETag)), etag)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  7. update-credits.sh

              the Derivative Works; and
    
          (d) If the Work includes a "NOTICE" text file as part of its
              distribution, then any Derivative Works that You distribute must
              include a readable copy of the attribution notices contained
              within such NOTICE file, excluding those notices that do not
              pertain to any part of the Derivative Works, in at least one
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Aug 11 05:08:38 GMT 2023
    - 11.4K bytes
    - Viewed (0)
  8. cmd/object-api-errors.go

    	PartNumber int
    	PartETag   string
    }
    
    func (e PartTooSmall) Error() string {
    	return fmt.Sprintf("Part size for %d should be at least 5MB", e.PartNumber)
    }
    
    // PartTooBig returned if size of part is bigger than the allowed limit.
    type PartTooBig struct{}
    
    func (e PartTooBig) Error() string {
    	return "Part size bigger than the allowed limit"
    }
    
    // InvalidETag error returned when the etag has changed on disk
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  9. cmd/lock-rest-server-common.go

    // Copyright (c) 2015-2021 MinIO, Inc.
    //
    // This file is part of MinIO Object Storage stack
    //
    // This program is free software: you can redistribute it and/or modify
    // it under the terms of the GNU Affero General Public License as published by
    // the Free Software Foundation, either version 3 of the License, or
    // (at your option) any later version.
    //
    // This program is distributed in the hope that it will be useful
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 973 bytes
    - Viewed (0)
  10. cmd/os-rename_nolinux.go

    //go:build !linux
    // +build !linux
    
    // Copyright (c) 2015-2023 MinIO, Inc.
    //
    // This file is part of MinIO Object Storage stack
    //
    // This program is free software: you can redistribute it and/or modify
    // it under the terms of the GNU Affero General Public License as published by
    // the Free Software Foundation, either version 3 of the License, or
    // (at your option) any later version.
    //
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 15 01:09:38 GMT 2024
    - 985 bytes
    - Viewed (0)
Back to top