Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for true (0.17 sec)

  1. src/bytes/bytes_test.go

    var EqualFoldTests = []struct {
    	s, t string
    	out  bool
    }{
    	{"abc", "abc", true},
    	{"ABcd", "ABcd", true},
    	{"123abc", "123ABC", true},
    	{"αβδ", "ΑΒΔ", true},
    	{"abc", "xyz", false},
    	{"abc", "XYZ", false},
    	{"abcdefghijk", "abcdefghijX", false},
    	{"abcdefghijk", "abcdefghij\u212A", true},
    	{"abcdefghijK", "abcdefghij\u212A", true},
    	{"abcdefghijkz", "abcdefghij\u212Ay", false},
    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)
  2. cmd/peer-rest-server.go

    	if err != nil {
    		return np, grid.NewRemoteErr(fmt.Errorf("user-type `%s` is invalid: %w", mss.Get(peerRESTUserType), err))
    	}
    
    	isGroup := mss.Get(peerRESTIsGroup) == "true"
    	if err := globalIAMSys.LoadPolicyMapping(context.Background(), objAPI, userOrGroup, IAMUserType(userType), isGroup); err != nil {
    		return np, grid.NewRemoteErr(err)
    	}
    
    	return
    }
    
    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)
  3. cmd/object-api-listobjects_test.go

    		{"test-bucket-list-object", "", "", "", 4, resultCases[2], nil, true},
    		{"test-bucket-list-object", "", "", "", 3, resultCases[3], nil, true},
    		{"test-bucket-list-object", "", "", "", 1, resultCases[4], nil, true},
    		// Testing with prefix (25-28).
    		{"test-bucket-list-object", "new", "", "", 3, resultCases[5], nil, true},
    		{"test-bucket-list-object", "new", "", "", 4, resultCases[5], nil, true},
    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)
  4. cmd/test-utils_test.go

    //
    //	    Is skipped for obvious reasons
    var ignoredHeaders = map[string]bool{
    	"Authorization": true,
    	"User-Agent":    true,
    }
    
    // Headers to ignore in streaming v4
    var ignoredStreamingHeaders = map[string]bool{
    	"Authorization": true,
    	"Content-Type":  true,
    	"Content-Md5":   true,
    	"User-Agent":    true,
    }
    
    // calculateSignedChunkLength - calculates the length of chunk metadata
    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)
  5. cmd/object-api-multipart_test.go

    		{bucketNames[0], "", "", "", "", 100, listMultipartResults[0], nil, true},
    		// Test with a KeyMarker (Test number 14-17).
    		{bucketNames[0], "", "minio-object-1.txt", "", "", 100, listMultipartResults[1], nil, true},
    		{bucketNames[0], "", "orange", "", "", 100, listMultipartResults[2], nil, true},
    		{bucketNames[0], "", "orange", "", "", 1, listMultipartResults[3], nil, true},
    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)
  6. cmd/xl-storage.go

    	return s.endpoint
    }
    
    func (*xlStorage) Close() error {
    	return nil
    }
    
    func (s *xlStorage) IsOnline() bool {
    	return true
    }
    
    func (s *xlStorage) LastConn() time.Time {
    	return time.Time{}
    }
    
    func (s *xlStorage) IsLocal() bool {
    	return true
    }
    
    // Retrieve location indexes.
    func (s *xlStorage) GetDiskLoc() (poolIdx, setIdx, diskIdx int) {
    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)
  7. cmd/iam-store.go

    			return true
    		})
    
    		// update group policy map
    		cache.iamGroupPolicyMap.Range(func(g string, mp MappedPolicy) bool {
    			pset := mp.policySet()
    			if !pset.Contains(policy) {
    				return true
    			}
    			pset.Remove(policy)
    			cache.iamGroupPolicyMap.Store(g, newMappedPolicy(strings.Join(pset.ToSlice(), ",")))
    			return true
    		})
    
    		cache.updatedAt = time.Now()
    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)
  8. internal/s3select/select_test.go

    			query:      `SELECT id from s3object s WHERE value = true`,
    			wantResult: `{"id":1}`,
    			withJSON: `{"id":0, "value": false}
    {"id":1, "value": true}
    {"id":2, "value": 42}
    {"id":3, "value": "true"}
    `,
    		},
    		{
    			name:       "compare-mixed-not",
    			query:      `SELECT COUNT(id) as n from s3object s WHERE value != true`,
    			wantResult: `{"n":3}`,
    			withJSON: `{"id":0, "value": false}
    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)
  9. cmd/erasure-server-pool.go

    	return z.getPoolIdxExistingWithOpts(ctx, bucket, object, ObjectOptions{
    		NoLock:             true,
    		SkipDecommissioned: true,
    		SkipRebalancing:    true,
    	})
    }
    
    func (z *erasureServerPools) getPoolIdxNoLock(ctx context.Context, bucket, object string, size int64) (idx int, err error) {
    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)
  10. tests/migrate_test.go

    	myIndex := &migrator.Index{TableName: table, NameValue: "my_us8_index", ColumnList: []string{"name"}, PrimaryKeyValue: sql.NullBool{Bool: false, Valid: true}, UniqueValue: sql.NullBool{Bool: true, Valid: true}}
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Mar 18 11:24:16 GMT 2024
    - 56.2K bytes
    - Viewed (0)
Back to top