- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,225 for pcount (0.18 sec)
-
src/internal/coverage/cformat/format.go
if fm.cm == coverage.CtrModeSet { if count != 0 || pcount != 0 { result = 1 } } else { // Use saturating arithmetic. result, _ = cmerge.SaturatingAdd(pcount, count) } fm.p.unitTable[ukey] = result } // sortUnits sorts a slice of extcu objects in a package according to // source position information (e.g. file and line). Note that we don't // include function name as part of the sorting criteria, the thinking
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 9.7K bytes - Viewed (0) -
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/measure/Amount.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 6.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/width_test.go
}, } for _, test := range tests { t.Run(test.name, func(t *testing.T) { counts := test.counts if len(counts) == 0 { counts = map[string]int64{} } countsFn := func(key string) (int64, error) { return counts[key], test.countErr } watchCountsFn := func(_ *apirequest.RequestInfo) int { return test.watchCount }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 17K bytes - Viewed (0) -
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
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Wed Jun 12 10:49:45 UTC 2024 - 7.1K bytes - Viewed (0) -
testing/internal-performance-testing/src/test/groovy/org/gradle/performance/generator/DependencyTreeTest.groovy
then: tree.getTransitiveChildClassIds(168) == [159, 163, 167, 51, 103, 155, 12, 64, 116] } private static int amount(int count, int level) { if (level == 0) { return 0 } Math.pow(count, level) + amount(count, level - 1) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 6.1K bytes - Viewed (0) -
src/internal/trace/testdata/cmd/gotraceeventstats/main.go
fmt.Fprintf(w, "Event\tBytes\t%%\tCount\t%%\n") fmt.Fprintf(w, "-\t-\t-\t-\t-\n") for i := range stats { stat := &stats[i] name := "" if int(stat.typ) >= len(specs) { name = fmt.Sprintf("<unknown (%d)>", stat.typ) } else { name = specs[stat.typ].Name } bytesPct := float64(stat.bytes) / float64(cr.bytesRead) * 100 countPct := float64(stat.count) / float64(eventsRead) * 100
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 20:31:29 UTC 2024 - 2.9K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsFixture.groovy
final String path final int count final List<String> modelNames ModelRequestExpectation(String path, int count) { this.path = path this.count = count this.modelNames = null } ModelRequestExpectation(String path, List<String> names) { this.path = path this.count = names.size() this.modelNames = names
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 17.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multisets.java
implements Serializable { @ParametricNullness private final E element; private final int count; ImmutableEntry(@ParametricNullness E element, int count) { this.element = element; this.count = count; checkNonnegative(count, "count"); } @Override @ParametricNullness public final E getElement() { return element; }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sun Jun 02 13:36:19 UTC 2024 - 41.6K bytes - Viewed (0) -
src/runtime/pprof/protomem.go
// profile is 1-exp(-S/R). func scaleHeapSample(count, size, rate int64) (int64, int64) { if count == 0 || size == 0 { return 0, 0 } if rate <= 1 { // if rate==1 all samples were collected so no adjustment is needed. // if rate<1 treat as unknown and skip scaling. return count, size } avgSize := float64(size) / float64(count) scale := 1 / (1 - math.Exp(-avgSize/float64(rate)))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 14:38:45 UTC 2024 - 2.9K 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: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Wed Jun 12 10:49:45 UTC 2024 - 16K bytes - Viewed (0)