Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 63 for duplicate (0.26 sec)

  1. cmd/postpolicyform.go

    			Value    string
    		}
    		ContentLengthRange contentLengthRange
    	}
    }
    
    // implemented to ensure that duplicate keys in JSON
    // are merged together into a single JSON key, also
    // to remove any extraneous JSON bodies.
    //
    // Go stdlib doesn't support parsing JSON with duplicate
    // keys, so we need to use this technique to merge the
    // keys.
    func sanitizePolicy(r io.Reader) (io.Reader, error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  2. cmd/bucket-replication-utils_test.go

    }{
    	{ // 1.
    		name: "empty string",
    		dsc:  "",
    		expDsc: ReplicateDecision{
    			targetsMap: map[string]replicateTargetDecision{},
    		},
    		expErr: nil,
    	},
    
    	{ // 2.
    		name:   "replicate decision for one target",
    		dsc:    "arn:minio:replication::id:bucket=true;false;arn:minio:replication::id:bucket;id",
    		expErr: nil,
    		expDsc: ReplicateDecision{
    			targetsMap: map[string]replicateTargetDecision{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Aug 08 20:27:40 GMT 2023
    - 9.3K bytes
    - Viewed (0)
  3. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrAdminConfigDuplicateKeys: {
    		Code:           "XMinioAdminConfigDuplicateKeys",
    		Description:    "JSON configuration provided has objects with duplicate keys",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrAdminConfigInvalidIDPType: {
    		Code:           "XMinioAdminConfigInvalidIDPType",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  4. internal/event/target/mysql.go

    	mysqlCreateAccessTable = `CREATE TABLE %s (event_time DATETIME NOT NULL, event_data JSON)
                                        ROW_FORMAT = Dynamic;`
    
    	mysqlUpdateRow = `INSERT INTO %s (key_name, value) VALUES (?, ?) ON DUPLICATE KEY UPDATE value=VALUES(value);`
    	mysqlDeleteRow = `DELETE FROM %s WHERE key_hash = SHA2(?, 256);`
    	mysqlInsertRow = `INSERT INTO %s (event_time, event_data) VALUES (?, ?);`
    )
    
    // MySQL related constants
    const (
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Oct 07 15:07:38 GMT 2023
    - 11.5K bytes
    - Viewed (0)
  5. cmd/sts-handlers_test.go

    		userPolicyMappingsFile: `{
      "foo": {
        "version": 0,
        "policy": "readwrite",
        "updatedAt": "2024-04-23T21:34:43.815519816Z"
      }
    }
    `,
    		// Contains:
    		//
    		// 1. duplicate mapping with same policy, we should not error out;
    		//
    		// 2. non-LDAP group mapping, we should not error out;
    		groupPolicyMappingsFile: `{
        "cn=project.c,ou=groups,ou=swengg,DC=min,dc=io": {
            "version": 0,
    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)
  6. cmd/endpoint_test.go

    		{[]string{"d1", "d2", "d3", "d1"}, fmt.Errorf("duplicate endpoints found")},
    		{[]string{"d1", "d2", "d3", "./d1"}, fmt.Errorf("duplicate endpoints found")},
    		{[]string{"http://localhost/d1", "http://localhost/d2", "http://localhost/d1", "http://localhost/d4"}, fmt.Errorf("duplicate endpoints found")},
    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/server_test.go

    	c.Assert(err, nil)
    	// execute the HTTP request.
    	response3, err := s.client.Do(request)
    	c.Assert(err, nil)
    	c.Assert(response3.StatusCode, http.StatusOK)
    
    	// The reason to duplicate this structure here is to verify if the
    	// unmarshalling works from a client perspective, specifically
    	// while unmarshalling time.Time type for 'Initiated' field.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  8. cmd/batch-replicate_gen_test.go

    Krishnan Parthasarathi <******@****.***> 1693333643 -0700
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Aug 29 18:27:23 GMT 2023
    - 14.2K bytes
    - Viewed (1)
  9. cmd/batch-replicate_gen.go

    Anis Eleuch <******@****.***> 1700679106 -0800
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Nov 22 18:51:46 GMT 2023
    - 40.6K bytes
    - Viewed (0)
  10. cni/pkg/plugin/plugin_test.go

    		name string
    		args args
    		want []string
    	}{
    		{
    			name: "No duplicates",
    			args: args{ports: []string{"1234", "2345"}},
    			want: []string{"1234", "2345"},
    		},
    		{
    			name: "Sequential Duplicates",
    			args: args{ports: []string{"1234", "1234", "2345", "2345"}},
    			want: []string{"1234", "2345"},
    		},
    		{
    			name: "Mixed Duplicates",
    			args: args{ports: []string{"1234", "2345", "1234", "2345"}},
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 17.5K bytes
    - Viewed (0)
Back to top