- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 43 for osExit (0.25 sec)
-
src/runtime/os_darwin.go
for { var b byte entersyscallblock() n := read(sigNoteRead, unsafe.Pointer(&b), 1) exitsyscall() if n != -_EINTR { return } } } // BSD interface for threading. func osinit() { // pthread_create delayed until end of goenvs so that we // can look at the environment first. ncpu = getncpu() physPageSize = getPageSize() osinit_hack() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:34:30 UTC 2023 - 11.9K bytes - Viewed (0) -
src/runtime/os_plan9.go
if fd >= 0 { read(fd, unsafe.Pointer(&b), int32(len(b))) closefd(fd) } c := b[:] for c[0] == ' ' || c[0] == '\t' { c = c[1:] } return uint64(_atoi(c)) } func osinit() { physPageSize = getPageSize() initBloc() ncpu = getproccount() getg().m.procid = getpid() } //go:nosplit func crash() { notify(nil) *(*int)(nil) = 0 } //go:nosplit
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 15:41:45 UTC 2024 - 10.3K bytes - Viewed (0) -
src/runtime/os_freebsd.go
// -buildmode=c-archive or -buildmode=c-shared. // None of the Go runtime is initialized. // //go:nosplit //go:nowritebarrierrec func libpreinit() { initsig(true) } func osinit() { ncpu = getncpu() if physPageSize == 0 { physPageSize = getPageSize() } } var urandom_dev = []byte("/dev/urandom\x00") //go:nosplit func readRandom(r []byte) int {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:34:30 UTC 2023 - 11.6K bytes - Viewed (0) -
src/runtime/os3_solaris.go
func getPageSize() uintptr { n := int32(sysconf(__SC_PAGESIZE)) if n <= 0 { return 0 } return uintptr(n) } func osinit() { // Call miniterrno so that we can safely make system calls // before calling minit on m0. asmcgocall(unsafe.Pointer(abi.FuncPCABI0(miniterrno)), unsafe.Pointer(&libc____errno)) ncpu = getncpu()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 17.6K bytes - Viewed (0) -
src/runtime/signal_unix.go
} // sigsetAllExiting is used by sigblock(true) when a thread is // exiting. var sigsetAllExiting = func() sigset { res := sigset_all // Apply GOOS-specific overrides here, rather than in osinit, // because osinit may be called before sigsetAllExiting is // initialized (#51913). if GOOS == "linux" && iscgo { // #42494 glibc and musl reserve some signals for // internal use and require they not be blocked by
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 10 16:04:54 UTC 2024 - 45K bytes - Viewed (0) -
src/runtime/os_linux.go
v, ok := atoi(slicebytetostringtmp((*byte)(ptr), int(n))) if !ok || v < 0 { v = 0 } if v&(v-1) != 0 { // v is not a power of 2 return 0 } return uintptr(v) } func osinit() { ncpu = getproccount() physHugePageSize = getHugePageSize() osArchInit() } var urandom_dev = []byte("/dev/urandom\x00") func readRandom(r []byte) int {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 25.9K bytes - Viewed (0) -
src/runtime/malloc.go
// // This must be set by the OS init code (typically in osinit) before // mallocinit. var physPageSize uintptr // physHugePageSize is the size in bytes of the OS's default physical huge // page size whose allocation is opaque to the application. It is assumed // and verified to be a power of two. // // If set, this must be set by the OS init code (typically in osinit) before
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 59.6K bytes - Viewed (0) -
src/runtime/os_windows.go
// by Windows to enable long path support. bitField := (*byte)(unsafe.Pointer(stdcall0(_RtlGetCurrentPeb) + PebBitFieldOffset)) *bitField |= IsLongPathAwareProcess canUseLongPaths = true } func osinit() { asmstdcallAddr = unsafe.Pointer(abi.FuncPCABI0(asmstdcall)) loadOptionalSyscalls() preventErrorDialogs() initExceptionHandler() initHighResTimer()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 22:55:25 UTC 2024 - 41.5K bytes - Viewed (0) -
tensorflow/compiler/jit/deadness_analysis.cc
bool IsRootEnter(const Node* n) const { return IsEnter(n) && control_flow_info_[n->id()].parent_frame->IsSource(); } bool IsRootExit(const Node* n) const { return IsExit(n) && control_flow_info_[n->id()].parent_frame->IsSource(); } const Graph& graph_; absl::flat_hash_map<TensorId, Predicate*, TensorId::Hasher> predicate_map_; PredicateFactory predicate_factory_;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 60.4K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.16.md
- github.com/d2g/dhcp4client: [6e570ed](https://github.com/d2g/dhcp4client/tree/6e570ed) - github.com/jteeuwen/go-bindata: [a0ff256](https://github.com/jteeuwen/go-bindata/tree/a0ff256) - github.com/kardianos/osext: [8fef92e](https://github.com/kardianos/osext/tree/8fef92e) - github.com/kr/fs: [2788f0d](https://github.com/kr/fs/tree/2788f0d) - github.com/marstr/guid: [8bdf7d1](https://github.com/marstr/guid/tree/8bdf7d1)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 11 10:00:57 UTC 2021 - 345.2K bytes - Viewed (0)