- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 567 for pcount (0.13 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) -
android/guava/src/com/google/common/collect/EnumMultiset.java
@Override public int setCount(E element, int count) { checkIsE(element); checkNonnegative(count, "count"); int index = element.ordinal(); int oldCount = counts[index]; counts[index] = count; size += count - oldCount; if (oldCount == 0 && count > 0) { distinctElements++; } else if (oldCount > 0 && count == 0) { distinctElements--; } return oldCount;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 9K 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) -
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) -
pkg/kubelet/winstats/perfcounter_nodestats.go
// cpu count for all processor groups of the windows node. // more notes for this issue: // same issue in moby: https://github.com/moby/moby/issues/38935#issuecomment-744638345 // solution in hcsshim: https://github.com/microsoft/hcsshim/blob/master/internal/processorinfo/processor_count.go func ProcessorCount() int { if amount := getActiveProcessorCount(allProcessorGroups); amount != 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 26 18:37:21 UTC 2024 - 9.2K bytes - Viewed (0) -
pkg/kube/inject/testdata/inject/auth.non-default-service-account.yaml.injected
John Howard <******@****.***> 1709052916 -0800
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Feb 27 16:55:16 UTC 2024 - 6.6K bytes - Viewed (0) -
pkg/kube/inject/testdata/inject/hello-mount-mtls-certs.yaml.injected
John Howard <******@****.***> 1709052916 -0800
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Feb 27 16:55:16 UTC 2024 - 6.8K bytes - Viewed (0)