- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for osExit (0.14 sec)
-
pkg/test/framework/suite.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 17.2K bytes - Viewed (0) -
pkg/test/framework/suite_test.go
defer rtMu.Unlock() rt = nil } // Create a bogus environment for testing. This can be removed when "environments" are removed func newTestSuite(testID string, fn mRunFn, osExit func(int), getSettingsFn getSettingsFunc) *suiteImpl { s := newSuite(testID, fn, osExit, getSettingsFn) s.envFactory = func(ctx resource.Context) (resource.Environment, error) { return kube.FakeEnvironment{}, nil } return s }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 11.5K 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) -
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) -
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)