Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for Append (0.15 sec)

  1. cmd/xl-storage-format-v2_gen.go

    		return
    	}
    	// string "ID"
    	o = append(o, 0xa2, 0x49, 0x44)
    	o = msgp.AppendBytes(o, (z.VersionID)[:])
    	// string "DDir"
    	o = append(o, 0xa4, 0x44, 0x44, 0x69, 0x72)
    	o = msgp.AppendBytes(o, (z.DataDir)[:])
    	// string "EcAlgo"
    	o = append(o, 0xa6, 0x45, 0x63, 0x41, 0x6c, 0x67, 0x6f)
    	o = msgp.AppendUint8(o, uint8(z.ErasureAlgorithm))
    	// string "EcM"
    	o = append(o, 0xa3, 0x45, 0x63, 0x4d)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool.go

    	// Data blocks can vary per pool, but parity is same.
    	for i, setDriveCount := range z.SetDriveCounts() {
    		b.StandardSCData = append(b.StandardSCData, setDriveCount-scParity)
    		b.RRSCData = append(b.RRSCData, setDriveCount-rrSCParity)
    		b.DrivesPerSet = append(b.DrivesPerSet, setDriveCount)
    		b.TotalSets = append(b.TotalSets, z.serverPools[i].setCount)
    	}
    
    	b.StandardSCParity = scParity
    	b.RRSCParity = rrSCParity
    	return
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  3. cmd/iam.go

    func (sys *IAMSys) printIAMRoles() {
    	if len(sys.rolesMap) == 0 {
    		return
    	}
    	var arns []string
    	for arn := range sys.rolesMap {
    		arns = append(arns, arn.String())
    	}
    	sort.Strings(arns)
    	msgs := make([]string, 0, len(arns))
    	for _, arn := range arns {
    		msgs = append(msgs, color.Bold(arn))
    	}
    
    	logger.Info(fmt.Sprintf("%s %s", color.Blue("IAM Roles:"), strings.Join(msgs, " ")))
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  4. cmd/sts-handlers_test.go

    	for _, entity := range policyQueryRes.PolicyMappings {
    		m := gotContent.ldapUserPolicyMappings
    		for _, user := range entity.Users {
    			m[user] = append(m[user], entity.Policy)
    		}
    		m = gotContent.ldapGroupPolicyMappings
    		for _, group := range entity.Groups {
    			m[group] = append(m[group], entity.Policy)
    		}
    	}
    
    	{
    		// We don't compare the values of the canned policies because server is
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  5. cmd/bucket-stats_gen.go

    	// map header, size 14
    	// string "ReplicatedSize"
    	o = append(o, 0x8e, 0xae, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65, 0x64, 0x53, 0x69, 0x7a, 0x65)
    	o = msgp.AppendInt64(o, z.ReplicatedSize)
    	// string "ReplicaSize"
    	o = append(o, 0xab, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x53, 0x69, 0x7a, 0x65)
    	o = msgp.AppendInt64(o, z.ReplicaSize)
    	// string "FailStats"
    	o = append(o, 0xa9, 0x46, 0x61, 0x69, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x73)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 57.5K bytes
    - Viewed (0)
  6. cmd/erasure-object.go

    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/pkg/v2/mimedb"
    	"github.com/minio/pkg/v2/sync/errgroup"
    )
    
    // list all errors which can be ignored in object operations.
    var objectOpIgnoredErrs = append(baseIgnoredErrs, errDiskAccessDenied, errUnformattedDisk, errDiskOngoingReq)
    
    // Object Operations
    
    func countOnlineDisks(onlineDisks []StorageAPI) (online int) {
    	for _, onlineDisk := range onlineDisks {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  7. cmd/iam-store.go

    		for k := range cache.iamGroupsMap {
    			res = append(res, k)
    		}
    	}
    
    	if store.getUsersSysType() == LDAPUsersSysType {
    		cache.iamGroupPolicyMap.Range(func(k string, _ MappedPolicy) bool {
    			res = append(res, k)
    			return true
    		})
    	}
    	return
    }
    
    // PolicyDBUpdate - adds or removes given policies to/from the user or group's
    // policy associations.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  8. cmd/test-utils_test.go

    		signingKey := sumHMAC(service, []byte("aws4_request"))
    
    		signature = hex.EncodeToString(sumHMAC(signingKey, []byte(stringToSign)))
    
    		stream = append(stream, []byte(fmt.Sprintf("%x", n)+";chunk-signature="+signature+"\r\n")...)
    		stream = append(stream, buffer[:n]...)
    		stream = append(stream, []byte("\r\n")...)
    
    		if n <= 0 {
    			break
    		}
    
    	}
    	req.Body = io.NopCloser(bytes.NewReader(stream))
    	return req, nil
    }
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  9. cmd/peer-rest-server.go

    	for _, ev := range values[peerRESTListenEvents] {
    		eventName, err := event.ParseName(ev)
    		if err != nil {
    			return grid.NewRemoteErr(err)
    		}
    		mask.MergeMaskable(eventName)
    		eventNames = append(eventNames, eventName)
    	}
    
    	rulesMap := event.NewRulesMap(eventNames, pattern, event.TargetID{ID: mustGetUUID()})
    
    	// Listen Publisher uses nonblocking publish and hence does not wait for slow subscribers.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  10. cmd/object-api-multipart_test.go

    		{"foo", object, uploadID, BucketNotFound{}},
    		{bucket, object, "foo-foo", InvalidUploadID{}},
    		{bucket, object, uploadID, nil},
    	}
    
    	if runtime.GOOS != globalWindowsOSName {
    		abortTestCases = append(abortTestCases, struct {
    			bucketName      string
    			objName         string
    			uploadID        string
    			expectedErrType error
    		}{bucket, "\\", uploadID, InvalidUploadID{}})
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 77.1K bytes
    - Viewed (0)
Back to top