Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for 2MiB (0.16 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 Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Jan 08 23:22:28 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  2. cmd/xl-storage-format_test.go

    		expectedSize int64
    	}{
    		// Total size is zero
    		{0, 10, 1, 0},
    		// part size 2MiB, total size 4MiB
    		{4 * humanize.MiByte, 2 * humanize.MiByte, 1, 2 * humanize.MiByte},
    		{4 * humanize.MiByte, 2 * humanize.MiByte, 2, 2 * humanize.MiByte},
    		{4 * humanize.MiByte, 2 * humanize.MiByte, 3, 0},
    		// part size 2MiB, total size 5MiB
    		{5 * humanize.MiByte, 2 * humanize.MiByte, 1, 2 * humanize.MiByte},
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  3. 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 Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  4. cmd/handler-api.go

    	if cfg.RequestsMax <= 0 {
    		// Returns 75% of max memory allowed
    		maxMem := availableMemory()
    
    		// max requests per node is calculated as
    		// total_ram / ram_per_request
    		// ram_per_request is (2MiB+128KiB) * driveCount \
    		//    + 2 * 10MiB (default erasure block size v1) + 2 * 1MiB (default erasure block size v2)
    		blockSize := xioutil.LargeBlock + xioutil.SmallBlock
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Apr 08 09:22:27 GMT 2024
    - 10K bytes
    - Viewed (0)
  5. cmd/bucket-lifecycle.go

    	Description      string             `xml:"Description,omitempty"`
    	SelectParameters *SelectParameters  `xml:"SelectParameters,omitempty"`
    	OutputLocation   OutputLocation     `xml:"OutputLocation,omitempty"`
    }
    
    // Maximum 2MiB size per restore object request.
    const maxRestoreObjectRequestSize = 2 << 20
    
    // parseRestoreRequest parses RestoreObjectRequest from xml
    func parseRestoreRequest(reader io.Reader) (*RestoreObjectRequest, error) {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
Back to top