Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for 2MiB (0.15 sec)

  1. cmd/batch-job-common-types_test.go

    			sizeFilter: BatchJobSizeFilter{
    				UpperBound: 10 << 20,
    				LowerBound: 1 << 20,
    			},
    			want: false,
    		},
    		{
    			//  2MiB < 10MiB -> in range
    			objSize: 2 << 20,
    			sizeFilter: BatchJobSizeFilter{
    				UpperBound: 10 << 20,
    			},
    			want: true,
    		},
    		{
    			//  2MiB > 1MiB -> in range
    			objSize: 2 << 20,
    			sizeFilter: BatchJobSizeFilter{
    				LowerBound: 1 << 20,
    			},
    			want: true,
    		},
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jan 08 23:22:28 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  2. internal/bucket/replication/replication.go

    	XMLName xml.Name `xml:"ReplicationConfiguration" json:"-"`
    	Rules   []Rule   `xml:"Rule" json:"Rules"`
    	// RoleArn is being reused for MinIO replication ARN
    	RoleArn string `xml:"Role" json:"Role"`
    }
    
    // Maximum 2MiB size per replication config.
    const maxReplicationConfigSize = 2 << 20
    
    // ParseConfig parses ReplicationConfiguration from xml
    func ParseConfig(reader io.Reader) (*Config, error) {
    	config := Config{}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 8.9K bytes
    - Viewed (0)
Back to top