Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for comparing (0.18 sec)

  1. cmd/erasure-server-pool.go

    			// set maxUsedPct to the value from the disk with the least space percentage.
    			if pctUsed := int(disk.Used * 100 / disk.Total); pctUsed > maxUsedPct {
    				maxUsedPct = pctUsed
    			}
    		}
    
    		// Since we are comparing pools that may have a different number of sets
    		// we multiply by the number of sets in the pool.
    		// This will compensate for differences in set sizes
    		// when choosing destination 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)
  2. cmd/bucket-handlers.go

    		IsOwner:         false,
    	})
    
    	encodedSuccessResponse := encodeResponse(PolicyStatus{
    		IsPublic: func() string {
    			// Silly to have special 'boolean' values yes
    			// but complying with silly implementation
    			// https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketPolicyStatus.html
    			if readable && writable {
    				return "TRUE"
    			}
    			return "FALSE"
    		}(),
    	})
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
Back to top