Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 1,727 for exit2 (0.07 sec)

  1. src/packaging/rpm/init.d/fess

    rh_status_q() {
        rh_status >/dev/null 2>&1
    }
    
    
    case "$1" in
        start)
            rh_status_q && exit 0
            $1
            ;;
        stop)
            rh_status_q || exit 0
            $1
            ;;
        restart)
            $1
            ;;
        reload)
            rh_status_q || exit 7
            $1
            ;;
        force-reload)
            force_reload
            ;;
        status)
            rh_status
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Sun Jan 15 06:32:15 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/testcarchive/testdata/main3.c

    	res = pthread_create(&tid, NULL, provokeSIGPIPE, NULL);
    	if (res != 0) {
    		fprintf(stderr, "pthread_create: %s\n", strerror(res));
    		exit(EXIT_FAILURE);
    	}
    
    	res = pthread_join(tid, NULL);
    	if (res != 0) {
    		fprintf(stderr, "pthread_join: %s\n", strerror(res));
    		exit(EXIT_FAILURE);
    	}
    
    	if (verbose) {
    		printf("calling sigaction\n");
    	}
    
    	memset(&sa, 0, sizeof sa);
    	sa.sa_sigaction = ioHandler;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/execarchive.go

    	argv0 := argv[0]
    	if filepath.Base(argv0) == argv0 {
    		argv0, err = exec.LookPath(argv0)
    		if err != nil {
    			Exitf("cannot find %s: %v", argv[0], err)
    		}
    	}
    	if ctxt.Debugvlog != 0 {
    		ctxt.Logf("invoking archiver with syscall.Exec()\n")
    	}
    	err = syscall.Exec(argv0, argv, os.Environ())
    	if err != nil {
    		Exitf("running %s failed: %v", argv[0], err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 876 bytes
    - Viewed (0)
  4. src/runtime/sys_linux_386.s

    	INT $3	// not reached
    	RET
    
    TEXT exit1<>(SB),NOSPLIT,$0
    	MOVL	$SYS_exit, AX
    	MOVL	code+0(FP), BX
    	INVOKE_SYSCALL
    	INT $3	// not reached
    	RET
    
    // func exitThread(wait *atomic.Uint32)
    TEXT runtime·exitThread(SB),NOSPLIT,$0-4
    	MOVL	wait+0(FP), AX
    	// We're done using the stack.
    	MOVL	$0, (AX)
    	MOVL	$1, AX	// exit (just this thread)
    	MOVL	$0, BX	// exit code
    	INT	$0x80	// no stack; must not use CALL
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 24 18:53:44 UTC 2023
    - 17.9K bytes
    - Viewed (0)
  5. src/runtime/testdata/testprog/memprof.go

    	f, err := os.CreateTemp("", "memprof")
    	if err != nil {
    		fmt.Fprintln(os.Stderr, err)
    		os.Exit(2)
    	}
    
    	if err := pprof.WriteHeapProfile(f); err != nil {
    		fmt.Fprintln(os.Stderr, err)
    		os.Exit(2)
    	}
    
    	name := f.Name()
    	if err := f.Close(); err != nil {
    		fmt.Fprintln(os.Stderr, err)
    		os.Exit(2)
    	}
    
    	fmt.Println(name)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 09 19:12:23 UTC 2020
    - 869 bytes
    - Viewed (0)
  6. test/fixedbugs/issue13162.go

    		os.Exit(1)
    	}
    
    	i = -1
    	r = '\x00'
    	for i, r = range s {
    		b[i] = byte(r)
    	}
    	if want := n - 1; i != want {
    		fmt.Printf("index after range with side-effect = %d want %d\n", i, want)
    		os.Exit(1)
    	}
    	if want := rune(n); r != want {
    		fmt.Printf("rune after range with side-effect = %q want %q\n", r, want)
    		os.Exit(1)
    	}
    
    	i = -1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 30 18:17:20 UTC 2016
    - 1.6K bytes
    - Viewed (0)
  7. src/syscall/exec_windows_test.go

    		// Parent does nothing. It is just used as a parent of a child process.
    		time.Sleep(time.Minute)
    		os.Exit(0)
    	}
    
    	if os.Getenv("GO_WANT_HELPER_PROCESS") == "child" {
    		// in child process
    		dumpPath := os.Getenv("GO_WANT_HELPER_PROCESS_FILE")
    		if dumpPath == "" {
    			fmt.Fprintf(os.Stderr, "Dump file path cannot be blank.")
    			os.Exit(1)
    		}
    		err := os.WriteFile(dumpPath, []byte(fmt.Sprintf("%d", os.Getppid())), 0644)
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:29 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  8. test/fixedbugs/issue9355.go

    	out, err := exec.Command(cmd, args...).CombinedOutput()
    	if err != nil {
    		fmt.Println(string(out))
    		fmt.Println(err)
    		os.Exit(1)
    	}
    	return out
    }
    
    func check(err error) {
    	if err != nil {
    		fmt.Println("BUG:", err)
    		os.Exit(1)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  9. internal/s3select/message.go

    	// Exit conditions:
    	//
    	// 1. If a writer.write() returns false, select loop below exits and
    	// closes `doneCh` to indicate to caller to also exit.
    	//
    	// 2. If caller (Evaluate()) has an error, it sends an error
    	// message and waits for this go-routine to quit in
    	// FinishWithError()
    	//
    	// 3. If caller is done, it waits for this go-routine to exit
    	// in Finish()
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Aug 30 15:26:43 UTC 2022
    - 15.2K bytes
    - Viewed (0)
  10. test/linkx_run.go

    	err := cmd.Run()
    	if err != nil {
    		fmt.Println(errbuf.String())
    		fmt.Println(out.String())
    		fmt.Println(err)
    		os.Exit(1)
    	}
    
    	want := "hello\nhello\nhello\ntrumped\ntrumped\ntrumped\n"
    	got := out.String()
    	if got != want {
    		fmt.Printf("got %q want %q\n", got, want)
    		os.Exit(1)
    	}
    
    	// Issue 8810
    	cmd = exec.Command("go", "run", "-ldflags=-X main.tbd", "linkx.go")
    	_, err = cmd.CombinedOutput()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1.7K bytes
    - Viewed (0)
Back to top