- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 1,727 for exit2 (0.2 sec)
-
src/runtime/testdata/testprog/timeprof.go
func init() { register("TimeProf", TimeProf) } func TimeProf() { f, err := os.CreateTemp("", "timeprof") if err != nil { fmt.Fprintln(os.Stderr, err) os.Exit(2) } if err := pprof.StartCPUProfile(f); err != nil { fmt.Fprintln(os.Stderr, err) os.Exit(2) } t0 := time.Now() // We should get a profiling signal 100 times a second, // so running for 1/10 second should be sufficient.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 09 19:12:23 UTC 2020 - 813 bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
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) -
test/fixedbugs/issue9355.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 1.3K bytes - Viewed (0) -
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) -
src/runtime/panic.go
// Just print a stack trace and exit. gp.m.dying = 2 print("panic during panic\n") return false case 2: // This is a genuine bug in the runtime, we couldn't even // print the stack trace successfully. gp.m.dying = 3 print("stack trace unavailable\n") exit(4) fallthrough default: // Can't even print! Just exit. exit(5) return false // Need to return something.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 43.8K bytes - Viewed (0)