- Sort Score
- Result 10 results
- Languages All
Results 91 - 98 of 98 for exit_1 (0.14 sec)
-
internal/logger/logrotate.go
func (w *Writer) Write(p []byte) (n int, err error) { return w.pw.Write(p) } // Close closes the writer. // Any accepted writes will be flushed. Any new writes will be rejected. // Once Close() exits, files are synchronized to disk. func (w *Writer) Close() error { w.pw.CloseWithError(nil) if w.f != nil { if err := w.closeCurrentFile(); err != nil { return err } } return nil }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 5.8K bytes - Viewed (0) -
src/runtime/coro.go
// as lightweight as absolutely possible. // (The atomic load is free on x86 but not free elsewhere.) next := c.gp if next.ptr() == nil { throw("coroswitch on exited coro") } var self guintptr self.set(gp) if c.gp.cas(next, self) { gnext = next.ptr() break } } // Check if we're switching to ourselves. This case is able to break our
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:09:18 UTC 2024 - 7.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/internal/crashmonitor/monitor.go
if err != nil { log.Fatalf("failed to read from input pipe: %v", err) } // If the only line is the sentinel, it wasn't a crash. if bytes.Count(data, []byte("\n")) < 2 { childExitHook() os.Exit(0) // parent exited without crash report } log.Printf("parent reported crash:\n%s", data) // Parse the stack out of the crash report // and record a telemetry count for it. name, err := telemetryCounterName(data)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:57:25 UTC 2024 - 7.6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/plan9/syscall_plan9.go
RawSyscall(SYS_ERRSTR, uintptr(unsafe.Pointer(&buf[0])), uintptr(len(buf)), 0) buf[len(buf)-1] = 0 return cstring(buf[:]) } // Implemented in assembly to import from runtime. func exit(code int) func Exit(code int) { exit(code) } func readnum(path string) (uint, error) { var b [12]byte fd, e := Open(path, O_RDONLY) if e != nil { return 0, e } defer Close(fd) n, e := Pread(fd, b[:], 0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 16 22:24:28 UTC 2022 - 7K bytes - Viewed (0) -
src/runtime/os_aix.go
) if pthread_attr_init(&attr) != 0 { writeErrStr(failthreadcreate) exit(1) } if pthread_attr_setstacksize(&attr, threadStackSize) != 0 { writeErrStr(failthreadcreate) exit(1) } if pthread_attr_setdetachstate(&attr, _PTHREAD_CREATE_DETACHED) != 0 { writeErrStr(failthreadcreate) exit(1) } // Disable signals during create, so that the new thread starts
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 8.9K bytes - Viewed (0) -
src/runtime/tracecpu.go
} // traceStopReadCPU blocks until the trace CPU reading goroutine exits. // // traceAdvanceSema must be held, and tracing must be disabled. func traceStopReadCPU() { if traceEnabled() { throw("traceStopReadCPU called with trace enabled") } // Once we close the profbuf, we'll be in one of two situations: // - The logger goroutine has already exited because it observed // that the trace is disabled.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 17:03:35 UTC 2024 - 8.7K bytes - Viewed (0) -
src/syscall/syscall_plan9.go
} return } type Waitmsg struct { Pid int Time [3]uint32 Msg string } func (w Waitmsg) Exited() bool { return true } func (w Waitmsg) Signaled() bool { return false } func (w Waitmsg) ExitStatus() int { if len(w.Msg) == 0 { // a normal exit returns no message return 0 } return 1 } //sys await(s []byte) (n int, err error)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:03:59 UTC 2024 - 9.4K bytes - Viewed (0) -
src/cmd/link/internal/ld/outbuf.go
} bufLen := len(out.buf) heapLen := len(out.heap) total := uint64(bufLen + heapLen) if heapLen != 0 { if err := out.Mmap(total); err != nil { // Mmap will copy out.heap over to out.buf Exitf("mapping output file failed: %v", err) } } return true } // maxOutBufHeapLen limits the growth of the heap area. const maxOutBufHeapLen = 10 << 20
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 17 19:51:29 UTC 2022 - 8.1K bytes - Viewed (0)