Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 731 for count (0.02 sec)

  1. android/guava/src/com/google/common/collect/Count.java

    import java.io.Serializable;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A mutable value of type {@code int}, for multisets to use in tracking counts of values.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    final class Count implements Serializable {
      private int value;
    
      Count(int value) {
        this.value = value;
      }
    
      public int get() {
        return value;
      }
    
      public void add(int delta) {
    Registered: 2025-05-30 12:43
    - Last Modified: 2024-12-22 03:38
    - 1.6K bytes
    - Viewed (0)
  2. tests/count_test.go

    		t.Errorf(fmt.Sprintf("Count should work, but got err %v", err))
    	}
    
    	if count != int64(len(users)) {
    		t.Errorf("Count() method should get correct value, expect: %v, got %v", count, len(users))
    	}
    
    	DB.Model(&User{}).Where("name = ?", user1.Name).Count(&count1).Or("name in ?", []string{user2.Name, user3.Name}).Count(&count2)
    	if count1 != 1 || count2 != 3 {
    Registered: 2025-05-25 09:35
    - Last Modified: 2023-10-30 09:15
    - 6.9K bytes
    - Viewed (0)
  3. src/main/assemblies/extension/kibana/fess_log.ndjson

    {"attributes":{"fields":"[{\"name\":\"_id\",\"type\":\"string\",\"esTypes\":[\"_id\"],\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":false},{\"name\":\"_index\",\"type\":\"string\",\"esTypes\":[\"_index\"],\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":false},{\"name\":\"_score\",\"type\":\"number\",\"count\":0,\"scripted\":false,\"searchable\":false,\"aggregatable\":false,\"readFromDocValues\":fal...
    Registered: 2025-05-26 08:04
    - Last Modified: 2019-08-12 01:26
    - 18.2K bytes
    - Viewed (0)
  4. docs/en/data/people.yml

    experts:
    - login: tiangolo
      count: 1898
      avatarUrl: https://avatars.githubusercontent.com/u/1326112?u=cb5d06e73a9e1998141b1641aa88e443c6717651&v=4
      url: https://github.com/tiangolo
    - login: github-actions
      count: 770
      avatarUrl: https://avatars.githubusercontent.com/in/15368?v=4
      url: https://github.com/apps/github-actions
    - login: Kludex
      count: 655
    Registered: 2025-05-25 07:19
    - Last Modified: 2025-05-01 14:42
    - 29.3K bytes
    - Viewed (0)
  5. docs/en/data/translation_reviewers.yml

    s111d:
      login: s111d
      count: 147
      avatarUrl: https://avatars.githubusercontent.com/u/4954856?v=4
      url: https://github.com/s111d
    Xewus:
      login: Xewus
      count: 140
      avatarUrl: https://avatars.githubusercontent.com/u/85196001?u=f8e2dc7e5104f109cef944af79050ea8d1b8f914&v=4
      url: https://github.com/Xewus
    sodaMelon:
      login: sodaMelon
      count: 124
    Registered: 2025-05-25 07:19
    - Last Modified: 2025-05-01 11:32
    - 62.3K bytes
    - Viewed (0)
  6. docs/en/data/contributors.yml

    tiangolo:
      login: tiangolo
      count: 734
      avatarUrl: https://avatars.githubusercontent.com/u/1326112?u=cb5d06e73a9e1998141b1641aa88e443c6717651&v=4
      url: https://github.com/tiangolo
    dependabot:
      login: dependabot
      count: 100
      avatarUrl: https://avatars.githubusercontent.com/in/29110?v=4
      url: https://github.com/apps/dependabot
    alejsdev:
      login: alejsdev
      count: 47
    Registered: 2025-05-25 07:19
    - Last Modified: 2025-05-01 11:32
    - 19.1K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/base/StringsRepeatBenchmark.java

          }
        }
      }
    
      private static String mikeRepeat(String string, int count) {
        int len = string.length();
        char[] strCopy = new char[len * Integer.highestOneBit(count)];
        string.getChars(0, len, strCopy, 0);
    
        char[] array = new char[len * count];
    
        int strCopyLen = len;
        int pos = 0;
        while (count != 0) {
          if ((count & 1) != 0) {
            System.arraycopy(strCopy, 0, array, pos, strCopyLen);
    Registered: 2025-05-30 12:43
    - Last Modified: 2025-05-13 18:46
    - 3.4K bytes
    - Viewed (0)
  8. tests/delete_test.go

    		if count := DB.Unscoped().Model(&user).Association(key).Count(); count != value {
    			t.Errorf("user's %v expects: %v, got %v", key, value, count)
    		}
    	}
    
    	for key, value := range map[string]int64{"Account": 0, "Pets": 0, "Toys": 0, "Company": 1, "Manager": 1, "Team": 0, "Languages": 0, "Friends": 0} {
    		if count := DB.Model(&user).Association(key).Count(); count != value {
    Registered: 2025-05-25 09:35
    - Last Modified: 2023-10-10 07:03
    - 9.4K bytes
    - Viewed (0)
  9. tests/distinct_test.go

    	}
    
    	var count int64
    	if err := DB.Model(&User{}).Where("name like ?", "distinct%").Count(&count).Error; err != nil || count != 5 {
    		t.Errorf("failed to query users count, got error: %v, count: %v", err, count)
    	}
    
    	if err := DB.Model(&User{}).Distinct("name").Where("name like ?", "distinct%").Count(&count).Error; err != nil || count != 3 {
    		t.Errorf("failed to query users count, got error: %v, count %v", err, count)
    	}
    Registered: 2025-05-25 09:35
    - Last Modified: 2022-01-06 07:02
    - 2.5K bytes
    - Viewed (0)
  10. internal/s3select/select_benchmark_test.go

    }
    
    func benchmarkAggregateCount(b *testing.B, count int) {
    	benchmarkSelect(b, count, "select count(*) from S3Object")
    }
    
    // BenchmarkAggregateCount_100K - benchmark count(*) function with 100k records.
    func BenchmarkAggregateCount_100K(b *testing.B) {
    	benchmarkAggregateCount(b, 100*humanize.KiByte)
    }
    
    // BenchmarkAggregateCount_1M - benchmark count(*) function with 1m records.
    Registered: 2025-05-25 19:28
    - Last Modified: 2022-04-14 13:54
    - 5K bytes
    - Viewed (0)
Back to top