- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 759 for Count (0.02 sec)
-
tests/named_polymorphic_test.go
} // clear to omit Toy.ID in count hamster2.PreferredToy = Toy{} hamster2.OtherToy = Toy{} if DB.Model(&hamster2).Association("PreferredToy").Count() != 1 { t.Errorf("Hamster's preferred toy count should be 1") } if DB.Model(&hamster2).Association("OtherToy").Count() != 1 { t.Errorf("Hamster's other toy count should be 1") } // Query hamsterToy := Toy{}
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Jul 08 09:59:40 UTC 2020 - 4.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComWrite.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/AutobahnTester.kt
} fun run() { try { val count = getTestCount() println("Test count: $count") for (number in 1..count) { runTest(number, count) } updateReports() } finally { client.dispatcher.executorService.shutdown() } } private fun runTest( number: Long, count: Long, ) { val latch = CountDownLatch(1)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeMultiset.java
@Override public int setCount(@ParametricNullness E element, int count) { checkNonnegative(count, "count"); if (!range.contains(element)) { checkArgument(count == 0); return 0; } AvlNode<E> root = rootReference.get(); if (root == null) { if (count > 0) { add(element, count); } return 0; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 34.1K bytes - Viewed (0) -
tests/associations_has_many_test.go
CheckPet(t, pets[0], *user.Pets[0]) if count := DB.Model(&user).Where("name = ?", user.Pets[1].Name).Association("Pets").Count(); count != 1 { t.Fatalf("should only find one pets, but got %v", count) } if count := DB.Model(&user).Where("name = ?", "not found").Association("Pets").Count(); count != 0 { t.Fatalf("should only find no pet with invalid conditions, but got %v", count) } // Count AssertAssociationCount(t, user, "Pets", 2, "")
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Jun 12 10:49:45 UTC 2024 - 16K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraph.java
setScopedVertices(scopedVertices); this.versionedVertices = scopedVertices || versionedVertices; this.scopedVertices = scopedVertices; int count = countNodes(tree); init(count, count + (count / 2)); processTreeNodes(null, tree, 0, 0); } // ------------------------------------------------------------------------
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.idl
uint32_t sid_index; } LsarTranslatedSid; typedef struct { [range(0,1000)] uint32_t count; [size_is(count)] LsarTranslatedSid *sids; } LsarTransSidArray; typedef struct { unicode_string name; sid_t *sid; } LsarTrustInformation; typedef struct { [range(0,1000)] uint32_t count; [size_is(count)] LsarTrustInformation *domains; uint32_t max_count; } LsarRefDomainList; typedef struct {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 3.1K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/lsarpc.idl
uint32_t sid_index; } LsarTranslatedSid; typedef struct { [range(0,1000)] uint32_t count; [size_is(count)] LsarTranslatedSid *sids; } LsarTransSidArray; typedef struct { unicode_string name; sid_t *sid; } LsarTrustInformation; typedef struct { [range(0,1000)] uint32_t count; [size_is(count)] LsarTrustInformation *domains; uint32_t max_count; } LsarRefDomainList; typedef struct {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3.1K bytes - Viewed (3) -
cmd/os-readdir-common.go
// The maximum number of entries to return count int // Follow directory symlink followDirSymlink bool } // Return all the entries at the directory dirPath. func readDir(dirPath string) (entries []string, err error) { return readDirWithOpts(dirPath, readDirOpts{count: -1}) } // Return up to count entries at the directory dirPath. func readDirN(dirPath string, count int) (entries []string, err error) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 09 23:20:51 UTC 2021 - 1.3K bytes - Viewed (0) -
tests/soft_delete_test.go
t.Errorf("Should find soft deleted record with Unscoped, but got err %s", err) } count = 0 if DB.Unscoped().Model(&User{}).Where("name = ?", user.Name).Count(&count).Error != nil || count != 1 { t.Errorf("Count soft deleted record, expects: %v, count: %v", 1, count) } age = 0 if DB.Unscoped().Model(&User{}).Select("age").Where("name = ?", user.Name).Scan(&age).Error != nil || age != user.Age {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Feb 01 06:40:55 UTC 2023 - 5.7K bytes - Viewed (0)