Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for 123 (0.2 sec)

  1. internal/config/storageclass/storage-class_test.go

    func TestIsValidStorageClassKind(t *testing.T) {
    	tests := []struct {
    		sc   string
    		want bool
    	}{
    		{"STANDARD", true},
    		{"REDUCED_REDUNDANCY", true},
    		{"", false},
    		{"INVALID", false},
    		{"123", false},
    		{"MINIO_STORAGE_CLASS_RRS", false},
    		{"MINIO_STORAGE_CLASS_STANDARD", false},
    	}
    	for i, tt := range tests {
    		if got := IsValid(tt.sc); got != tt.want {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Aug 15 23:04:20 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  2. cmd/xl-storage-format_test.go

    	xhttp "github.com/minio/minio/internal/http"
    )
    
    func TestIsXLMetaFormatValid(t *testing.T) {
    	tests := []struct {
    		name    int
    		version string
    		format  string
    		want    bool
    	}{
    		{1, "123", "fs", false},
    		{2, "123", xlMetaFormat, false},
    		{3, xlMetaVersion100, "test", false},
    		{4, xlMetaVersion101, "hello", false},
    		{5, xlMetaVersion100, xlMetaFormat, true},
    		{6, xlMetaVersion101, xlMetaFormat, true},
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  3. cmd/apierrorcode_string.go

    	_ = x[ErrObjectLockConfigurationNotAllowed-119]
    	_ = x[ErrNoSuchObjectLockConfiguration-120]
    	_ = x[ErrObjectLocked-121]
    	_ = x[ErrInvalidRetentionDate-122]
    	_ = x[ErrPastObjectLockRetainDate-123]
    	_ = x[ErrUnknownWORMModeDirective-124]
    	_ = x[ErrBucketTaggingNotFound-125]
    	_ = x[ErrObjectLockInvalidHeaders-126]
    	_ = x[ErrInvalidTagDirective-127]
    	_ = x[ErrPolicyAlreadyAttached-128]
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 21.2K bytes
    - Viewed (0)
  4. cmd/object-api-utils_test.go

    		// cases which should pass the test.
    		// passing in valid bucket names.
    		{"lol", true},
    		{"1-this-is-valid", true},
    		{"1-this-too-is-valid-1", true},
    		{"this.works.too.1", true},
    		{"1234567", true},
    		{"123", true},
    		{"s3-eu-west-1.amazonaws.com", true},
    		{"ideas-are-more-powerful-than-guns", true},
    		{"testbucket", true},
    		{"1bucket", true},
    		{"bucket1", true},
    		{"a.b", true},
    		{"ab.a.bc", true},
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 23.4K bytes
    - Viewed (0)
  5. cmd/xl-storage_test.go

    	}{
    		// Cases which should pass the test.
    		// passing in valid bucket names.
    		{"lol", true},
    		{"1-this-is-valid", true},
    		{"1-this-too-is-valid-1", true},
    		{"this.works.too.1", true},
    		{"1234567", true},
    		{"123", true},
    		{"s3-eu-west-1.amazonaws.com", true},
    		{"ideas-are-more-powerful-than-guns", true},
    		{"testbucket", true},
    		{"1bucket", true},
    		{"bucket1", true},
    		{"$this-is-not-valid-too", true},
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  6. cmd/handler-utils_test.go

    			},
    			metadata: map[string]string{
    				"content-type": "image/png",
    			},
    			shouldFail: false,
    		},
    		// Validate if there are no keys to extract.
    		{
    			header: http.Header{
    				"Test-1": []string{"123"},
    			},
    			metadata:   map[string]string{},
    			shouldFail: false,
    		},
    		// Validate that there are all headers extracted
    		{
    			header: http.Header{
    				"X-Amz-Meta-Appid":   []string{"amz-meta"},
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  7. cmd/object-handlers_test.go

    		},
    
    		// Invalid crc32
    		7: {
    			bucketName:         bucketName,
    			objectName:         objectName,
    			headers:            map[string]string{"x-amz-checksum-crc32": "123"},
    			data:               bytesData,
    			dataLen:            len(bytesData),
    			accessKey:          credentials.AccessKey,
    			secretKey:          credentials.SecretKey,
    			expectedRespStatus: http.StatusBadRequest,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  8. cmd/server_test.go

    	1234567890,1234567890,1234567890,1234567890,1234567890,1234567890,1234567890,1234567890,1234567890,1234567890,1234567890,
    	1234567890,1234567890,1234567890,1234567890,1234567890,123"`
    	// Create 10MiB content where each line contains 1024 characters.
    	for i := 0; i < 10*1024; i++ {
    		buffer.WriteString(fmt.Sprintf("[%05d] %s\n", i, line))
    	}
    	putContent := buffer.String()
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  9. cmd/sts-handlers_test.go

       ]
      }
     ]
    }`)
    	err = s.adm.AddCannedPolicy(ctx, policy, policyBytes)
    	if err != nil {
    		c.Fatalf("policy add error: %v", err)
    	}
    
    	if err = s.adm.AddUser(ctx, "dillon", "dillon-123"); err != nil {
    		c.Fatalf("policy add error: %v", err)
    	}
    
    	err = s.adm.SetPolicy(ctx, policy, "dillon", false)
    	if err != nil {
    		c.Fatalf("Unable to set policy: %v", err)
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  10. internal/s3select/csv/testdata/testdata.zip

    09:12:05,N,1,-73.88641357421875,40.828758239746094,,,1,0.00,2.5,0,0.5,0,0.01,,,3.01,2,,60,,green,0.00,5.1,0.0,40,32,3.80,1269,123,2,Bronx,012300,2012300,E,BX75,Crotona Park East,3705,,,,,,,,,,3389263,1,2014-03-22 21:35:51,2014-03-22 21:45:22,N,1,-73.891876220703125,40.830417633056641,-73.917808532714844,40.841567993164063,1,2.20,9.5,0.5,0.5,0,0,,,10.5,2,,60,119,green,0.00,0.0,0.0,63,41,6.93,1269,123,2,Bronx,012300,2012300,E,BX75,Crotona Park East,3705,2046,219,2,Bronx,021900,2021900,E,BX26,Highbridge,3708^3389264,2,2014-03-08...
    ZIP Archive
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 111.6K bytes
    - Viewed (0)
Back to top