- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 355 for START (0.13 sec)
-
src/runtime/trace/trace_test.go
if IsEnabled() { t.Skip("skipping because -test.trace is set") } Stop() buf := new(bytes.Buffer) if err := Start(buf); err != nil { t.Fatalf("failed to start tracing: %v", err) } if err := Start(buf); err == nil { t.Fatalf("succeed to start tracing second time") } Stop() Stop() } func saveTrace(t *testing.T, buf *bytes.Buffer, name string) { if !*saveTraces { return
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 16:44:47 UTC 2024 - 1.3K bytes - Viewed (0) -
platforms/software/testing-base-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/redirector/DefaultStandardOutputRedirectorTest.groovy
redirector.redirectStandardOutputTo(stdOutListener) redirector.start() System.out.print('this is stdout') System.out.flush() then: 1 * stdOutListener.onOutput('this is stdout') } def canRedirectMultipleTimes() { when: redirector.redirectStandardErrorTo(stdErrListener) redirector.start() redirector.stop()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 15:59:04 UTC 2024 - 3.8K bytes - Viewed (0) -
src/cmd/objdump/main.go
// symbols with names matching the regular expression. // // Alternate usage: // // go tool objdump binary start end // // In this mode, objdump disassembles the binary starting at the start address and // stopping at the end address. The start and end addresses are program // counters written in hexadecimal with optional leading 0x prefix. // In this mode, objdump prints a sequence of stanzas of the form:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 2.7K bytes - Viewed (0) -
src/cmd/trace/testdata/testprog/main.go
cpuHog(20 * time.Millisecond) } func cpuHog(dt time.Duration) { start := time.Now() for i := 0; ; i++ { if i%1000 == 0 && time.Since(start) > dt { return } } } func allocHog(dt time.Duration) { start := time.Now() var s [][]byte for i := 0; ; i++ { if i%1000 == 0 { if time.Since(start) > dt { return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 17:15:58 UTC 2024 - 2.5K bytes - Viewed (0) -
src/cmd/trace/goroutinegen.go
} else { gs.stop(ev.Time(), ev.Stack(), ctx) } } if !from.Executing() && to.Executing() { start := ev.Time() if from == trace.GoUndetermined { // Back-date the event to the start of the trace. start = ctx.startTime } gs.start(start, goID, ctx) } if from == trace.GoWaiting { // Goroutine unblocked. gs.unblock(ev.Time(), ev.Stack(), ev.Goroutine(), ctx)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 4.6K bytes - Viewed (0) -
src/internal/trace/testdata/testprog/wait-on-pipe.go
} done <- struct{}{} }() // Give the goroutine ample chance to block on the pipe. time.Sleep(10 * time.Millisecond) // Start tracing. if err := trace.Start(os.Stdout); err != nil { log.Fatalf("failed to start tracing: %v", err) } // This isn't enough to have a full generation pass by default, // but it is generally enough in stress mode. time.Sleep(100 * time.Millisecond)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 1.6K bytes - Viewed (0) -
src/internal/trace/testdata/testprog/gomaxprocs.go
"runtime/trace" "time" ) func main() { // Start a goroutine that calls runtime.GC to try and // introduce some interesting events in between the // GOMAXPROCS calls. go func() { for { runtime.GC() time.Sleep(1 * time.Millisecond) } }() // Start tracing. if err := trace.Start(os.Stdout); err != nil { log.Fatalf("failed to start tracing: %v", err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 967 bytes - Viewed (0) -
src/cmd/compile/internal/ssa/deadstore_test.go
ptrType := c.config.Types.BytePtr fun := c.Fun("entry", Bloc("entry", Valu("start", OpInitMem, types.TypeMem, 0, nil), Valu("sb", OpSB, c.config.Types.Uintptr, 0, nil), Valu("v", OpConstBool, c.config.Types.Bool, 1, nil), Valu("addr", OpAddr, ptrType, 0, nil, "sb"), Goto("loop")), Bloc("loop", Valu("phi", OpPhi, types.TypeMem, 0, nil, "start", "store"),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 25 20:07:26 UTC 2024 - 5.6K bytes - Viewed (0) -
src/path/filepath/symlink.go
if volLen < len(path) && os.IsPathSeparator(path[volLen]) { volLen++ } vol := path[:volLen] dest := vol linksWalked := 0 for start, end := volLen, volLen; start < len(path); start = end { for start < len(path) && os.IsPathSeparator(path[start]) { start++ } end = start for end < len(path) && !os.IsPathSeparator(path[end]) { end++ } // On Windows, "." can be a symlink.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 23:07:50 UTC 2024 - 3.3K bytes - Viewed (0) -
src/runtime/traceevent.go
traceEvStacks // start of a section of the stack table [...traceEvStack] traceEvStack // stack table entry [ID, ...{PC, func string ID, file string ID, line #}] traceEvStrings // start of a section of the string dictionary [...traceEvString] traceEvString // string dictionary entry [ID, length, string] traceEvCPUSamples // start of a section of CPU samples [...traceEvCPUSample]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:47:01 UTC 2024 - 9.2K bytes - Viewed (0)