Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 167 for if (0.13 sec)

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

    	zb0001Len := uint32(1)
    	var zb0001Mask uint8 /* 1 bits */
    	_ = zb0001Mask
    	if z.ObjectV2 == nil {
    		zb0001Len--
    		zb0001Mask |= 0x1
    	}
    	// variable map header, size zb0001Len
    	err = en.Append(0x80 | uint8(zb0001Len))
    	if err != nil {
    		return
    	}
    	if zb0001Len == 0 {
    		return
    	}
    	if (zb0001Mask & 0x1) == 0 { // if not omitted
    		// write "V2Obj"
    		err = en.Append(0xa5, 0x56, 0x32, 0x4f, 0x62, 0x6a)
    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/object-handlers.go

    					}
    				}
    				if reader != nil && proxy.Proxy && perr == nil {
    					gr = reader
    				}
    			}
    		}
    		if reader == nil || !proxy.Proxy {
    			// validate if the request indeed was authorized, if it wasn't we need to return "ErrAccessDenied"
    			// instead of any namespace related error.
    			if s3Error := authorizeRequest(ctx, r, policy.GetObjectAction); s3Error != ErrNone {
    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)
  3. cmd/iam.go

    	defer cancel()
    
    	r := rand.New(rand.NewSource(time.Now().UnixNano()))
    
    	// Migrate storage format if needed.
    	for {
    		// Migrate IAM configuration, if necessary.
    		if err := saveIAMFormat(retryCtx, sys.store); err != nil {
    			if configRetriableErrors(err) {
    				logger.Info("Waiting for all MinIO IAM sub-system to be initialized.. possible cause (%v)", err)
    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/erasure-object.go

    		}
    		rw.Unlock()
    		if err == nil && fi.InlineData() {
    			break
    		}
    	}
    
    	if err != nil {
    		// We can only look for dangling if we received all the responses, if we did
    		// not we simply ignore it, since we can't tell for sure if its dangling object.
    		if totalResp == er.setDriveCount && shouldCheckForDangling(err, errs, bucket) {
    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)
  5. docs/debugging/xl-meta/main.go

    				if err != nil {
    					return nil, err
    				}
    				if _, nbuf, err := msgp.ReadUint32Bytes(b); err == nil {
    					// Read metadata CRC (added in v2, ignore if not found)
    					b = nbuf
    				}
    
    				_, err = msgp.CopyToJSON(buf, bytes.NewReader(v))
    				if err != nil {
    					return nil, err
    				}
    				data = b
    			case 3:
    				v, b, err := msgp.ReadBytesZC(b)
    				if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:56:22 GMT 2024
    - 20.2K bytes
    - Viewed (1)
  6. cmd/erasure-server-pool.go

    	for _, pinfo := range poolObjInfos {
    		// skip all objects from suspended pools if asked by the
    		// caller.
    		if opts.SkipDecommissioned && z.IsSuspended(pinfo.Index) {
    			continue
    		}
    		// Skip object if it's from pools participating in a rebalance operation.
    		if opts.SkipRebalancing && z.IsPoolRebalancing(pinfo.Index) {
    			continue
    		}
    		if pinfo.Err == nil {
    			// found a pool
    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)
  7. cmd/bucket-targets.go

    	found := false
    	for idx, t := range tgts {
    		if t.Type == tgt.Type {
    			if t.Arn == tgt.Arn {
    				if !update {
    					return BucketRemoteAlreadyExists{Bucket: t.TargetBucket}
    				}
    				newtgts[idx] = *tgt
    				found = true
    				continue
    			}
    			// fail if endpoint is already present in list of targets and not a matching ARN
    			if t.Endpoint == tgt.Endpoint {
    				return BucketRemoteAlreadyExists{Bucket: t.TargetBucket}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  8. cmd/xl-storage-disk-id-check.go

    // checkID will check if the disk ID matches the provided ID.
    func (p *xlStorageDiskIDCheck) checkID(wantID string) (err error) {
    	if wantID == "" {
    		return nil
    	}
    	id, err := p.storage.GetDiskID()
    	if err != nil {
    		return err
    	}
    	if id != wantID {
    		return fmt.Errorf("disk ID %s does not match. disk reports %s", wantID, id)
    	}
    	return nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  9. cmd/update.go

    	uaAppend("", runtime.GOOS)
    	uaAppend("; ", runtime.GOARCH)
    	if mode != "" {
    		uaAppend("; ", mode)
    	}
    	if IsDCOS() {
    		uaAppend("; ", "dcos")
    	}
    	if IsKubernetes() {
    		uaAppend("; ", "kubernetes")
    	}
    	if IsDocker() {
    		uaAppend("; ", "docker")
    	}
    	if IsBOSH() {
    		uaAppend("; ", "bosh")
    	}
    	if IsSourceBuild() {
    		uaAppend("; ", "source")
    	}
    
    	uaAppend(" ", Version)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  10. helm/minio/templates/statefulset.yaml

            {{- end }}
            {{- if .Values.podAnnotations }}
              {{- toYaml .Values.podAnnotations | nindent 8 }}
            {{- end }}
        spec:
          {{- if .Values.priorityClassName }}
          priorityClassName: "{{ .Values.priorityClassName }}"
          {{- end }}
          {{- if .Values.runtimeClassName }}
          runtimeClassName: "{{ .Values.runtimeClassName }}"
          {{- end }}
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 07:50:24 GMT 2024
    - 10.7K bytes
    - Viewed (0)
Back to top