- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 285 for goexits (0.15 sec)
-
src/go/doc/testdata/testing.go
c.Fail() // Calling runtime.Goexit will exit the goroutine, which // will run the deferred functions in this goroutine, // which will eventually run the deferred lines in tRunner, // which will signal to the test loop that this test is done. // // A previous version of this code said: // // c.duration = ... // c.signal <- c.self // runtime.Goexit() //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Oct 02 02:28:27 UTC 2022 - 11.8K bytes - Viewed (0) -
src/cmd/internal/objabi/funcid.go
"corostart": abi.FuncID_corostart, "debugCallV2": abi.FuncID_debugCallV2, "gcBgMarkWorker": abi.FuncID_gcBgMarkWorker, "rt0_go": abi.FuncID_rt0_go, "goexit": abi.FuncID_goexit, "gogo": abi.FuncID_gogo, "gopanic": abi.FuncID_gopanic, "handleAsyncEvent": abi.FuncID_handleAsyncEvent, "main": abi.FuncID_runtime_main,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 06 21:33:59 UTC 2023 - 1.6K bytes - Viewed (0) -
test/inline_caller.go
} // -1 means don't care var expected = []wantFrame{ 0: {"main.h", 36}, 1: {"main.g", 31}, 2: {"main.f", 27}, 3: {"main.testCaller", 42}, 4: {"main.main", 68}, 5: {"runtime.main", -1}, 6: {"runtime.goexit", -1}, } func main() { for i := 0; i <= 6; i++ { frame := testCaller(i) // line 68 fn := runtime.FuncForPC(frame.pc) if expected[i].line >= 0 && frame.line != expected[i].line {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 08 21:54:04 UTC 2019 - 1.4K bytes - Viewed (0) -
test/typeparam/graph.go
18: {exits: [10]int{down: 16, east: 19, west: 18, up: 22}}, 19: {exits: [10]int{up: 29, west: 18, ne: 15, east: 20, south: 30}}, 20: {exits: [10]int{ne: 19, west: 20, se: 21}}, 21: {exits: [10]int{north: 20}}, // Dead End 22: {exits: [10]int{north: 18, east: 24, down: 23, south: 28, west: 26, nw: 22}}, 23: {exits: [10]int{east: 22, west: 28, up: 24}}, 24: {exits: [10]int{ne: 25, down: 23, nw: 28, sw: 26}},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 5.7K bytes - Viewed (0) -
src/runtime/crash_test.go
want := "no goroutines (main called runtime.Goexit) - deadlock!" if !strings.Contains(output, want) { t.Fatalf("output:\n%s\n\nwant output containing: %s", output, want) } } func TestGoexitDefer(t *testing.T) { c := make(chan struct{}) go func() { defer func() { r := recover() if r != nil { t.Errorf("non-nil recover during Goexit") } c <- struct{}{} }()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 19:46:10 UTC 2024 - 27K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/bootstrap/EntryPointTest.groovy
action.execute(listener) } } def "exits with success when action executes successfully"() { when: entryPoint.run() then: 1 * action.execute(!null) 1 * completer.complete() 0 * _._ } def "exits with failure when action reports a failure"() { def failure = new RuntimeException() when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 2K bytes - Viewed (0) -
src/testing/fuzz.go
// called. func fRunner(f *F, fn func(*F)) { // When this goroutine is done, either because runtime.Goexit was called, a // panic started, or fn returned normally, record the duration and send // t.signal, indicating the fuzz test is done. defer func() { // Detect whether the fuzz test panicked or called runtime.Goexit // without calling F.Fuzz, F.Fail, or F.Skip. If it did, panic (possibly
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 22:55:25 UTC 2024 - 22.9K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_fuzz_mutate_crash.txt
stdout 'testdata[/\\]fuzz[/\\]FuzzWithNilPanic[/\\]' stdout 'panic called with nil argument|test executed panic.nil. or runtime.Goexit' go run check_testdata.go FuzzWithNilPanic ! go test -run=FuzzWithGoexit -fuzz=FuzzWithGoexit -fuzztime=100x -fuzzminimizetime=1000x stdout 'testdata[/\\]fuzz[/\\]FuzzWithGoexit[/\\]' stdout 'runtime.Goexit' go run check_testdata.go FuzzWithGoexit
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 16 16:53:11 UTC 2023 - 8.3K bytes - Viewed (0) -
src/runtime/testdata/testprogcgo/pprof.go
// For testing purposes it pretends that all CPU hits in C code are in cpuHog. // Issue #29034: At least 2 frames are required to verify all frames are captured // since runtime/pprof ignores the runtime.goexit base frame if it exists. void pprofCgoTraceback(void* parg) { struct cgoTracebackArg* arg = (struct cgoTracebackArg*)(parg); arg->buf[0] = (uintptr_t)(cpuHog) + 0x10; arg->buf[1] = (uintptr_t)(cpuHog2) + 0x4;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 12 19:45:58 UTC 2021 - 1.7K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultClasspathTransformation.java
// } // ); List<MetadataGraphEdge> exits = graph.getExcidentEdges(node); if (exits != null && exits.size() > 0) { MetadataGraphEdge[] sortedExits = exits.toArray(new MetadataGraphEdge[0]); Arrays.sort(sortedExits, (e1, e2) -> { if (e1.getDepth() == e2.getDepth()) {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 11:28:54 UTC 2023 - 6.3K bytes - Viewed (0)