Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for project (0.13 sec)

  1. internal/rest/client.go

    func exponentialBackoffWait(r *rand.Rand, unit, cap time.Duration) func(uint) time.Duration {
    	if unit > time.Hour {
    		// Protect against integer overflow
    		panic("unit cannot exceed one hour")
    	}
    	return func(attempt uint) time.Duration {
    		if attempt > 16 {
    			// Protect against integer overflow
    			attempt = 16
    		}
    		// sleep = random_between(unit, min(cap, base * 2 ** attempt))
    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)
  2. cmd/bucket-object-lock.go

    			return nil
    		case objectlock.RetGovernance:
    			// In governance mode, users can't overwrite or delete an object
    			// version or alter its lock settings unless they have special
    			// permissions. With governance mode, you protect objects against
    			// being deleted by most users, but you can still grant some users
    			// permission to alter the retention settings or delete the object
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  3. cmd/iam-object-store.go

    	xioutil "github.com/minio/minio/internal/ioutil"
    	"github.com/minio/minio/internal/kms"
    	"github.com/puzpuzpuz/xsync/v3"
    )
    
    // IAMObjectStore implements IAMStorageAPI
    type IAMObjectStore struct {
    	// Protect access to storage within the current server.
    	sync.RWMutex
    
    	*iamCache
    
    	cachedIAMListing atomic.Value
    
    	usersSysType UsersSysType
    
    	objAPI ObjectLayer
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 19.9K bytes
    - Viewed (0)
Back to top