Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for angular (0.2 sec)

  1. cmd/globals.go

    	diskFillFraction = 0.99
    
    	// diskReserveFraction is the fraction of a disk where we will fill other server pools first.
    	// If all pools reach this, we will use all pools with regular placement.
    	diskReserveFraction = 0.15
    
    	// diskAssumeUnknownSize is the size to assume when an unknown size upload is requested.
    	diskAssumeUnknownSize = 1 << 30
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  2. cmd/iam.go

    	if err != nil {
    		return false
    	}
    	if ok {
    		return sys.IsAllowedServiceAccount(args, parentUser)
    	}
    
    	// Continue with the assumption of a regular user
    	policies, err := sys.PolicyDBGet(args.AccountName, args.Groups...)
    	if err != nil {
    		return false
    	}
    
    	if len(policies) == 0 {
    		// No policy found.
    		return false
    	}
    
    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)
  3. cmd/erasure-object.go

    			) {
    				missingBlocks++
    			}
    		}
    
    		// if missing metadata can be reconstructed, attempt to reconstruct.
    		// additionally do not heal delete markers inline, let them be
    		// healed upon regular heal process.
    		if missingBlocks > 0 && missingBlocks < fi.Erasure.DataBlocks {
    			globalMRFState.addPartialOp(partialOperation{
    				bucket:    fi.Volume,
    				object:    fi.Name,
    				versionID: fi.VersionID,
    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)
  4. cmd/object-handlers.go

    			return
    		}
    
    		rs, rangeErr = parseRequestRangeSpec(rangeHeader)
    		// Handle only errInvalidRange. Ignore other
    		// parse error and treat it as regular Get
    		// request like Amazon S3.
    		if errors.Is(rangeErr, errInvalidRange) {
    			writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrInvalidRange), r.URL)
    			return
    		}
    	}
    
    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)
  5. cmd/iam-store.go

    type iamCache struct {
    	updatedAt time.Time
    
    	// map of policy names to policy definitions
    	iamPolicyDocsMap map[string]PolicyDoc
    
    	// map of regular username to credentials
    	iamUsersMap map[string]UserIdentity
    	// map of regular username to policy names
    	iamUserPolicyMap *xsync.MapOf[string, MappedPolicy]
    
    	// STS accounts are loaded on demand and not via the periodic IAM reload.
    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)
  6. cmd/storage-rest-server.go

    		// See https://github.com/golang/go/blob/f7c5cbb82087c55aa82081e931e0142783700ce8/src/net/sendfile_linux.go#L20
    		// Windows can lock up with this optimization, so we fall back to regular copy.
    		sr, ok := rc.(*sendFileReader)
    		if ok {
    			// Sendfile sends in 4MiB chunks per sendfile syscall which is more than enough
    			// for most setups.
    			_, err = rf.ReadFrom(sr.Reader)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  7. cmd/xl-storage.go

    		default:
    			return 0, err
    		}
    	}
    
    	// Close the file descriptor.
    	defer file.Close()
    
    	st, err := file.Stat()
    	if err != nil {
    		return 0, err
    	}
    
    	// Verify it is a regular file, otherwise subsequent Seek is
    	// undefined.
    	if !st.Mode().IsRegular() {
    		return 0, errIsNotRegular
    	}
    
    	if verifier == nil {
    		n, err = file.ReadAt(buffer, offset)
    		return int64(n), err
    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)
  8. cmd/config-current.go

    				key, subSys)
    		}
    		h = config.HelpKVS{value}
    	}
    
    	help := config.HelpKVS{}
    
    	// Only for multiple targets, make sure
    	// to list the ENV, for regular k/v EnableKey is
    	// implicit, for ENVs we cannot make it implicit.
    	if subSysHelp.MultipleTargets {
    		key := madmin.EnableKey
    		if envOnly {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 30.8K bytes
    - Viewed (0)
  9. cmd/bucket-lifecycle.go

    		worker <- expiryOp(nil)
    		es.stats.workers.Add(-1)
    	}
    	// Atomically replace workers.
    	es.workers.Store(&workers)
    }
    
    // Worker handles 4 types of expiration tasks.
    // 1. Expiry of objects, includes regular and transitioned objects
    // 2. Expiry of noncurrent versions due to NewerNoncurrentVersions
    // 3. Expiry of free-versions, for remote objects of transitioned object which have been expired since.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  10. cmd/common-main.go

    	}
    	defer root.Close()
    
    	files, err := root.Readdir(-1)
    	if err != nil {
    		return nil, nil, false, err
    	}
    	for _, file := range files {
    		// Ignore all
    		// - regular files
    		// - "CAs" directory
    		// - any directory which starts with ".."
    		if file.Mode().IsRegular() || file.Name() == "CAs" || strings.HasPrefix(file.Name(), "..") {
    			continue
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
Back to top