Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for hasEnded (0.18 sec)

  1. cmd/admin-heal-ops.go

    	defer periodicTimer.Stop()
    
    	for {
    		select {
    		case <-periodicTimer.C:
    			now := UTCNow()
    			ahs.Lock()
    			for path, h := range ahs.healSeqMap {
    				if h.hasEnded() && h.endTime.Add(keepHealSeqStateDuration).Before(now) {
    					delete(ahs.healSeqMap, path)
    				}
    			}
    			ahs.Unlock()
    
    			periodicTimer.Reset(time.Minute * 5)
    		case <-ctx.Done():
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.1K bytes
    - Viewed (1)
  2. cmd/test-utils_test.go

    			if !v.hasEnded() {
    				v.stop()
    			}
    		}
    		globalAllHealState.Unlock()
    	}
    
    	// Init background heal state
    	if globalBackgroundHealState == nil {
    		globalBackgroundHealState = newHealState(GlobalContext, false)
    	} else {
    		globalBackgroundHealState.Lock()
    		for _, v := range globalBackgroundHealState.healSeqMap {
    			if !v.hasEnded() {
    				v.stop()
    			}
    		}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:06:57 GMT 2024
    - 75.7K bytes
    - Viewed (0)
  3. cmd/admin-handlers.go

    		}
    	}
    
    	healPath := pathJoin(hip.bucket, hip.objPrefix)
    	if hip.clientToken == "" && !hip.forceStart && !hip.forceStop {
    		nh, exists := globalAllHealState.getHealSequence(healPath)
    		if exists && !nh.hasEnded() && len(nh.currentStatus.Items) > 0 {
    			clientToken := nh.clientToken
    			if globalIsDistErasure {
    				clientToken = fmt.Sprintf("%s:%d", nh.clientToken, GetProxyEndpointLocalIndex(globalProxyEndpoints))
    			}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 97.3K bytes
    - Viewed (2)
  4. tests/migrate_test.go

    	// not trigger alert column
    	AssertEqual(t, true, DB.Migrator().HasConstraint(&UniqueTest{}, "uni_unique_tests_name"))
    	AssertEqual(t, false, DB.Migrator().HasIndex(&UniqueTest{}, "name"))
    	AssertEqual(t, false, DB.Migrator().HasIndex(&UniqueTest{}, "name_1"))
    	AssertEqual(t, false, DB.Migrator().HasIndex(&UniqueTest{}, "name_2"))
    
    	ct, err = findColumnType(&UniqueTest{}, "name")
    	if err != nil {
    		t.Fatalf("findColumnType err:%v", err)
    	}
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Mar 18 11:24:16 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  5. migrator.go

    	DropConstraint(dst interface{}, name string) error
    	HasConstraint(dst interface{}, name string) bool
    
    	// Indexes
    	CreateIndex(dst interface{}, name string) error
    	DropIndex(dst interface{}, name string) error
    	HasIndex(dst interface{}, name string) bool
    	RenameIndex(dst interface{}, oldName, newName string) error
    	GetIndexes(dst interface{}) ([]Index, error)
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Oct 30 09:15:49 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  6. migrator/migrator.go

    				name = idx.Name
    			}
    		}
    
    		return m.DB.Exec("DROP INDEX ? ON ?", clause.Column{Name: name}, m.CurrentTable(stmt)).Error
    	})
    }
    
    // HasIndex check has index `name` or not
    func (m Migrator) HasIndex(value interface{}, name string) bool {
    	var count int64
    	m.RunWithValue(value, func(stmt *gorm.Statement) error {
    		currentDatabase := m.DB.Migrator().CurrentDatabase()
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Apr 26 07:15:49 GMT 2024
    - 29K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/HashCode.java

        return fromBytesNoCopy(bytes.clone());
      }
    
      /**
       * Creates a {@code HashCode} from a byte array. The array is <i>not</i> copied defensively, so it
       * must be handed-off so as to preserve the immutability contract of {@code HashCode}.
       */
      static HashCode fromBytesNoCopy(byte[] bytes) {
        return new BytesHashCode(bytes);
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 12.6K bytes
    - Viewed (0)
  8. .cm/plugins/filters/byCodeowner/ignore/index.js

        [
            // Never replace escaped '*'
            // ignore rule '\*' will match the path '*'
    
            // 'abc.*/' -> go
            // 'abc.*'  -> skip this rule,
            //    coz trailing single wildcard will be handed by [trailing wildcard]
            /(^|[^\\]+)(\\\*)+(?=.+)/g,
    
            // '*.js' matches '.js'
            // '*.js' doesn't match 'abc'
            (_, p1, p2) => {
                // 1.
    JavaScript
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    calling out in a confused way, `Prizes! Prizes!'
    
      Alice had no idea what to do, and in despair she put her hand
    in her pocket, and pulled out a box of comfits, (luckily the salt
    water had not got into it), and handed them round as prizes.
    There was exactly one a-piece all round.
    
      `But she must have a prize herself, you know,' said the Mouse.
    
      `Of course,' the Dodo replied very gravely.  `What else have
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    calling out in a confused way, `Prizes! Prizes!'
    
      Alice had no idea what to do, and in despair she put her hand
    in her pocket, and pulled out a box of comfits, (luckily the salt
    water had not got into it), and handed them round as prizes.
    There was exactly one a-piece all round.
    
      `But she must have a prize herself, you know,' said the Mouse.
    
      `Of course,' the Dodo replied very gravely.  `What else have
    Plain Text
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 145.2K bytes
    - Viewed (0)
Back to top