Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for appendTo (0.16 sec)

  1. cmd/metrics-v2.go

    			return
    		}
    
    		metrics = make([]MetricV2, 0, 5)
    		metrics = append(metrics, MetricV2{
    			Description: getHealLastActivityTimeMD(),
    			Value:       float64(time.Since(bgSeq.lastHealActivity)),
    		})
    		metrics = append(metrics, getObjectsScanned(bgSeq)...)
    		metrics = append(metrics, getHealedItems(bgSeq)...)
    		metrics = append(metrics, getFailedItems(bgSeq)...)
    		return
    	})
    	return mg
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  2. cmd/data-usage-cache_gen.go

    	o = msgp.AppendUint64(o, z.Objects)
    	// string "vs"
    	o = append(o, 0xa2, 0x76, 0x73)
    	o = msgp.AppendUint64(o, z.Versions)
    	// string "dms"
    	o = append(o, 0xa3, 0x64, 0x6d, 0x73)
    	o = msgp.AppendUint64(o, z.DeleteMarkers)
    	// string "szs"
    	o = append(o, 0xa3, 0x73, 0x7a, 0x73)
    	o = msgp.AppendArrayHeader(o, uint32(dataUsageBucketLen))
    	for za0001 := range z.ObjSizes {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 21 17:21:35 GMT 2024
    - 100.8K bytes
    - Viewed (0)
  3. cmd/object-handlers.go

    	w.Header().Set(xhttp.LastModified, lastModified)
    	w.Header().Del(xhttp.ContentType)
    
    	if _, ok := opts.ObjectAttributes[xhttp.Checksum]; ok {
    		chkSums := objInfo.decryptChecksums(0)
    		// AWS does not appear to append part number on this API call.
    		switch {
    		case chkSums["CRC32"] != "":
    			OA.Checksum = new(objectAttributesChecksum)
    			OA.Checksum.ChecksumCRC32 = strings.Split(chkSums["CRC32"], "-")[0]
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  4. cmd/server_test.go

    		// execute the http request.
    		response, err = s.client.Do(request)
    		c.Assert(err, nil)
    		// assert the status of http response.
    		c.Assert(response.StatusCode, http.StatusOK)
    		// Append all objects.
    		delObjReq.Objects = append(delObjReq.Objects, ObjectToDelete{
    			ObjectV: ObjectV{
    				ObjectName: objName,
    			},
    		})
    	}
    	// Marshal delete request.
    	deleteReqBytes, err := xml.Marshal(delObjReq)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  5. cmd/storage-datatypes_gen.go

    	// string "v"
    	o = append(o, 0xa1, 0x76)
    	o = msgp.AppendString(o, z.Volume)
    	// string "ov"
    	o = append(o, 0xa2, 0x6f, 0x76)
    	o = msgp.AppendString(o, z.OrigVolume)
    	// string "fp"
    	o = append(o, 0xa2, 0x66, 0x70)
    	o = msgp.AppendString(o, z.FilePath)
    	// string "uo"
    	o = append(o, 0xa2, 0x75, 0x6f)
    	// map header, size 1
    	// string "np"
    	o = append(o, 0x81, 0xa2, 0x6e, 0x70)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 127.5K bytes
    - Viewed (0)
  6. cmd/site-replication.go

    	}
    
    	var success int
    	msgs := []string{}
    	for d, err := range errMap {
    		name := c.state.Peers[d].Name
    		if err == nil {
    			msgs = append(msgs, fmt.Sprintf("'%s' on site %s (%s): succeeded", actionName, name, d))
    			success++
    		} else {
    			msgs = append(msgs, fmt.Sprintf("'%s' on site %s (%s): failed(%v)", actionName, name, d, err))
    		}
    	}
    	if success == len(errMap) {
    		return nil
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  7. cmd/bucket-replication.go

    func validateReplicationDestination(ctx context.Context, bucket string, rCfg *replication.Config, checkRemote bool) (bool, APIError) {
    	var arns []string
    	if rCfg.RoleArn != "" {
    		arns = append(arns, rCfg.RoleArn)
    	} else {
    		for _, rule := range rCfg.Rules {
    			arns = append(arns, rule.Destination.String())
    		}
    	}
    	var sameTarget bool
    	for _, arnStr := range arns {
    		arn, err := madmin.ParseARN(arnStr)
    		if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  8. cmd/admin-handlers.go

    		hostErrs = append(hostErrs, globalNotificationSys.StartProfiling(profiler)...)
    
    		// Start profiling locally as well.
    		prof, err := startProfiler(profiler)
    		if err != nil {
    			hostErrs = append(hostErrs, NotificationPeerErr{
    				Host: *thisAddr,
    				Err:  err,
    			})
    		} else {
    			globalProfiler[profiler] = prof
    			hostErrs = append(hostErrs, NotificationPeerErr{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
  9. cmd/object-handlers_test.go

    			t.Fatalf("Object: %s Case %d ByteRange: %s: Unexpected err: %v", object, i+1, byteRange, err)
    		}
    
    		readers := []io.Reader{}
    		cumulativeSum := int64(0)
    		for _, p := range oi.partLengths {
    			readers = append(readers, NewDummyDataGen(p, cumulativeSum))
    			cumulativeSum += p
    		}
    		refReader := io.LimitReader(ioutilx.NewSkipReader(io.MultiReader(readers...), off), length)
    		if ok, msg := cmpReaders(refReader, rec.Body); !ok {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
Back to top