Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for memang (0.24 sec)

  1. cmd/endpoint-ellipses.go

    		return nil, config.ErrInvalidNumberOfErasureEndpoints(nil).Msg(msg)
    	}
    
    	var setSize uint64
    	// Custom set drive count allows to override automatic distribution.
    	// only meant if you want to further optimize drive distribution.
    	if setDriveCount > 0 {
    		msg := fmt.Sprintf("Invalid set drive count. Acceptable values for %d number drives are %d", commonSize, setCounts)
    		var found bool
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  2. cmd/site-replication.go

    				replicateILMExpirySet = true
    				break
    			}
    		}
    	}
    	for _, v := range sites {
    		var peerReplicateILMExpiry bool
    		// if peers already exist and for one of them ReplicateILMExpiry
    		// set true, that means earlier replication of ILM expiry was set
    		// for the site replication. All new sites added to the setup should
    		// get this enabled as well
    		if replicateILMExpirySet {
    			peerReplicateILMExpiry = replicateILMExpirySet
    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)
  3. cmd/test-utils_test.go

    func getRandomRange(min, max int, seed int64) int {
    	// special value -1 means no explicit seeding.
    	if seed != -1 {
    		rand.Seed(seed)
    	}
    	return rand.Intn(max-min) + min
    }
    
    // Randomizes the order of bytes in the byte array
    // using Knuth Fisher-Yates shuffle algorithm.
    func randomizeBytes(s []byte, seed int64) []byte {
    	// special value -1 means no explicit seeding.
    	if seed != -1 {
    		rand.Seed(seed)
    	}
    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)
  4. cmd/bucket-replication.go

    func replicateObject(ctx context.Context, ri ReplicateObjectInfo, objectAPI ObjectLayer) {
    	var replicationStatus replication.StatusType
    	defer func() {
    		if replicationStatus.Empty() {
    			// replication status is empty means
    			// replication was not attempted for some
    			// reason, notify the state of the object
    			// on disk.
    			replicationStatus = ri.ReplicationStatus
    		}
    		auditLogInternal(ctx, AuditLogOptions{
    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)
  5. internal/rest/client.go

    			}
    		default:
    			// This is where we'd set it to -1 (at least
    			// if body != NoBody) to mean unknown, but
    			// that broke people during the Go 1.8 testing
    			// period. People depend on it being 0 I
    			// guess. Maybe retry later. See Issue 18117.
    		}
    		// For client requests, Request.ContentLength of 0
    		// means either actually 0, or unknown. The only way
    		// to explicitly say that the ContentLength is zero is
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 14.4K bytes
    - Viewed (0)
  6. cni/pkg/nodeagent/net_test.go

    	fixture.ipsetDeps.On("addIP",
    		"foo-v4",
    		netip.MustParseAddr("2.2.2.2"),
    		ipProto,
    		podUID,
    		true,
    	).Return(nil)
    
    	// List should return one IP not in our "pod snapshot", which means we prune
    	fixture.ipsetDeps.On("listEntriesByIP",
    		"foo-v4",
    	).Return([]netip.Addr{
    		netip.MustParseAddr("2.2.2.2"),
    		netip.MustParseAddr("6.6.6.6"),
    		netip.MustParseAddr("3.3.3.3"),
    	}, nil)
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  7. cmd/format-erasure.go

    	data, err := disk.ReadAll(context.TODO(), minioMetaBucket, formatConfigFile)
    	if err != nil {
    		// 'file not found' and 'volume not found' as
    		// same. 'volume not found' usually means its a fresh disk.
    		if errors.Is(err, errFileNotFound) || errors.Is(err, errVolumeNotFound) {
    			return nil, errUnformattedDisk
    		}
    		return nil, err
    	}
    
    	// Try to decode format json into formatConfigV1 struct.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  8. cni/pkg/iptables/iptables.go

    		iptableslog.UndefinedCommand, ChainInpodPrerouting, iptablesconstants.MANGLE,
    		"!", "-d", iptablesconstants.IPVersionSpecific, // ignore traffic to localhost ip, as this rule means to catch traffic to pod ip.
    		"-p", iptablesconstants.TCP,
    		"-i", "lo",
    		"-j", "ACCEPT")
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue May 07 19:54:50 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  9. cmd/xl-storage.go

    			switch {
    			case oi.DeleteMarker, oi.TransitionedObject.FreeVersion:
    				continue
    			}
    			tier := oi.StorageClass
    			if tier == "" {
    				tier = storageclass.STANDARD // no SC means "STANDARD"
    			}
    			if oi.TransitionedObject.Status == lifecycle.TransitionComplete {
    				tier = oi.TransitionedObject.Tier
    			}
    			if sizeS.tiers != nil {
    				if st, ok := sizeS.tiers[tier]; ok {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  10. cmd/erasure-object.go

    	if err != nil {
    		if errors.Is(err, errFileNotFound) {
    			// An in-quorum errFileNotFound means that client stream
    			// prematurely closed and we do not find any xl.meta or
    			// part.1's - in such a scenario we must return as if client
    			// disconnected. This means that erasure.Encode() CreateFile()
    			// did not do anything.
    			return ObjectInfo{}, IncompleteBody{Bucket: bucket, Object: object}
    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)
Back to top