Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 461 for countIn (0.05 seconds)

  1. android/guava-tests/benchmark/com/google/common/base/WhitespaceMatcherBenchmark.java

        teststring = newTestString(new Random(1), bitSet, percentMatching);
      }
    
      @Benchmark
      public int countIn(int reps) {
        int result = 0;
        CharMatcher matcher = this.matcher;
        String teststring = this.teststring;
        for (int i = 0; i < reps; i++) {
          result += matcher.countIn(teststring);
        }
        return result;
      }
    
      @Benchmark
      public int collapseFrom(int reps) {
        int result = 0;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  2. guava/src/com/google/common/net/InetAddresses.java

          }
          return textToNumericFormatV4(ipString);
        }
        return null;
      }
    
      private static byte @Nullable [] textToNumericFormatV4(String ipString) {
        if (IPV4_DELIMITER_MATCHER.countIn(ipString) + 1 != IPV4_PART_COUNT) {
          return null; // Wrong number of parts
        }
    
        byte[] bytes = new byte[IPV4_PART_COUNT];
        int start = 0;
        // Iterate through the parts of the ip string.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Feb 19 21:24:11 GMT 2025
    - 47.4K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/net/InetAddresses.java

          }
          return textToNumericFormatV4(ipString);
        }
        return null;
      }
    
      private static byte @Nullable [] textToNumericFormatV4(String ipString) {
        if (IPV4_DELIMITER_MATCHER.countIn(ipString) + 1 != IPV4_PART_COUNT) {
          return null; // Wrong number of parts
        }
    
        byte[] bytes = new byte[IPV4_PART_COUNT];
        int start = 0;
        // Iterate through the parts of the ip string.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Feb 19 21:24:11 GMT 2025
    - 47.4K bytes
    - Click Count (0)
  4. tests/count_test.go

    		t.Fatalf("Count should be 3, but got count: %v err %v", count10, err)
    	}
    
    	var count11 int64
    	sameUsers := make([]*User, 0)
    	for i := 0; i < 3; i++ {
    		sameUsers = append(sameUsers, GetUser("count-4", Config{}))
    	}
    	DB.Create(sameUsers)
    
    	if err := DB.Model(&User{}).Where("name = ?", "count-4").Group("name").Count(&count11).Error; err != nil || count11 != 1 {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Sep 08 09:19:22 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  5. docs/site-replication/run-ssec-object-replication.sh

    ./mc ls minio1/test-bucket --insecure
    count1=$(./mc ls minio1/test-bucket/plainfile --insecure | wc -l)
    if [ "${count1}" -ne 1 ]; then
    	echo "BUG: object minio1/test-bucket/plainfile not found"
    	exit_1
    fi
    count2=$(./mc ls minio1/test-bucket/encrypted --insecure | wc -l)
    if [ "${count2}" -ne 1 ]; then
    	echo "BUG: object minio1/test-bucket/encrypted not found"
    	exit_1
    fi
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Sep 24 08:03:58 GMT 2024
    - 9.9K bytes
    - Click Count (0)
  6. docs/site-replication/run-ssec-object-replication-with-compression.sh

    ./mc ls minio1/test-bucket --insecure
    count1=$(./mc ls minio1/test-bucket/plainfile --insecure | wc -l)
    if [ "${count1}" -ne 1 ]; then
    	echo "BUG: object minio1/test-bucket/plainfile not found"
    	exit_1
    fi
    count2=$(./mc ls minio1/test-bucket/encrypted --insecure | wc -l)
    if [ "${count2}" -ne 1 ]; then
    	echo "BUG: object minio1/test-bucket/encrypted not found"
    	exit_1
    fi
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Sep 24 08:03:58 GMT 2024
    - 8.3K bytes
    - Click Count (0)
  7. docs/site-replication/run-sse-kms-object-replication.sh

    ./mc ls minio1/test-bucket --insecure
    count1=$(./mc ls minio1/test-bucket/encrypted --insecure | wc -l)
    if [ "${count1}" -ne 1 ]; then
    	echo "BUG: object minio1/test-bucket/encrypted not found"
    	exit_1
    fi
    count2=$(./mc ls minio1/test-bucket/mpartobj --insecure | wc -l)
    if [ "${count2}" -ne 1 ]; then
    	echo "BUG: object minio1/test-bucket/mpartobj not found"
    	exit_1
    fi
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Oct 10 06:49:55 GMT 2024
    - 11.5K bytes
    - Click Count (0)
  8. tests/main_test.go

    		t.Errorf("Should got error with invalid SQL")
    	}
    
    	var count1, count2 int64
    	DB.Model(&User{}).Count(&count1)
    	if count1 <= 0 {
    		t.Errorf("Should find some users")
    	}
    
    	if DB.Where("name = ?", "jinzhu; delete * from users").First(&User{}).Error == nil {
    		t.Errorf("Should got error with invalid SQL")
    	}
    
    	DB.Model(&User{}).Count(&count2)
    	if count1 != count2 {
    		t.Errorf("No user should not be deleted by invalid SQL")
    	}
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Thu Mar 24 01:31:58 GMT 2022
    - 1.4K bytes
    - Click Count (0)
  9. docs/site-replication/run-replication-with-checksum-header.sh

    echo "Objects from replicated site"
    ./mc ls minio2/test-bucket --insecure
    count1=$(./mc ls minio2/test-bucket/obj --insecure | wc -l)
    if [ "${count1}" -ne 1 ]; then
    	echo "BUG: object minio1/test-bucket/obj not replicated"
    	exit_1
    fi
    count2=$(./mc ls minio2/test-bucket/mpartobj --insecure | wc -l)
    if [ "${count2}" -ne 1 ]; then
    	echo "BUG: object minio1/test-bucket/mpartobj not replicated"
    	exit_1
    fi
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Jan 20 14:49:07 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  10. docs/bucket/replication/setup_ilm_expiry_replication.sh

    ./mc ilm edit --id "${id}" --expire-days "100" sitea/bucket
    sleep 30s
    
    count1=$(./mc ilm rule list sitea/bucket --json | jq '.config.Rules[0].Expiration.Days')
    count2=$(./mc ilm rule list siteb/bucket --json | jq '.config.Rules[0].Expiration.Days')
    if [ $count1 -ne 100 ]; then
    	echo "BUG: Expiration days not changed on 'sitea'"
    	exit 1
    fi
    if [ $count2 -ne 100 ]; then
    	echo "BUG: Modified ILM expiry rule not replicated to 'siteb'"
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Sep 06 09:42:21 GMT 2024
    - 12.8K bytes
    - Click Count (0)
Back to Top