Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for 123_ (0.15 sec)

  1. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  2. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  3. cmd/post-policy_test.go

    	// Add the credential string, only accept the credential passed.
    	credentialConditionStr := fmt.Sprintf(`["eq", "$x-amz-credential", "%s"]`, credential)
    	// Add the meta-uuid string, set to 1234
    	uuidConditionStr := fmt.Sprintf(`["eq", "$x-amz-meta-uuid", "%s"]`, "1234")
    
    	// Combine all conditions into one string.
    	conditionStr := fmt.Sprintf(`"conditions":[%s, %s, %s, %s, %s, %s, %s]`, bucketConditionStr,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  4. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  5. internal/s3select/select_test.go

    116, 45, 116, 121, 112, 101, 7, 0, 24, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 47, 111, 99, 116, 101, 116, 45, 115, 116, 114, 101, 97, 109, 11, 58, 101, 118, 101, 110, 116, 45, 116, 121, 112, 101, 7, 0, 7, 82, 101, 99, 111, 114, 100, 115, 123, 34, 116, 111, 116, 97, 108, 95, 114, 101, 99, 111, 114, 100, 95, 99, 111, 117, 110, 116, 34, 58, 51, 125, 10, 196, 183, 134, 242, 0, 0, 0, 235, 0, 0, 0, 67, 213, 243, 57, 141, 13, 58, 109, 101, 115, 115, 97, 103, 101, 45, 116, 121, 112, 101, 7, 0,...
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
  6. cmd/endpoint_test.go

    		// Erasure Setup with PathEndpointType
    		{
    			":1234",
    			[]string{"/d1", "/d2", "/d3", "/d4"},
    			":1234",
    			Endpoints{
    				Endpoint{URL: &url.URL{Path: mustAbs("/d1")}, IsLocal: true},
    				Endpoint{URL: &url.URL{Path: mustAbs("/d2")}, IsLocal: true},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Jan 13 07:53:03 GMT 2024
    - 18.9K bytes
    - Viewed (1)
  7. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 23.4K bytes
    - Viewed (0)
  8. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  9. cmd/warm-backend-gcs.go

    		return err
    	}
    
    	reason := googleAPIErr.Errors[0].Reason
    	message := googleAPIErr.Errors[0].Message
    
    	switch reason {
    	case "required":
    		// Anonymous users does not have storage.xyz access to project 123.
    		fallthrough
    	case "keyInvalid":
    		fallthrough
    	case "forbidden":
    		err = PrefixAccessDenied{
    			Bucket: bucket,
    			Object: object,
    		}
    	case "invalid":
    		err = BucketNameInvalid{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  10. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 17.6K bytes
    - Viewed (0)
Back to top