Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for sub (0.15 sec)

  1. cmd/iam.go

    		if err := saveIAMFormat(retryCtx, sys.store); err != nil {
    			if configRetriableErrors(err) {
    				logger.Info("Waiting for all MinIO IAM sub-system to be initialized.. possible cause (%v)", err)
    				time.Sleep(time.Duration(r.Float64() * float64(time.Second)))
    				continue
    			}
    			iamLogIf(ctx, fmt.Errorf("IAM sub-system is partially initialized, unable to write the IAM format: %w", err), logger.WarningKind)
    			return
    		}
    
    		break
    	}
    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)
  2. cmd/object-api-listobjects_test.go

    		{"test-bucket-list-object", "Asia", "", "", 10, resultCases[24], nil, true},
    		// Tests with prefix and delimiter (55-57).
    		// With delimiter the code should not recurse into the sub-directories of prefix Dir.
    		{"test-bucket-list-object", "Asia", "", SlashSeparator, 10, resultCases[25], nil, true},
    		{"test-bucket-list-object", "new", "", SlashSeparator, 10, resultCases[26], 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)
  3. cmd/peer-rest-server.go

    		return
    	}
    	releaseInfo := r.Form.Get(peerRESTReleaseInfo)
    
    	lrTime, err := releaseInfoToReleaseTime(releaseInfo)
    	if err != nil {
    		s.writeErrorResponse(w, err)
    		return
    	}
    
    	if lrTime.Sub(currentReleaseTime) <= 0 {
    		s.writeErrorResponse(w, fmt.Errorf("server is already running the latest version: %s", Version))
    		return
    	}
    
    	zr, err := zstd.NewReader(r.Body)
    	if err != nil {
    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. src/cmd/cgo/gcc.go

    			}
    		}
    		t.Go = name
    		t.BadPointer = sub.BadPointer
    		if unionWithPointer[sub.Go] {
    			unionWithPointer[t.Go] = true
    		}
    		t.Size = sub.Size
    		t.Align = sub.Align
    		oldType := typedef[name.Name]
    		if oldType == nil {
    			tt := *t
    			tt.Go = sub.Go
    			tt.BadPointer = sub.BadPointer
    			typedef[name.Name] = &tt
    		}
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  5. cmd/iam-store.go

    	if accessKey == "" || !cred.IsTemp() || cred.IsExpired() || cred.ParentUser == "" {
    		return time.Time{}, errInvalidArgument
    	}
    
    	ttl := int64(cred.Expiration.Sub(UTCNow()).Seconds())
    
    	cache := store.lock()
    	defer store.unlock()
    
    	if policyName != "" {
    		mp := newMappedPolicy(policyName)
    		_, combinedPolicyStmt := filterPolicies(cache, mp.Policies, "")
    
    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. tests/migrate_test.go

    func TestMigrateIndexesWithDynamicTableName(t *testing.T) {
    	// Create primary table
    	if err := DB.AutoMigrate(&DynamicUser{}); err != nil {
    		t.Fatalf("AutoMigrate create table error: %#v", err)
    	}
    
    	// Create sub tables
    	for _, v := range []string{"01", "02", "03"} {
    		tableName := "dynamic_users_" + v
    		m := DB.Scopes(func(db *gorm.DB) *gorm.DB {
    			return db.Table(tableName)
    		}).Migrator()
    
    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)
  7. cmd/sts-handlers_test.go

    				suite.TearDownSuite(c)
    			},
    		)
    	}
    }
    
    // This test is for a fix added to handle non-normalized base DN values in the
    // LDAP configuration. It runs the existing LDAP sub-tests with a non-normalized
    // LDAP configuration.
    func TestIAMWithLDAPNonNormalizedBaseDNConfigServerSuite(t *testing.T) {
    	for i, testCase := range iamTestSuites {
    		t.Run(
    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)
  8. tests/query_test.go

    		*GetUser("find_in_batches_with_offset_limit", Config{}),
    	}
    
    	DB.Create(&users)
    
    	var (
    		sub, results []User
    		lastBatch    int
    	)
    
    	// offset limit
    	if result := DB.Offset(3).Limit(5).Where("name = ?", users[0].Name).FindInBatches(&sub, 2, func(tx *gorm.DB, batch int) error {
    		results = append(results, sub...)
    		lastBatch = batch
    		return nil
    	}); result.Error != nil || result.RowsAffected != 5 {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Apr 25 12:22:53 GMT 2024
    - 49.8K bytes
    - Viewed (0)
  9. cmd/batch-handlers.go

    	if ri == nil {
    		return errInvalidArgument
    	}
    	now := UTCNow()
    	ri.mu.Lock()
    	var (
    		format, version uint16
    		jobTyp          string
    	)
    
    	if now.Sub(ri.LastUpdate) >= duration {
    		switch job.Type() {
    		case madmin.BatchJobReplicate:
    			format = batchReplFormat
    			version = batchReplVersion
    			jobTyp = string(job.Type())
    			ri.Version = batchReplVersionV1
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  10. cmd/admin-handlers-users.go

    		}
    	}
    }
    
    func addExpirationToCondValues(exp *time.Time, condValues map[string][]string) {
    	if exp == nil {
    		return
    	}
    	condValues["DurationSeconds"] = []string{strconv.FormatInt(int64(exp.Sub(time.Now()).Seconds()), 10)}
    }
    
    func commonAddServiceAccount(r *http.Request) (context.Context, auth.Credentials, newServiceAccountOpts, madmin.AddServiceAccountReq, string, APIError) {
    	ctx := r.Context()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 77.5K bytes
    - Viewed (0)
Back to top