Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for 1GiB (0.2 sec)

  1. src/runtime/string_test.go

    		{"9223372036854775807B", 1<<63 - 1, true},
    
    		// Good binary suffix inputs.
    		{"1KiB", 1 << 10, true},
    		{"05KiB", 5 << 10, true},
    		{"1MiB", 1 << 20, true},
    		{"10MiB", 10 << 20, true},
    		{"1GiB", 1 << 30, true},
    		{"100GiB", 100 << 30, true},
    		{"1TiB", 1 << 40, true},
    		{"99TiB", 99 << 40, true},
    
    		// Good zero inputs.
    		//
    		// -0 is an edge case, but no harm in supporting it.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 13 14:05:23 UTC 2022
    - 13.3K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool.go

    	object = encodeDirObject(object)
    	if z.SinglePool() {
    		return z.serverPools[0].PutObjectMetadata(ctx, bucket, object, opts)
    	}
    
    	opts.MetadataChg = true
    	// We don't know the size here set 1GiB at least.
    	idx, err := z.getPoolIdxExistingWithOpts(ctx, bucket, object, opts)
    	if err != nil {
    		return ObjectInfo{}, err
    	}
    
    	return z.serverPools[idx].PutObjectMetadata(ctx, bucket, object, opts)
    }
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 82.5K bytes
    - Viewed (0)
Back to top