Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 148 for empty (0.23 sec)

  1. cmd/object-api-utils.go

    	md5sumCurr := p.rawReader.MD5Current()
    	var appendHyphen bool
    	// md5sumcurr is not empty in two scenarios
    	// - server is running in strict compatibility mode
    	// - client set Content-Md5 during PUT operation
    	if len(md5sumCurr) == 0 {
    		// md5sumCurr is only empty when we are running
    		// in non-compatibility mode.
    		md5sumCurr = make([]byte, 16)
    		rand.Read(md5sumCurr)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  2. cmd/data-usage-utils.go

    	TierStats *allTierStats `json:"tierStats,omitempty"`
    }
    
    func (dui DataUsageInfo) tierStats() []madmin.TierInfo {
    	if dui.TierStats == nil {
    		return nil
    	}
    
    	if globalTierConfigMgr.Empty() {
    		return nil
    	}
    
    	ts := make(map[string]madmin.TierStats)
    	dui.TierStats.populateStats(ts)
    
    	infos := make([]madmin.TierInfo, 0, len(ts))
    	for tier, stats := range ts {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  3. istioctl/pkg/internaldebug/internal-debug.go

    		Short: "Retrieves the debug information of istio",
    		Long: `
    Retrieves the debug information from Istiod or Pods in the mesh using the service account from the pod if --cert-dir is empty.
    By default it will use the default serviceAccount from (istio-system) namespace if the pod is not specified.
    `,
    		Example: `  # Retrieve sync status for all Envoys in a mesh
      istioctl x internal-debug syncz
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 04:16:55 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  4. internal/grid/types.go

    	}
    	return buf.String()
    }
    
    // NewBytes returns a new Bytes.
    // A slice is preallocated.
    func NewBytes() *Bytes {
    	b := Bytes(GetByteBuffer()[:0])
    	return &b
    }
    
    // NewBytesCap returns an empty Bytes with the given capacity.
    func NewBytesCap(size int) *Bytes {
    	b := Bytes(GetByteBufferCap(size))
    	return &b
    }
    
    // NewBytesWith returns a new Bytes with the provided content.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 01 23:42:09 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  5. cmd/site-replication.go

    			return madmin.ReplicateAddStatus{}, errSRDuplicateSites
    		}
    		deploymentIDsSet.Add(v.DeploymentID)
    
    		if v.self {
    			selfIdx = i
    			localHasBuckets = !v.Empty
    			continue
    		}
    		if !v.Empty && !currDeploymentIDsSet.Contains(v.DeploymentID) {
    			nonLocalPeerWithBuckets = v.Name
    		}
    	}
    	if selfIdx == -1 {
    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)
  6. cmd/iam-store.go

    					return nil, time.Time{}, err
    				}
    				mp, _ = c.iamSTSPolicyMap.Load(name)
    			}
    		}
    	}
    
    	// returned policy could be empty
    	policies := mp.toSlice()
    
    	for _, group := range c.iamUserGroupMemberships[name].ToSlice() {
    		if store.getUsersSysType() == MinIOUsersSysType {
    			g, ok := c.iamGroupsMap[group]
    			if !ok {
    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)
  7. src/builtin/builtin.go

    // imaginary parts.
    type complex128 complex128
    
    // string is the set of all strings of 8-bit bytes, conventionally but not
    // necessarily representing UTF-8-encoded text. A string may be empty, but
    // not nil. Values of string type are immutable.
    type string string
    
    // int is a signed integer type that is at least 32 bits in size. It is a
    // distinct type, however, and not an alias for, say, int32.
    type int int
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  8. cmd/xl-storage.go

    		}
    	}
    
    	return nil
    }
    
    // deleteFile deletes a file or a directory if its empty unless recursive
    // is set to true. If the target is successfully deleted, it will recursively
    // move up the tree, deleting empty parent directories until it finds one
    // with files in it. Returns nil for a non-empty directory even when
    // recursive is set to false.
    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)
  9. cmd/storage-datatypes.go

    	}
    	return fi
    }
    
    // ReadMultipleReq contains information of multiple files to read from disk.
    type ReadMultipleReq struct {
    	Bucket       string   // Bucket. Can be empty if multiple buckets.
    	Prefix       string   // Shared prefix of all files. Can be empty. Will be joined to filename without modification.
    	Files        []string // Individual files to read.
    	MaxSize      int64    // Return error if size is exceed.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  10. cmd/admin-bucket-handlers.go

    		return
    	}
    
    	if update {
    		// overlay the updates on existing target
    		tgt := globalBucketTargetSys.GetRemoteBucketTargetByArn(ctx, bucket, target.Arn)
    		if tgt.Empty() {
    			writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErrWithErr(ErrRemoteTargetNotFoundError, err), r.URL)
    			return
    		}
    		for _, op := range ops {
    			switch op {
    			case madmin.CredentialsUpdateType:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 32.5K bytes
    - Viewed (0)
Back to top