Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 29 of 29 for 17 (0.21 sec)

  1. cmd/erasure-metadata-utils_test.go

    		t.Fatal(err)
    	}
    	defer removeRoots(disks)
    	z := objLayer.(*erasureServerPools)
    	testShuffleDisks(t, z)
    }
    
    func Test_hashOrder(t *testing.T) {
    	for x := 1; x < 17; x++ {
    		t.Run(fmt.Sprintf("%d", x), func(t *testing.T) {
    			var first [17]int
    			rng := rand.New(rand.NewSource(0))
    			var tmp [16]byte
    			rng.Read(tmp[:])
    			prefix := hex.EncodeToString(tmp[:])
    			for i := 0; i < 10000; i++ {
    				rng.Read(tmp[:])
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  2. cmd/apierrorcode_string.go

    	_ = x[ErrInvalidBucketName-11]
    	_ = x[ErrInvalidDigest-12]
    	_ = x[ErrInvalidRange-13]
    	_ = x[ErrInvalidRangePartNumber-14]
    	_ = x[ErrInvalidCopyPartRange-15]
    	_ = x[ErrInvalidCopyPartRangeSource-16]
    	_ = x[ErrInvalidMaxKeys-17]
    	_ = x[ErrInvalidEncodingMethod-18]
    	_ = x[ErrInvalidMaxUploads-19]
    	_ = x[ErrInvalidMaxParts-20]
    	_ = x[ErrInvalidPartNumberMarker-21]
    	_ = x[ErrInvalidPartNumber-22]
    	_ = x[ErrInvalidRequestBody-23]
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 21.2K bytes
    - Viewed (0)
  3. cmd/object-api-datatypes_gen.go

    func (z *ListPartsInfo) Msgsize() (s int) {
    	s = 1 + 7 + msgp.StringPrefixSize + len(z.Bucket) + 7 + msgp.StringPrefixSize + len(z.Object) + 9 + msgp.StringPrefixSize + len(z.UploadID) + 13 + msgp.StringPrefixSize + len(z.StorageClass) + 17 + msgp.IntSize + 21 + msgp.IntSize + 9 + msgp.IntSize + 12 + msgp.BoolSize + 6 + msgp.ArrayHeaderSize
    	for za0001 := range z.Parts {
    		s += z.Parts[za0001].Msgsize()
    	}
    	s += 12 + msgp.MapHeaderSize
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 08 19:08:18 GMT 2024
    - 69.8K bytes
    - Viewed (0)
  4. cmd/sts-handlers.go

    			return
    		}
    
    		// Version in policy must not be empty
    		if sessionPolicy.Version == "" {
    			writeSTSErrorResponse(ctx, w, ErrSTSInvalidParameterValue, fmt.Errorf("Version cannot be empty expecting '2012-10-17'"))
    			return
    		}
    	}
    
    	duration, err := openid.GetDefaultExpiration(r.Form.Get(stsDurationSeconds))
    	if err != nil {
    		writeSTSErrorResponse(ctx, w, ErrSTSInvalidParameterValue, err)
    		return
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 34.7K bytes
    - Viewed (2)
  5. cmd/bucket-replication-utils_gen.go

    			}
    		}
    	}
    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z *ReplicationState) Msgsize() (s int) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 21 17:21:35 GMT 2024
    - 61.1K bytes
    - Viewed (0)
  6. cmd/object-handlers_test.go

    		{
    			bucketName:         bucketName,
    			uploadID:           uploadID,
    			copySourceHeader:   url.QueryEscape(SlashSeparator+bucketName+SlashSeparator+objectName) + "?versionId=17",
    			accessKey:          credentials.AccessKey,
    			secretKey:          credentials.SecretKey,
    			expectedRespStatus: http.StatusNotFound,
    		},
    		// Test case - 16,  Test case with invalid byte range empty value.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  7. internal/bucket/lifecycle/lifecycle_test.go

    			4,
    			time.Date(2020, time.March, 20, 0, 0, 0, 0, time.UTC),
    		},
    		{
    			time.Date(2020, time.March, 15, 0, 0, 0, 0, time.UTC),
    			1,
    			time.Date(2020, time.March, 17, 0, 0, 0, 0, time.UTC),
    		},
    	}
    
    	for i, tc := range testCases {
    		t.Run(fmt.Sprintf("Test %d", i+1), func(t *testing.T) {
    			got := ExpectedExpiryTime(tc.modTime, int(tc.days))
    			if !got.Equal(tc.expected) {
    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)
  8. cmd/object-api-putobject_test.go

    		16: {bucketName: bucket, objName: object, inputData: fiveMBBytes, inputDataSize: int64(len(fiveMBBytes)), expectedMd5: getMD5Hash(fiveMBBytes)},
    
    		// With arbitrary metadata
    		17: {bucketName: bucket, objName: object, inputData: data, inputMeta: map[string]string{"answer": "42"}, inputDataSize: int64(len(data)), expectedMd5: getMD5Hash(data)},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  9. cmd/bucket-handlers_test.go

    	// to test a mixed response of a successful & failure while deleting objects in a single request
    	policyBytes := []byte(fmt.Sprintf(`{"Id": "Policy1637752602639", "Version": "2012-10-17", "Statement": [{"Sid": "Stmt1637752600730", "Action": "s3:DeleteObject", "Effect": "Allow", "Resource": "arn:aws:s3:::%s/public/*", "Principal": "*"}]}`, bucketName))
    	rec := httptest.NewRecorder()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 39.5K bytes
    - Viewed (2)
Back to top