Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. cmd/admin-handlers.go

    		return false
    	}
    
    	return true
    }
    
    func extractTraceOptions(r *http.Request) (opts madmin.ServiceTraceOpts, err error) {
    	if err := opts.ParseParams(r); err != nil {
    		return opts, err
    	}
    	// Support deprecated 'all' query
    	if r.Form.Get("all") == "true" {
    		opts.S3 = true
    		opts.Internal = true
    		opts.Storage = true
    		opts.OS = true
    		// Older mc - cannot deal with more types...
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 97.3K bytes
    - Viewed (2)
  2. tests/query_test.go

    	}
    }
    
    func TestQueryWithAssociation(t *testing.T) {
    	user := *GetUser("query_with_association", Config{Account: true, Pets: 2, Toys: 1, Company: true, Manager: true, Team: 2, Languages: 1, Friends: 3})
    
    	if err := DB.Create(&user).Error; err != nil {
    		t.Fatalf("errors happened when create user: %v", err)
    	}
    
    	user.CreatedAt = time.Time{}
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Thu Apr 25 12:22:53 GMT 2024
    - 49.8K bytes
    - Viewed (0)
  3. cmd/batch-handlers.go

    			// Since we are preserving a delete marker, we have to make sure this is always true.
    			// regardless of the current configuration of the bucket we must preserve all versions
    			// on the pool being batch replicated from source.
    			Versioned:          true,
    			MTime:              srcObjInfo.ModTime,
    			DeleteMarker:       srcObjInfo.DeleteMarker,
    			ReplicationRequest: true,
    		})
    		return err
    	}
    
    	opts := ObjectOptions{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 08 14:11:38 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  4. 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 73.1K 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 77.1K bytes
    - Viewed (0)
  6. src/cmd/cgo/gcc.go

    				sb.WriteString("(")
    				result = true
    				twoResults = true
    			}
    			break
    		}
    
    		// Add the result type, if any.
    		if name.FuncType.Result != nil {
    			rtype := p.rewriteUnsafe(name.FuncType.Result.Go)
    			if rtype != name.FuncType.Result.Go {
    				needsUnsafe = true
    			}
    			sb.WriteString(gofmtLine(rtype))
    			result = true
    		}
    
    		// Add the second result type, if any.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  8. 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 Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  9. cmd/admin-handlers-users.go

    			ObjectName:      "",
    			Claims:          cred.Claims,
    		}) {
    			wr = true
    		}
    
    		return rd, wr
    	}
    
    	bucketStorageCache.InitOnce(10*time.Second,
    		cachevalue.Opts{ReturnLastGood: true, NoWait: true},
    		func() (DataUsageInfo, error) {
    			ctx, done := context.WithTimeout(context.Background(), 2*time.Second)
    			defer done()
    
    			return loadDataUsageFromBackend(ctx, objectAPI)
    		},
    	)
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 77.3K bytes
    - Viewed (0)
  10. cmd/xl-storage_test.go

    		// passing in valid bucket names.
    		{"lol", true},
    		{"1-this-is-valid", true},
    		{"1-this-too-is-valid-1", true},
    		{"this.works.too.1", true},
    		{"1234567", true},
    		{"123", true},
    		{"s3-eu-west-1.amazonaws.com", true},
    		{"ideas-are-more-powerful-than-guns", true},
    		{"testbucket", true},
    		{"1bucket", true},
    		{"bucket1", true},
    		{"$this-is-not-valid-too", true},
    		{"contains-$-dollar", true},
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
Back to top