Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for popular (0.19 sec)

  1. cmd/data-usage-cache.go

    					}
    					due.ReplicationStats.ReplicaSize = v.ReplicationStats.ReplicaSize
    				}
    			}
    			due.Compacted = len(due.Children) == 0 && k != d.Info.Name
    
    			d.Cache[k] = due
    		}
    
    		// Populate compacted value and remove unneeded replica stats.
    		for k, e := range d.Cache {
    			if e.ReplicationStats != nil && len(e.ReplicationStats.Targets) == 0 {
    				e.ReplicationStats = nil
    			}
    			d.Cache[k] = e
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 41.4K bytes
    - Viewed (1)
  2. cmd/erasure-multipart.go

    	if err != nil {
    		return result, toObjectErr(err, bucket, object, uploadID)
    	}
    
    	uploadIDPath := er.getUploadIDDir(bucket, object, uploadID)
    
    	// Populate the result stub.
    	result.Bucket = bucket
    	result.Object = object
    	result.UploadID = uploadID
    	result.MaxParts = maxParts
    	result.PartNumberMarker = partNumberMarker
    	result.UserDefined = cloneMSS(fi.Metadata)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  3. cmd/streaming-v4-unsigned.go

    	if err != nil && err != io.EOF {
    		cr.err = err
    		return n, cr.err
    	}
    
    	cr.offset = copy(buf, cr.buffer)
    	n += cr.offset
    	return n, err
    }
    
    // readTrailers will read all trailers and populate cr.trailers with actual values.
    func (cr *s3UnsignedChunkedReader) readTrailers() error {
    	var valueBuffer bytes.Buffer
    	// Read value
    	for {
    		v, err := cr.reader.ReadByte()
    		if err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat May 06 02:53:12 GMT 2023
    - 6.1K bytes
    - Viewed (1)
  4. internal/config/dns/etcd_dns.go

    // DomainPort - is a string version of server port
    func DomainPort(domainPort string) EtcdOption {
    	return func(args *CoreDNS) {
    		args.domainPort = domainPort
    	}
    }
    
    // CoreDNSPath - custom prefix on etcd to populate DNS
    // service records, optional and can be empty.
    // if empty then c.prefixPath is used i.e "/skydns"
    func CoreDNSPath(prefix string) EtcdOption {
    	return func(args *CoreDNS) {
    		args.prefixPath = prefix
    	}
    }
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 8.3K bytes
    - Viewed (0)
  5. cmd/bucket-stats.go

    		qs.XferStats[Small] = sml
    		qs.XferStats[Total] = XferStats{
    			Avg:  (savg + lavg) / float64(count),
    			Curr: (lcurr + scurr) / float64(count),
    			Peak: totpeak,
    		}
    	}
    	return qs
    }
    
    // populate queue totals for node and active workers in use for metrics
    func (r *ReplicationStats) getNodeQueueStatsSummary() (qs ReplQNodeStats) {
    	qs.NodeName = globalLocalNodeName
    	qs.Uptime = UTCNow().Unix() - globalBootTime.Unix()
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 13.1K bytes
    - Viewed (0)
  6. cmd/bucket-handlers.go

    		objects[i] = deleteObjectsReq.Objects[i].ObjectV
    	}
    
    	// Make sure to update context to print ObjectNames for multi objects.
    	ctx = updateReqContext(ctx, objects...)
    
    	// Call checkRequestAuthType to populate ReqInfo.AccessKey before GetBucketInfo()
    	// Ignore errors here to preserve the S3 error behavior of GetBucketInfo()
    	checkRequestAuthType(ctx, r, policy.DeleteObjectAction, bucket, "")
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
  7. cmd/bucket-metadata.go

    func loadBucketMetadata(ctx context.Context, objectAPI ObjectLayer, bucket string) (BucketMetadata, error) {
    	return loadBucketMetadataParse(ctx, objectAPI, bucket, true)
    }
    
    // parseAllConfigs will parse all configs and populate the private fields.
    // The first error encountered is returned.
    func (b *BucketMetadata) parseAllConfigs(ctx context.Context, objectAPI ObjectLayer) (err error) {
    	if len(b.PolicyConfigJSON) != 0 {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  8. cmd/server-main.go

    			globalSiteReplicationSys.Init(GlobalContext, newObject)
    		})
    
    		// Initialize quota manager.
    		bootstrapTrace("globalBucketQuotaSys.Init", func() {
    			globalBucketQuotaSys.Init(newObject)
    		})
    
    		// Populate existing buckets to the etcd backend
    		if globalDNSConfig != nil {
    			// Background this operation.
    			bootstrapTrace("go initFederatorBackend", func() {
    				go initFederatorBackend(buckets, newObject)
    			})
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 33K bytes
    - Viewed (1)
  9. cmd/erasure-sets.go

    	beforeDrives = make([]madmin.HealDriveInfo, len(endpoints))
    	// Existing formats are available (i.e. ok), so save it in
    	// result, also populate disks to be healed.
    	for i, format := range formats {
    		drive := endpoints.GetString(i)
    		state := madmin.DriveStateCorrupt
    		switch {
    		case format != nil:
    			state = madmin.DriveStateOk
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 37.5K bytes
    - Viewed (5)
  10. internal/bpool/bpool.go

    	}
    	return &BytePoolCap{
    		c:    make(chan []byte, maxSize),
    		w:    width,
    		wcap: capwidth,
    	}
    }
    
    // Populate - populates and pre-warms the byte pool, this function is non-blocking.
    func (bp *BytePoolCap) Populate() {
    	for _, buf := range reedsolomon.AllocAligned(cap(bp.c), bp.wcap) {
    		bp.Put(buf[:bp.w])
    	}
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:44:59 GMT 2024
    - 2.6K bytes
    - Viewed (0)
Back to top