Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for limit (0.12 sec)

  1. cmd/erasure-server-pool.go

    	if len(p) <= 1 {
    		// Nothing to do.
    		return
    	}
    	var ok bool
    	for _, z := range p {
    		if z.Available > 0 && z.MaxUsedPct < max {
    			ok = true
    			break
    		}
    	}
    	if !ok {
    		// All above limit.
    		// Do not modify
    		return
    	}
    
    	// Remove entries that are above.
    	for i, z := range p {
    		if z.Available > 0 && z.MaxUsedPct < max {
    			continue
    		}
    		p[i].Available = 0
    	}
    }
    
    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. .bazelrc

    # Sets the default Apple platform to macOS.
    build:macos --apple_platform_type=macos
    
    # gRPC on MacOS requires this #define
    build:macos --copt=-DGRPC_BAZEL_BUILD
    
    # Avoid hitting command line argument limit
    build:macos --features=archive_param_file
    
    # Settings for MacOS on ARM CPUs.
    build:macos_arm64 --cpu=darwin_arm64
    build:macos_arm64 --macos_minimum_os=11.0
    
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu May 02 19:34:20 GMT 2024
    - 52.8K bytes
    - Viewed (2)
  3. cmd/api-errors.go

    		HTTPStatusCode: http.StatusServiceUnavailable,
    	},
    	ErrMaxVersionsExceeded: {
    		Code:           "MaxVersionsExceeded",
    		Description:    "You've exceeded the limit on the number of versions you can create on this object",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidPrefixMarker: {
    		Code:           "InvalidPrefixMarker",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  4. internal/bucket/lifecycle/lifecycle_test.go

    	}
    	if evt.StorageClass != "TIER-2" {
    		t.Fatalf("Expected TIER-2 but got %s", evt.StorageClass)
    	}
    }
    
    func TestNoncurrentVersionsLimit(t *testing.T) {
    	// test that the lowest max noncurrent versions limit is returned among
    	// matching rules
    	var rules []Rule
    	for i := 1; i <= 10; i++ {
    		rules = append(rules, Rule{
    			ID:     strconv.Itoa(i),
    			Status: "Enabled",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 53.2K bytes
    - Viewed (0)
Back to top