Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for etag (0.02 sec)

  1. cmd/erasure-healing-common.go

    	"context"
    	"slices"
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    )
    
    func commonETags(etags []string) (etag string, maxima int) {
    	etagOccurrenceMap := make(map[string]int, len(etags))
    
    	// Ignore the uuid sentinel and count the rest.
    	for _, etag := range etags {
    		if etag == "" {
    			continue
    		}
    		etagOccurrenceMap[etag]++
    	}
    
    	maxima = 0 // Counter for remembering max occurrence of elements.
    	latest := ""
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. cmd/api-response.go

    // generates CopyObjectResponse from etag and lastModified time.
    func generateCopyObjectResponse(etag string, lastModified time.Time) CopyObjectResponse {
    	return CopyObjectResponse{
    		ETag:         "\"" + etag + "\"",
    		LastModified: amztime.ISO8601Format(lastModified.UTC()),
    	}
    }
    
    // generates CopyObjectPartResponse from etag and lastModified time.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 19:27:06 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  3. cmd/erasure-metadata.go

    	h := sha256.New()
    	for i, meta := range metaArr {
    		if !meta.IsValid() {
    			continue
    		}
    		etagOnly := modTime.Equal(timeSentinel) && (etag != "" && etag == meta.Metadata["etag"])
    		mtimeValid := meta.ModTime.Equal(modTime)
    		if mtimeValid || etagOnly {
    			fmt.Fprintf(h, "%v", meta.XLV1)
    			for _, part := range meta.Parts {
    				fmt.Fprintf(h, "part.%d", part.Number)
    				fmt.Fprintf(h, "part.%d", part.Size)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  4. cmd/erasure-object.go

    		// as well as common modtime, if modtime is not possible
    		// verify if it has common "etag" at least.
    		if onlineMeta[i].IsValid() && onlineMeta[i].Erasure.Equal(fi.Erasure) {
    			ok := onlineMeta[i].ModTime.Equal(modTime)
    			if modTime.IsZero() || modTime.Equal(timeSentinel) {
    				ok = etag != "" && etag == fi.Metadata["etag"]
    			}
    			if ok {
    				continue
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  5. cmd/xl-storage-format-v1.go

    	DefaultBitrotAlgorithm = HighwayHash256S
    )
    
    // ObjectPartInfo Info of each part kept in the multipart metadata
    // file after CompleteMultipartUpload() is called.
    type ObjectPartInfo struct {
    	ETag       string            `json:"etag,omitempty" msg:"e"`
    	Number     int               `json:"number" msg:"n"`
    	Size       int64             `json:"size" msg:"s"`        // Size of the part on the disk.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. cmd/xl-storage-format-v1_gen.go

    		zb0001--
    		field, err = dc.ReadMapKeyPtr()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		switch msgp.UnsafeString(field) {
    		case "e":
    			z.ETag, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "ETag")
    				return
    			}
    		case "n":
    			z.Number, err = dc.ReadInt()
    			if err != nil {
    				err = msgp.WrapError(err, "Number")
    				return
    			}
    		case "s":
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  7. cmd/xl-storage-format-v2.go

    		}
    
    		for i := range fi.Parts {
    			ventry.ObjectV2.PartSizes[i] = fi.Parts[i].Size
    			if len(ventry.ObjectV2.PartETags) > 0 && fi.Parts[i].ETag != "" {
    				ventry.ObjectV2.PartETags[i] = fi.Parts[i].ETag
    			}
    			ventry.ObjectV2.PartNumbers[i] = fi.Parts[i].Number
    			ventry.ObjectV2.PartActualSizes[i] = fi.Parts[i].ActualSize
    			if len(ventry.ObjectV2.PartIndices) > 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  8. src/main/webapp/js/admin/jquery-3.7.1.min.js

    v.data)&&(f+=(At.test(f)?"&":"?")+v.data,delete v.data),!1===v.cache&&(f=f.replace(It,"$1"),o=(At.test(f)?"&":"?")+"_="+jt.guid+++o),v.url=f+o),v.ifModified&&(ce.lastModified[f]&&T.setRequestHeader("If-Modified-Since",ce.lastModified[f]),ce.etag[f]&&T.setRequestHeader("If-None-Match",ce.etag[f])),(v.data&&v.hasContent&&!1!==v.contentType||t.contentType)&&T.setRequestHeader("Content-Type",v.contentType),T.setRequestHeader("Accept",v.dataTypes[0]&&v.accepts[v.dataTypes[0]]?v.accepts[v.dataTypes[0]]+("*"!==v.dataTypes[0]?",...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:07:52 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  9. docs/pt/docs/advanced/custom-response.md

    * `filename` - Se for definido, é incluído no cabeçalho `Content-Disposition`.
    
    Respostas de Arquivos incluem o tamanho do arquivo, data da última modificação e ETags apropriados, nos cabeçalhos `Content-Length`, `Last-Modified` e `ETag`, respectivamente.
    
    ```Python hl_lines="2  10"
    {!../../docs_src/custom_response/tutorial009.py!}
    ```
    
    Você também pode usar o parâmetro `response_class`:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 29 11:47:10 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  10. cmd/bucket-lifecycle.go

    		if err != nil {
    			return
    		}
    		timeILM(1)
    	}()
    
    	opts := ObjectOptions{
    		Transition: TransitionOptions{
    			Status: lifecycle.TransitionPending,
    			Tier:   lae.StorageClass,
    			ETag:   oi.ETag,
    		},
    		LifecycleAuditEvent: lae,
    		VersionID:           oi.VersionID,
    		Versioned:           globalBucketVersioningSys.PrefixEnabled(oi.Bucket, oi.Name),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 23 15:35:37 UTC 2024
    - 33.7K bytes
    - Viewed (0)
Back to top