Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 762 for iocount (0.15 sec)

  1. internal/config/heal/heal.go

    	Bitrot string `json:"bitrotscan"`
    
    	// maximum sleep duration between objects to slow down heal operation.
    	Sleep   time.Duration `json:"sleep"`
    	IOCount int           `json:"iocount"`
    
    	DriveWorkers int `json:"drive_workers"`
    
    	// Cached value from Bitrot field
    	cache struct {
    		// -1: bitrot enabled, 0: bitrot disabled, > 0: bitrot cycle
    		bitrotCycle time.Duration
    	}
    }
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 01:10:30 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  2. internal/config/heal/help.go

    			Optional:    true,
    			Type:        "duration",
    		},
    		config.HelpKV{
    			Key:         IOCount,
    			Description: `maximum IO requests allowed between objects to slow down heal operation` + defaultHelpPostfix(IOCount),
    			Optional:    true,
    			Type:        "int",
    		},
    		config.HelpKV{
    			Key:         DriveWorkers,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 11 21:48:54 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Count.java

     * A mutable value of type {@code int}, for multisets to use in tracking counts of values.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    final class Count implements Serializable {
      private int value;
    
      Count(int value) {
        this.value = value;
      }
    
      public int get() {
        return value;
      }
    
      public void add(int delta) {
        value += delta;
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Aug 05 00:40:25 GMT 2021
    - 1.6K bytes
    - Viewed (0)
  4. tests/count_test.go

    	if count != int64(len(users)) {
    		t.Errorf("Count() method should get correct value, expect: %v, got %v", count, len(users))
    	}
    
    	if err := DB.Model(&User{}).Where("name = ?", user1.Name).Or("name = ?", user3.Name).Count(&count).Find(&users).Error; err != nil {
    		t.Errorf(fmt.Sprintf("Count should work, but got err %v", err))
    	}
    
    	if count != int64(len(users)) {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Oct 30 09:15:49 GMT 2023
    - 6.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Count.java

     * A mutable value of type {@code int}, for multisets to use in tracking counts of values.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    final class Count implements Serializable {
      private int value;
    
      Count(int value) {
        this.value = value;
      }
    
      public int get() {
        return value;
      }
    
      public void add(int delta) {
        value += delta;
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Aug 05 00:40:25 GMT 2021
    - 1.6K bytes
    - Viewed (0)
  6. manifests/charts/istio-operator/templates/service_account.yaml

    papdaniel <******@****.***> 1627498536 +0200
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Jul 28 18:55:36 GMT 2021
    - 309 bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/escape/Escapers.java

              return null;
            }
            // Combine the characters and/or escaped sequences into a single array.
            int hiCount = hiChars != null ? hiChars.length : 1;
            int loCount = loChars != null ? loChars.length : 1;
            char[] output = new char[hiCount + loCount];
            if (hiChars != null) {
              // TODO: Is this faster than System.arraycopy() for small arrays?
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 10.5K bytes
    - Viewed (0)
  8. tests/associations_has_one_test.go

    	account := Account{Number: "account-has-one-append"}
    
    	if err := DB.Model(&user2).Association("Account").Append(&account); err != nil {
    		t.Fatalf("Error happened when append account, got %v", err)
    	}
    
    	if account.ID == 0 {
    		t.Fatalf("Account's ID should be created")
    	}
    
    	user.Account = account
    	CheckUser(t, user2, user)
    
    	AssertAssociationCount(t, user, "Account", 1, "AfterAppend")
    
    	// Replace
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Jan 06 07:02:53 GMT 2022
    - 6.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        assertEquals(0, stats.loadExceptionCount());
        assertEquals(0, stats.hitCount());
    
        Object key = new Object();
        assertSame(key, cache.get(key));
        stats = cache.stats();
        assertEquals(1, stats.missCount());
        assertEquals(1, stats.loadSuccessCount());
        assertEquals(0, stats.loadExceptionCount());
        assertEquals(0, stats.hitCount());
    
        key = new Object();
        assertSame(key, cache.getUnchecked(key));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/cache/AbstractCache.java

        public SimpleStatsCounter() {}
    
        /** @since 11.0 */
        @Override
        public void recordHits(int count) {
          hitCount.add(count);
        }
    
        /** @since 11.0 */
        @Override
        public void recordMisses(int count) {
          missCount.add(count);
        }
    
        @SuppressWarnings("GoodTime") // b/122668874
        @Override
        public void recordLoadSuccess(long loadTime) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 9.1K bytes
    - Viewed (0)
Back to top