- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 964 for pcount (0.1 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformerTest.java
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 12.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/Count.java
import javax.annotation.CheckForNull; /** * 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; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Aug 05 00:40:25 UTC 2021 - 1.6K bytes - Viewed (0) -
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: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Oct 30 09:15:49 UTC 2023 - 6.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Count.java
import javax.annotation.CheckForNull; /** * 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; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Aug 05 00:40:25 UTC 2021 - 1.6K bytes - Viewed (0) -
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") }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Mar 24 01:31:58 UTC 2022 - 1.4K bytes - Viewed (0) -
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
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 24 08:03:58 UTC 2024 - 9.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java
return multiset(ImmutableMap.of(value1, count1, value2, count2)); } private static <T> ImmutableMultiset<T> multiset(Map<T, Integer> counts) { ImmutableMultiset.Builder<T> builder = ImmutableMultiset.builder(); for (Entry<T, Integer> entry : counts.entrySet()) { builder.addCopies(entry.getKey(), entry.getValue()); } return builder.build(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Feb 09 22:57:07 UTC 2022 - 8.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java
return multiset(ImmutableMap.of(value1, count1, value2, count2)); } private static <T> ImmutableMultiset<T> multiset(Map<T, Integer> counts) { ImmutableMultiset.Builder<T> builder = ImmutableMultiset.builder(); for (Entry<T, Integer> entry : counts.entrySet()) { builder.addCopies(entry.getKey(), entry.getValue()); } return builder.build(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Feb 09 22:57:07 UTC 2022 - 8.2K bytes - Viewed (0) -
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
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 10 06:49:55 UTC 2024 - 11.5K bytes - Viewed (0) -
tests/delete_test.go
if len(results) != 2 { t.Errorf("failed to return delete data, got %v", results) } var count int64 DB.Model(&User{}).Where("name IN ?", []string{users[0].Name, users[1].Name, users[2].Name}).Count(&count) if count != 1 { t.Errorf("failed to delete data, current count %v", count) } } func TestDeleteReturning(t *testing.T) {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Tue Oct 10 07:03:34 UTC 2023 - 9.4K bytes - Viewed (0)