- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 503 for Percent (0.16 sec)
-
src/go/parser/testdata/issue3106.src
package main func f() { var m Mutex c := MakeCond(&m) percent := 0 const step = 10 for i := 0; i < 5; i++ { go func() { for { // Emulates some useful work. time.Sleep(1e8) m.Lock() defer if /* ERROR "expected ';', found 'if'" */ percent == 100 { m.Unlock() break } percent++ if percent % step == 0 { //c.Signal() } m.Unlock() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 02 12:56:53 UTC 2023 - 829 bytes - Viewed (0) -
src/cmd/go/testdata/script/cover_build_simple.txt
! stderr '^warning: GOCOVERDIR not set, no coverage data emitted' go tool covdata percent -i=data/normal stdout 'coverage:.*[1-9][0-9.]+%' # Program makes a direct call to os.Exit(0). env GOCOVERDIR=data/goodexit exec ./example.exe goodexit ! stderr '^warning: GOCOVERDIR not set, no coverage data emitted' go tool covdata percent -i=data/goodexit stdout 'coverage:.*[1-9][0-9.]+%' # Program makes a direct call to os.Exit(1).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 28 11:50:58 UTC 2022 - 3.1K bytes - Viewed (0) -
src/internal/coverage/cformat/fmt_test.go
my/pack2 coverage: 0.0% of statements `) gotPercent := strings.Fields(b2.String()) if !slices.Equal(wantPercent, gotPercent) { t.Errorf("emit percent: got:\n%+v\nwant:\n%+v\n", gotPercent, wantPercent) } // Percent mode with aggregation. withCoverPkg := " in ./..." if err := fm.EmitPercent(&b3, withCoverPkg, false, true); err != nil { t.Fatalf("EmitPercent returned %v", err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 23 11:36:57 UTC 2023 - 3.9K bytes - Viewed (0) -
pilot/pkg/networking/core/route/route_internal_test.go
Mirror: &networking.Destination{}, MirrorPercentage: &networking.Percent{Value: 0.0}, }, want: nil, }, { name: "mirrorpercentage with actual percent", route: &networking.HTTPRoute{ Mirror: &networking.Destination{}, MirrorPercentage: &networking.Percent{Value: 50.0}, }, want: &core.RuntimeFractionalPercent{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat May 11 02:47:57 UTC 2024 - 18.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authentication/request/headerrequest/requestheader_test.go
"alpha": {"alphabetical"}, "alph4num3r1c": {"alphanumeric"}, "percent encoded": {"percent encoded"}, "almost%zzpercent%xxencoded": {"not quite percent encoded"}, "example.com/percent%20encoded": {"url with double percent encoding"}, "example.com/今日は": {"url with unicode"},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 21 14:51:22 UTC 2023 - 8.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/stats/ApiAdminStatsAction.java
public long used; public long committed; public long max; public short percent; } public static class JvmMemoryNonHeapObj { public long used; public long committed; public long max; public short percent; } public static class JvmPoolObj { public String key; public long count;
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 12.1K bytes - Viewed (0) -
src/cmd/covdata/doc.go
specifics on usage of a given mode): 1. Report percent of statements covered in each profiled package $ go tool covdata percent -i=profiledir cov-example/p coverage: 41.1% of statements main coverage: 87.5% of statements $ 2. Report import paths of packages profiled $ go tool covdata pkglist -i=profiledir cov-example/p main $ 3. Report percent statements covered by function:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 03 12:57:25 UTC 2023 - 2K bytes - Viewed (0) -
src/cmd/go/testdata/script/cover_main_import_path.txt
env SAVEGOCOVERDIR=$GOCOVERDIR mkdir $WORK/covdata env GOCOVERDIR=$WORK/covdata exec $WORK/prog.exe # Restore previous GOCOVERDIR setting env GOCOVERDIR=$SAVEGOCOVERDIR # Report percent lines covered. go tool covdata percent -i=$WORK/covdata stdout '\s*mainwithtest\s+coverage:' ! stdout 'main\s+coverage:' # Go test -cover should behave the same way. go test -cover . stdout 'ok\s+mainwithtest\s+\S+\s+coverage:'
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 23 11:36:17 UTC 2023 - 1.1K bytes - Viewed (0) -
platforms/software/testing-base/src/main/resources/org/gradle/api/internal/tasks/testing/report/style.css
.infoBox p { margin: 0; } .counter, .percent { font-size: 120%; font-weight: bold; margin-bottom: 8px; } #duration { width: 125px; } #successRate, .summaryGroup { border: solid 2px #d0d0d0; -moz-border-radius: 10px; border-radius: 10px; } #successRate { width: 140px; margin-left: 35px; } #successRate .percent { font-size: 180%; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 1.1K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/health/gc/GarbageCollectorMonitoringStrategy.java
return thrashingThreshold; } public boolean isAboveHeapUsageThreshold(int percent) { return heapUsageThreshold != -1 && percent >= heapUsageThreshold; } public boolean isAboveNonHeapUsageThreshold(int percent) { return nonHeapUsageThreshold != -1 && percent >= nonHeapUsageThreshold; } public boolean isAboveGcRateThreshold(double gcEventsPerSec) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun May 05 22:23:18 UTC 2024 - 5.9K bytes - Viewed (0)