- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 43 for osExit (0.13 sec)
-
src/runtime/os_freebsd_arm.go
print("a binary compiled for VFPv3 hard floating point. Recompile adding ,softfloat\n") print("to GOARM or changing GOARM to 6.\n") exit(1) } // osinit not called yet, so ncpu not set: must use getncpu directly. if getncpu() > 1 && goarm < 7 { print("runtime: this system has multiple CPUs and must use\n") print("atomic synchronization instructions. Recompile using GOARM=7.\n")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:34:30 UTC 2023 - 1.4K bytes - Viewed (0) -
src/runtime/os_openbsd_syscall2.go
// //go:noescape func write1(fd uintptr, p unsafe.Pointer, n int32) int32 //go:noescape func open(name *byte, mode, perm int32) int32 // return value is only set on linux to be used in osinit(). func madvise(addr unsafe.Pointer, n uintptr, flags int32) int32 // exitThread terminates the current thread, writing *wait = freeMStack when // the stack is safe to reclaim. // //go:noescape
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 2.5K bytes - Viewed (0) -
src/runtime/os_wasm.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package runtime import ( "internal/runtime/atomic" "unsafe" ) func osinit() { // https://webassembly.github.io/spec/core/exec/runtime.html#memory-instances physPageSize = 64 * 1024 initBloc() ncpu = 1 getg().m.procid = 2 } const _SIGSEGV = 0xb func sigpanic() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 3.2K bytes - Viewed (0) -
tensorflow/cc/ops/while_loop_test.cc
CreateLoop(LessThanTenCond, AddOneBody); // Verify some output invariants WhileContext* while_ctx; for (int i = 0; i < outputs_.size(); ++i) { Node* node = outputs_[i].node(); ASSERT_TRUE(node->IsExit()) << "Output node " << i << ":\n" << node->DebugString(); ASSERT_TRUE(node->while_ctx() != nullptr) << i; if (i == 0) { while_ctx = node->while_ctx();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 13 22:30:58 UTC 2023 - 6.4K bytes - Viewed (0) -
src/runtime/os_openbsd.go
// semawakeup can be called on signal stack. systemstack(func() { print("thrwakeup addr=", &mp.waitsemacount, " sem=", mp.waitsemacount, " ret=", ret, "\n") }) } } func osinit() { ncpu = getncpu() physPageSize = getPageSize() } var urandom_dev = []byte("/dev/urandom\x00") //go:nosplit func readRandom(r []byte) int { fd := open(&urandom_dev[0], 0 /* O_RDONLY */, 0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 6.2K bytes - Viewed (0) -
src/runtime/os_aix.go
continue } throw("sem_wait") } return 0 } //go:nosplit func semawakeup(mp *m) { if sem_post((*semt)(unsafe.Pointer(mp.waitsema))) != 0 { throw("sem_post") } } func osinit() { // Call miniterrno so that we can safely make system calls // before calling minit on m0. miniterrno() ncpu = int32(sysconf(__SC_NPROCESSORS_ONLN)) physPageSize = sysconf(__SC_PAGE_SIZE) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 8.9K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_cluster_util.cc
frame_id = cycles->NewNode(); } return frame_id; }; for (Edge const* edge : graph->edges()) { if (edge->dst()->IsEnter() || edge->src()->IsExit()) { const char* src_type = "pre-enter"; const char* dst_type = "post-exit"; int src = edge->src()->id(); int dst = edge->dst()->id(); if (edge->dst()->IsEnter()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 29 08:39:39 UTC 2024 - 21.3K bytes - Viewed (0) -
src/runtime/os_dragonfly.go
tid2: nil, } // TODO: Check for error. retryOnEAGAIN(func() int32 { lwp_create(¶ms) return 0 }) sigprocmask(_SIG_SETMASK, &oset, nil) } 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 - 7.1K bytes - Viewed (0) -
tensorflow/cc/framework/gradients.cc
// TODO(skyewm): handle NoGradient in while loop if (summed_grads == NoGradient()) { return errors::Unimplemented( "Missing gradient into while loop not yet implemented"); } DCHECK(exit_node->IsExit()); WhileContext* while_ctx = exit_node->while_ctx(); DCHECK(while_ctx != nullptr); // Record 'summed_grads' as the backprop input associated with 'exit_node'
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 13 05:57:22 UTC 2024 - 22K bytes - Viewed (0) -
src/runtime/os_netbsd.go
// At this point all signals are blocked, so there is no race. // //go:nosplit func netbsdMstart0() { st := stackt{ss_flags: _SS_DISABLE} sigaltstack(&st, nil) mstart0() } func osinit() { ncpu = getncpu() if physPageSize == 0 { physPageSize = getPageSize() } needSysmonWorkaround = getOSRev() < 902000000 // NetBSD 9.2 } var urandom_dev = []byte("/dev/urandom\x00")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 10.1K bytes - Viewed (0)