Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for some (0.15 sec)

  1. internal/s3select/select_test.go

    			input: []byte(`id,time,num,num2,text
    1,2010-01-01T,7867786,4565.908123
    2,2017-01-02T03:04Z,-5, 0.765111,Some some
    `),
    			// Since we are doing offset, no headers are used.
    			wantResult: `{"id":"1","time":"2010-01-01T","num":"7867786","num2":"4565.908123"}
    {"id":"2","time":"2017-01-02T03:04Z","num":"-5","num2":" 0.765111","text":"Some some"}`,
    			wantErr: false,
    			requestXML: []byte(`<?xml version="1.0" encoding="UTF-8"?>
    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)
  2. cmd/iam.go

    	// Validate that policies associated with roles are defined. If
    	// authZ plugin is set, role policies are just claims sent to
    	// the plugin and they need not exist.
    	//
    	// If some mapped policies do not exist, we print some error
    	// messages but continue any way - they can be fixed in the
    	// running server by creating the policies after start up.
    	for arn, rolePolicies := range m {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  3. cmd/erasure-object.go

    				// delete marker, if not add a new version for this delete
    				// marker.
    				if versioned {
    					vr.VersionID = mustGetUUID()
    				}
    			}
    		}
    		// De-dup same object name to collect multiple versions for same object.
    		v, ok := versionsMap[objects[i].ObjectName]
    		if ok {
    			v.Versions = append(v.Versions, vr)
    		} else {
    			v = FileInfoVersions{
    				Name:     vr.Name,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  4. cmd/xl-storage.go

    // for io.EOF.
    //
    // If an EOF happens after reading some but not all the bytes,
    // ReadFile returns ErrUnexpectedEOF.
    //
    // If the BitrotVerifier is not nil or not verified ReadFile
    // tries to verify whether the disk has bitrot.
    //
    // Additionally ReadFile also starts reading from an offset. ReadFile
    // semantics are same as io.ReadFull.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  5. src/bytes/bytes_test.go

    		in   string
    		rune rune
    		want int
    	}{
    		{"", 'a', -1},
    		{"", '☺', -1},
    		{"foo", '☹', -1},
    		{"foo", 'o', 1},
    		{"foo☺bar", '☺', 3},
    		{"foo☺☻☹bar", '☹', 9},
    		{"a A x", 'A', 2},
    		{"some_text=some_value", '=', 9},
    		{"☺a", 'a', 3},
    		{"a☻☺b", '☺', 4},
    
    		// RuneError should match any invalid UTF-8 byte sequence.
    		{"�", '�', 0},
    		{"\xff", '�', 0},
    		{"☻x�", '�', len("☻x")},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  6. cmd/iam-store.go

    }
    
    func newMappedPolicy(policy string) MappedPolicy {
    	return MappedPolicy{Version: 1, Policies: policy, UpdatedAt: UTCNow()}
    }
    
    // PolicyDoc represents an IAM policy with some metadata.
    type PolicyDoc struct {
    	Version    int `json:",omitempty"`
    	Policy     policy.Policy
    	CreateDate time.Time `json:",omitempty"`
    	UpdateDate time.Time `json:",omitempty"`
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  7. cmd/test-utils_test.go

    	}
    }
    
    // ExecObjectLayerAPIAnonTest - Helper function to validate object Layer API handler
    // response for anonymous/unsigned and unknown signature type HTTP request.
    
    // Here is the brief description of some of the arguments to the function below.
    //
    //	apiRouter - http.Handler with the relevant API endPoint (API endPoint under test) registered.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  8. cmd/sts-handlers_test.go

    	// 5. Check that service account can be deleted.
    	c.assertSvcAccDeletion(ctx, s, userAdmClient, value.AccessKeyID, bucket)
    
    	// 6. Check that service account cannot be created for some other user.
    	c.mustNotCreateSvcAccount(ctx, globalActiveCred.AccessKey, userAdmClient)
    }
    
    func (s *TestSuiteIAM) TestLDAPSTSServiceAccountsWithUsername(c *check) {
    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)
  9. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrOverlappingFilterNotification: {
    		Code:           "InvalidArgument",
    		Description:    "An object key name filtering rule defined with overlapping prefixes, overlapping suffixes, or overlapping combinations of prefixes and suffixes for the same event types.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (6)
  10. cmd/erasure-server-pool.go

    		})
    		if err != nil {
    			return nil, err
    		}
    
    		if deploymentID == "" {
    			// all pools should have same deployment ID
    			deploymentID = formats[i].ID
    		}
    
    		// Validate if users brought different DeploymentID pools.
    		if deploymentID != formats[i].ID {
    			return nil, fmt.Errorf("all pools must have same deployment ID - expected %s, got %s for pool(%s)", deploymentID, formats[i].ID, humanize.Ordinal(i+1))
    		}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
Back to top