Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 360 for 10 (0.14 sec)

  1. internal/dsync/dsync_test.go

    	dm := NewDRWMutex(ds, "test")
    
    	dm.Lock(id, source)
    	time.Sleep(time.Duration(10+(rand.Float32()*50)) * time.Millisecond)
    	dm.Unlock(context.Background())
    
    	dm.Lock(id, source)
    	time.Sleep(time.Duration(10+(rand.Float32()*50)) * time.Millisecond)
    	dm.Unlock(context.Background())
    
    	dm.Lock(id, source)
    	time.Sleep(time.Duration(10+(rand.Float32()*50)) * time.Millisecond)
    	dm.Unlock(context.Background())
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Dec 24 03:49:07 GMT 2022
    - 11K bytes
    - Viewed (0)
  2. buildscripts/rewrite-old-new.sh

    MINIO_CONFIG_DIR="$WORK_DIR/.minio"
    MINIO_OLD=("$PWD/minio.RELEASE.2020-10-28T08-16-50Z" --config-dir "$MINIO_CONFIG_DIR" server)
    MINIO=("$PWD/minio" --config-dir "$MINIO_CONFIG_DIR" server)
    
    if [ ! -x "$PWD/minio" ]; then
    	echo "minio executable binary not found in current directory"
    	exit 1
    fi
    
    function download_old_release() {
    	if [ ! -f minio.RELEASE.2020-10-28T08-16-50Z ]; then
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 3.5K bytes
    - Viewed (1)
  3. cmd/object-api-datatypes.go

    	{"LESS_THAN_1024_B", 0, humanize.KiByte - 1},
    	{"BETWEEN_1024B_AND_1_MB", humanize.KiByte, humanize.MiByte - 1},
    	{"BETWEEN_1_MB_AND_10_MB", humanize.MiByte, humanize.MiByte*10 - 1},
    	{"BETWEEN_10_MB_AND_64_MB", humanize.MiByte * 10, humanize.MiByte*64 - 1},
    	{"BETWEEN_64_MB_AND_128_MB", humanize.MiByte * 64, humanize.MiByte*128 - 1},
    	{"BETWEEN_128_MB_AND_512_MB", humanize.MiByte * 128, humanize.MiByte*512 - 1},
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  4. internal/amztime/parse_test.go

    		expectedTime time.Time
    		timeStr      string
    	}
    	testCases := []testCase{
    		{
    			ErrMalformedDate,
    			time.Time{},
    			"Tue Sep  6 07:10:23 PM PDT 2022",
    		},
    		{
    			nil,
    			time.Date(2009, time.November, 10, 23, 0, 0, 0, time.UTC),
    			"Tue, 10 Nov 2009 23:00:00 UTC",
    		},
    	}
    
    	for _, testCase := range testCases {
    		testCase := testCase
    		t.Run(testCase.timeStr, func(t *testing.T) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Sep 07 14:24:54 GMT 2022
    - 1.6K bytes
    - Viewed (0)
  5. internal/bucket/lifecycle/action_string.go

    var _Action_index = [...]uint8{0, 10, 22, 41, 57, 80, 100, 127, 150, 161}
    
    func (i Action) String() string {
    	if i < 0 || i >= Action(len(_Action_index)-1) {
    		return "Action(" + strconv.FormatInt(int64(i), 10) + ")"
    	}
    	return _Action_name[_Action_index[i]:_Action_index[i+1]]
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jun 29 05:12:28 GMT 2023
    - 1018 bytes
    - Viewed (0)
  6. docs/multi-user/README.md

    Create new canned policy file `getonly.json`. This policy enables users to download all objects under `my-bucketname`.
    
    ```json
    cat > getonly.json << EOF
    {
      "Version": "2012-10-17",
      "Statement": [
    	{
    	  "Action": [
    		"s3:GetObject"
    	  ],
    	  "Effect": "Allow",
    	  "Resource": [
    		"arn:aws:s3:::my-bucketname/*"
    	  ],
    	  "Sid": ""
    	}
      ]
    }
    EOF
    ```
    
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Mar 21 06:38:06 GMT 2023
    - 8K bytes
    - Viewed (0)
  7. cmd/endpoint-ellipses_test.go

    					[]ellipses.Pattern{
    						{
    							Prefix: "",
    							Suffix: "",
    							Seq:    getSequences(1, 10, 0),
    						},
    						{
    							Prefix: "/export",
    							Suffix: "/disk",
    							Seq:    getSequences(1, 10, 0),
    						},
    					},
    				},
    				nil,
    				[][]uint64{{10, 10, 10, 10, 10, 10, 10, 10, 10, 10}},
    			},
    			true,
    		},
    		// IPv6 ellipses with hexadecimal expansion
    		{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Dec 07 09:33:56 GMT 2023
    - 15.2K bytes
    - Viewed (0)
  8. cmd/erasure-decode_test.go

    	{dataBlocks: 5, onDisks: 10, offDisks: 6, blocksize: int64(oneMiByte), data: oneMiByte, offset: 0, length: oneMiByte, algorithm: DefaultBitrotAlgorithm, shouldFail: false, shouldFailQuorum: true},                // 16
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 21.1K bytes
    - Viewed (1)
  9. cmd/batch-job-common-types_test.go

    			objSize: 2 << 20,
    			sizeFilter: BatchJobSizeFilter{
    				UpperBound: 10 << 20,
    				LowerBound: 1 << 20,
    			},
    			want: true,
    		},
    		{
    			// 2KiB < 1 MiB -> out of range from left
    			objSize: 2 << 10,
    			sizeFilter: BatchJobSizeFilter{
    				UpperBound: 10 << 20,
    				LowerBound: 1 << 20,
    			},
    			want: false,
    		},
    		{
    			// 11MiB > 10 MiB -> out of range from right
    			objSize: 11 << 20,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Jan 08 23:22:28 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  10. cmd/batch-expire.go

    	saverQuitCh := make(chan struct{})
    	go func() {
    		saveTicker := time.NewTicker(10 * time.Second)
    		defer saveTicker.Stop()
    		for {
    			select {
    			case <-saveTicker.C:
    				// persist in-memory state to disk after every 10secs.
    				batchLogIf(ctx, ri.updateAfter(ctx, api, 10*time.Second, job))
    
    			case <-ctx.Done():
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 21K bytes
    - Viewed (1)
Back to top