Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for numbers (0.19 sec)

  1. internal/s3select/select_test.go

    		},
    		{
    			name:       "select-in-number",
    			query:      `SELECT * from s3object s WHERE 4 in s.numbers[*]`,
    			wantResult: `{"id":2,"title":"Second Record","desc":"another text","numbers":[2,3,4]}`,
    		},
    		{
    			name:       "select-in-number-float",
    			query:      `SELECT * from s3object s WHERE 3 in s.numbers[*]`,
    			wantResult: `{"id":2,"title":"Second Record","desc":"another text","numbers":[2,3,4]}`,
    		},
    		{
    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/test-utils_test.go

    func prepareTestBackend(ctx context.Context, instanceType string) (ObjectLayer, []string, error) {
    	switch instanceType {
    	// Total number of disks for Erasure sets backend is set to 32.
    	case ErasureSetsTestStr:
    		return prepareErasureSets32(ctx)
    	// Total number of disks for Erasure backend is set to 16.
    	case ErasureTestStr:
    		return prepareErasure16(ctx)
    	default:
    		// return FS backend by default.
    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)
  3. cmd/peer-rest-server.go

    	}
    
    	if err = globalIAMSys.LoadUser(context.Background(), objAPI, accessKey, userType); err != nil {
    		return np, grid.NewRemoteErr(err)
    	}
    
    	return
    }
    
    // LoadGroupHandler - reloads group along with members list.
    func (s *peerRESTServer) LoadGroupHandler(mss *grid.MSS) (np grid.NoPayload, nerr *grid.RemoteErr) {
    	objAPI := newObjectLayerFn()
    	if objAPI == nil {
    		return np, grid.NewRemoteErr(errServerNotInitialized)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  4. cmd/object-api-multipart_test.go

    		// Test case with keyMarker set equal to number of parts in the result. (Test number 18).
    		{bucketNames[0], "", "min", "", "", 1, listMultipartResults[5], nil, true},
    		// Test case with keyMarker set to 0. (Test number 19).
    		{bucketNames[0], "", "min", "", "", 0, listMultipartResults[6], nil, true},
    		// Test case with keyMarker less than 0. (Test number 20).
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 77.1K bytes
    - Viewed (0)
  5. cmd/iam-store.go

    type GroupInfo struct {
    	Version   int       `json:"version"`
    	Status    string    `json:"status"`
    	Members   []string  `json:"members"`
    	UpdatedAt time.Time `json:"updatedAt,omitempty"`
    }
    
    func newGroupInfo(members []string) GroupInfo {
    	return GroupInfo{Version: 1, Status: statusEnabled, Members: members, UpdatedAt: UTCNow()}
    }
    
    // MappedPolicy represents a policy name mapped to a user or group
    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)
  6. cmd/bucket-stats_gen.go

    		default:
    			bts, err = msgp.Skip(bts)
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z *BucketReplicationStat) Msgsize() (s int) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 57.5K bytes
    - Viewed (0)
  7. cmd/object-api-listobjects_test.go

    					if len(testCase.resultL.Objects) != len(resultL.Objects) {
    						t.Logf("want: %v", objInfoNames(testCase.resultL.Objects))
    						t.Logf("got: %v", objInfoNames(resultL.Objects))
    						t.Errorf("Test %d: %s: Expected number of object in the result to be '%d', but found '%d' objects instead", i+1, instanceType, len(testCase.resultL.Objects), len(resultL.Objects))
    					}
    					for j := 0; j < len(testCase.resultL.Objects); j++ {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  8. cmd/xl-storage.go

    		}
    	}
    
    	erasure := fi.Erasure
    	for _, part := range fi.Parts {
    		checksumInfo := erasure.GetChecksumInfo(part.Number)
    		partPath := pathJoin(volumeDir, path, fi.DataDir, fmt.Sprintf("part.%d", part.Number))
    		if err := s.bitrotVerify(ctx, partPath,
    			erasure.ShardFileSize(part.Size),
    			checksumInfo.Algorithm,
    			checksumInfo.Hash, erasure.ShardSize()); err != nil {
    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)
  9. cmd/xl-storage-format-v2_gen.go

    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		(*z) = ChecksumAlgo(zb0001)
    	}
    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z ChecksumAlgo) Msgsize() (s int) {
    	s = msgp.Uint8Size
    	return
    }
    
    // DecodeMsg implements msgp.Decodable
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  10. cmd/erasure-object.go

    	}
    
    	var healOnce sync.Once
    
    	for ; partIndex <= lastPartIndex; partIndex++ {
    		if length == totalBytesRead {
    			break
    		}
    
    		partNumber := fi.Parts[partIndex].Number
    
    		// Save the current part name and size.
    		partSize := fi.Parts[partIndex].Size
    
    		partLength := partSize - partOffset
    		// partLength should be adjusted so that we don't write more data than what was requested.
    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)
Back to top