Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for arrays (0.2 sec)

  1. cmd/storage-datatypes_gen.go

    	if err != nil {
    		err = msgp.WrapError(err, "Error")
    		return
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z *DiskInfo) EncodeMsg(en *msgp.Writer) (err error) {
    	// array header, size 18
    	err = en.Append(0xdc, 0x0, 0x12)
    	if err != nil {
    		return
    	}
    	err = en.WriteUint64(z.Total)
    	if err != nil {
    		err = msgp.WrapError(err, "Total")
    		return
    	}
    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)
  2. cmd/bucket-replication.go

    			ReplicationDeleteMarker: dobj.DeleteMarkerVersionID != "",
    			ReplicationMTime:        dobj.DeleteMarkerMTime.Time,
    			ReplicationStatus:       minio.ReplicationStatusReplica,
    			ReplicationRequest:      true, // always set this to distinguish between `mc mirror` replication and serverside
    		},
    	})
    	if rmErr != nil {
    		rinfo.Err = rmErr
    		if dobj.VersionID == "" {
    			rinfo.ReplicationStatus = replication.Failed
    		} else {
    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)
  3. cmd/site-replication.go

    		// This is needed as there is no add-rule function in the server
    		// yet.
    
    		// Though we do not check if the rule already exists, this is
    		// not a problem as we are always using the same replication
    		// rule ID - if the rule already exists, it is just replaced.
    		replicationConfigS, _, err := globalBucketMetadataSys.GetReplicationConfig(ctx, bucket)
    		if err != 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)
  4. cmd/data-usage-cache_gen.go

    		err = msgp.WrapError(err, "ReplicaCount")
    		return
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z *replicationAllStatsV1) EncodeMsg(en *msgp.Writer) (err error) {
    	// array header, size 3
    	err = en.Append(0x93)
    	if err != nil {
    		return
    	}
    	err = en.WriteMapHeader(uint32(len(z.Targets)))
    	if err != nil {
    		err = msgp.WrapError(err, "Targets")
    		return
    	}
    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)
  5. cmd/server_test.go

    		buffer.WriteString(data)
    	}
    	// String content which is used for put object range test.
    	putBytes := buffer.Bytes()
    	putBytes = putBytes[:randInt]
    	// randomize the order of bytes in the byte array and create a reader.
    	putBytes = randomizeBytes(putBytes, -1)
    	buf := bytes.NewReader(putBytes)
    	putContent := string(putBytes)
    	objectName := "test-big-file"
    	// HTTP request to upload the object.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  6. cmd/metrics-v2.go

    	}
    	for k, v := range m.VariableLabels {
    		metric.VariableLabels[k] = v
    	}
    	for k, v := range m.Histogram {
    		metric.Histogram[k] = v
    	}
    	return metric
    }
    
    // Get - returns cached value always upton the configured TTL,
    // once the TTL expires "read()" registered function is called
    // to return the new values and updated.
    func (g *MetricsGroupV2) Get() (metrics []MetricV2) {
    	m, _ := g.metricsCache.Get()
    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)
  7. cmd/object-handlers.go

    	otags := &objectTagging{
    		TagSet: &ObjectTagSet{},
    	}
    
    	var list []tags.Tag
    	for k, v := range ot.ToMap() {
    		list = append(list, tags.Tag{
    			Key:   k,
    			Value: v,
    		})
    	}
    	// Always return in sorted order for tags.
    	sort.Slice(list, func(i, j int) bool {
    		return list[i].Key < list[j].Key
    	})
    	otags.TagSet.Tags = list
    
    	writeSuccessResponseXML(w, encodeResponse(otags))
    }
    
    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)
  8. cmd/object-handlers_test.go

    			if err != nil {
    				t.Errorf("MinIO %s: Error decoding the recorded response Body", instanceType)
    				return
    			}
    			// push the obtained upload ID from the response into the array.
    			testUploads.Lock()
    			testUploads.uploads = append(testUploads.uploads, multipartResponse.UploadID)
    			testUploads.Unlock()
    		}()
    	}
    	// Wait till all go routines finishes execution.
    	wg.Wait()
    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