Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 98 for exit_1 (0.14 sec)

  1. misc/wasm/wasm_exec_node.js

    go.argv = process.argv.slice(2);
    go.env = Object.assign({ TMPDIR: require("os").tmpdir() }, process.env);
    go.exit = process.exit;
    WebAssembly.instantiate(fs.readFileSync(process.argv[2]), go.importObject).then((result) => {
    	process.on("exit", (code) => { // Node.js exits if no event handler is pending
    		if (code === 0 && !go.exited) {
    			// deadlock, make Go print error and stack traces
    			go._pendingEvent = { id: 0 };
    			go._resume();
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 30 18:49:42 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  2. src/os/signal/signal_windows_test.go

    	if err != nil {
    		t.Fatalf("Start failed: %v", err)
    	}
    	go func() {
    		time.Sleep(1 * time.Second)
    		sendCtrlBreak(t, cmd.Process.Pid)
    	}()
    	err = cmd.Wait()
    	if err != nil {
    		t.Fatalf("Program exited with error: %v\n%v", err, buf.String())
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 21 23:07:55 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/testsanitizers/asan_test.go

    						!strings.Contains(out, noSymbolizer) &&
    						compilerSupportsLocation() {
    
    						t.Errorf("%#q exited without expected location of the error\n%s; got failure\n%s", strings.Join(cmd.Args, " "), tc.errorLocation, out)
    					}
    					return
    				}
    				t.Fatalf("%#q exited without expected memory access error\n%s; got failure\n%s", strings.Join(cmd.Args, " "), tc.memoryAccessError, out)
    			}
    			mustRun(t, cmd)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 01:37:31 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  4. src/cmd/go/internal/tool/tool.go

    		close(c)
    	}
    	if err != nil {
    		// Only print about the exit status if the command
    		// didn't even run (not an ExitError) or it didn't exit cleanly
    		// or we're printing command lines too (-x mode).
    		// Assume if command exited cleanly (even with non-zero status)
    		// it printed any messages it wanted to print.
    		if e, ok := err.(*exec.ExitError); !ok || !e.Exited() || cfg.BuildX {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 18:02:11 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  5. src/runtime/testdata/testprogcgo/lockosthread.go

    		println("requires GOMAXPROCS=1")
    		os.Exit(1)
    	}
    
    	ready := make(chan bool, 1)
    	go func() {
    		// Because GOMAXPROCS=1, this *should* be on the main
    		// thread. Stay there.
    		runtime.LockOSThread()
    		self := C.pthread_self()
    		if C.pthread_equal(mainThread, self) == 0 {
    			println("failed to start goroutine on main thread")
    			os.Exit(1)
    		}
    		// Exit with the thread locked, which should exit the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 02 20:21:33 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/util/error.go

    	// ErrExit is an error returned when kubeadm is about to exit
    	ErrExit = errors.New("exit")
    )
    
    // fatal prints the message if set and then exits.
    func fatal(msg string, code int) {
    	if len(msg) > 0 {
    		// add newline if needed
    		if !strings.HasSuffix(msg, "\n") {
    			msg += "\n"
    		}
    
    		fmt.Fprint(os.Stderr, msg)
    	}
    	os.Exit(code)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 25 16:35:10 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/testsanitizers/msan_test.go

    			cmd := hangProneCmd(outPath)
    			if tc.wantErr {
    				out, err := cmd.CombinedOutput()
    				if err != nil {
    					return
    				}
    				t.Fatalf("%#q exited without error; want MSAN failure\n%s", strings.Join(cmd.Args, " "), out)
    			}
    			mustRun(t, cmd)
    		})
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:30:58 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  8. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/logging/DaemonMessages.java

        public final static String ABOUT_TO_START_RELAYING_LOGS = "About to start relaying all logs to the client via the connection.";
        public final static String DAEMON_VM_SHUTTING_DOWN = "Daemon vm is shutting down... The daemon has exited normally or was terminated in response to a user interrupt.";
        public final static String REMOVING_PRESENCE_DUE_TO_STOP = "Stop requested. Daemon is removing its presence from the registry...";
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  9. pilot/pkg/status/distribution/leak_test.go

    package distribution
    
    import (
    	"testing"
    
    	"istio.io/istio/tests/util/leak"
    )
    
    func TestMain(m *testing.M) {
    	// CheckMain asserts that no goroutines are leaked after a test package exits.
    	leak.CheckMain(m)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 17 12:28:05 UTC 2021
    - 797 bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/route/leak_test.go

    package route
    
    import (
    	"testing"
    
    	"istio.io/istio/tests/util/leak"
    )
    
    func TestMain(m *testing.M) {
    	// CheckMain asserts that no goroutines are leaked after a test package exits.
    	leak.CheckMain(m)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 790 bytes
    - Viewed (0)
Back to top