Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 181 for indexOf (0.15 sec)

  1. internal/s3select/select_test.go

    		},
    		{
    			name:       "indexed-list-match-equals-s-star",
    			query:      `SELECT s.* from s3object s WHERE (7,8.5,9) = s.nested[1]`,
    			wantResult: `{"id":3,"title":"Second Record","desc":"another text","nested":[[2,3,4],[7,8.5,9]]}`,
    		},
    		{
    			name:       "indexed-list-match-equals-s-index",
    			query:      `SELECT s.nested[1], s.nested[0] from s3object s WHERE (7,8.5,9) = s.nested[1]`,
    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/erasure-server-pool-decom.go

    				part.Number,
    				NewPutObjReader(hr),
    				ObjectOptions{
    					PreserveETag: part.ETag, // Preserve original ETag to ensure same metadata.
    					IndexCB: func() []byte {
    						return part.Index // Preserve part Index to ensure decompression works.
    					},
    					NoAuditLog: true,
    				})
    			if err != nil {
    				return fmt.Errorf("decommissionObject: PutObjectPart() %w", err)
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 41.5K bytes
    - Viewed (1)
  3. cmd/batchjobmetric_string.go

    	if i >= batchJobMetric(len(_batchJobMetric_index)-1) {
    		return "batchJobMetric(" + strconv.FormatInt(int64(i), 10) + ")"
    	}
    	return _batchJobMetric_name[_batchJobMetric_index[i]:_batchJobMetric_index[i+1]]
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 02 10:51:33 GMT 2023
    - 797 bytes
    - Viewed (0)
  4. cmd/rebalstatus_string.go

    	if i >= rebalStatus(len(_rebalStatus_index)-1) {
    		return "rebalStatus(" + strconv.FormatInt(int64(i), 10) + ")"
    	}
    	return _rebalStatus_name[_rebalStatus_index[i]:_rebalStatus_index[i+1]]
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Oct 25 19:36:57 GMT 2022
    - 795 bytes
    - Viewed (0)
  5. cmd/authtype_string.go

    var _authType_index = [...]uint8{0, 7, 16, 25, 36, 46, 61, 67, 75, 78, 81, 103, 127}
    
    func (i authType) String() string {
    	if i < 0 || i >= authType(len(_authType_index)-1) {
    		return "authType(" + strconv.FormatInt(int64(i), 10) + ")"
    	}
    	return _authType_name[_authType_index[i]:_authType_index[i+1]]
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 06 02:53:12 GMT 2023
    - 1.1K bytes
    - Viewed (0)
  6. cmd/stserrorcode_string.go

    var _STSErrorCode_index = [...]uint16{0, 7, 22, 41, 65, 91, 118, 145, 171, 192, 219, 236, 256, 272, 288}
    
    func (i STSErrorCode) String() string {
    	if i < 0 || i >= STSErrorCode(len(_STSErrorCode_index)-1) {
    		return "STSErrorCode(" + strconv.FormatInt(int64(i), 10) + ")"
    	}
    	return _STSErrorCode_name[_STSErrorCode_index[i]:_STSErrorCode_index[i+1]]
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Aug 03 20:24:25 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  7. cmd/format-erasure.go

    	g := errgroup.WithNErrs(len(storageDisks))
    
    	// Write `format.json` to all disks.
    	for index := range storageDisks {
    		index := index
    		g.Go(func() error {
    			if formats[index] == nil {
    				return errDiskNotFound
    			}
    			return saveFormatErasure(storageDisks[index], formats[index], "")
    		}, index)
    	}
    
    	// Wait for the routines to finish.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  8. cmd/osmetric_string.go

    var _osMetric_index = [...]uint8{0, 9, 17, 22, 28, 37, 46, 57, 68, 72, 88, 93, 99, 103, 109, 115, 125, 134, 138, 142}
    
    func (i osMetric) String() string {
    	if i >= osMetric(len(_osMetric_index)-1) {
    		return "osMetric(" + strconv.FormatInt(int64(i), 10) + ")"
    	}
    	return _osMetric_name[_osMetric_index[i]:_osMetric_index[i+1]]
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 15 01:09:38 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  9. cmd/signature-v2.go

    	queries := strings.Split(encodedQuery, "&")
    	keyval := make(map[string]string)
    	for _, query := range queries {
    		key := query
    		val := ""
    		index := strings.Index(query, "=")
    		if index != -1 {
    			key = query[:index]
    			val = query[index+1:]
    		}
    		keyval[key] = val
    	}
    
    	var canonicalQueries []string
    	for _, key := range resourceList {
    		val, ok := keyval[key]
    		if !ok {
    			continue
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  10. cmd/update-notifier_test.go

    )
    
    // Tests update notifier string builder.
    func TestPrepareUpdateMessage(t *testing.T) {
    	testCases := []struct {
    		older time.Duration
    		dlURL string
    
    		expectedSubStr string
    	}{
    		// Testcase index 0
    		{72 * time.Hour, "my_download_url", "3 days before the latest release"},
    		{3 * time.Hour, "https://my_download_url_is_huge/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "3 hours before the latest release"},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jul 31 15:36:19 GMT 2023
    - 4.1K bytes
    - Viewed (0)
Back to top