- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 291 for lr (0.02 sec)
-
src/runtime/signal_arm.go
// Push the LR to stack, as we'll clobber it in order to // push the call. The function being pushed is responsible // for restoring the LR and setting the SP back. // This extra slot is known to gentraceback. sp := c.sp() - 4 c.set_sp(sp) *(*uint32)(unsafe.Pointer(uintptr(sp))) = c.lr() // Set up PC and LR to pretend the function being signaled // calls targetPC at resumePC.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 2.5K bytes - Viewed (0) -
src/runtime/signal_arm64.go
func (c *sigctxt) sigsp() uintptr { return uintptr(c.sp()) } func (c *sigctxt) siglr() uintptr { return uintptr(c.lr()) } // preparePanic sets up the stack to look like a call to sigpanic. func (c *sigctxt) preparePanic(sig uint32, gp *g) { // We arrange lr, and pc to pretend the panicking // function calls sigpanic directly. // Always save LR to stack so that panics in leaf // functions are correctly handled. This smashes
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 05 18:16:00 UTC 2023 - 3.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/decompose_resource_ops.td
] >; // This decomposition is only correct inside XLA as it ignores use_locking // attribute. // accum = accum * momentum + grad; // var -= grad * lr + accum * momentum * lr def DecomposeResourceApplyMomentumOpNesterov : Pattern< (TF_ResourceApplyMomentumOp:$src_op $var_resource, $accum_resource, $lr, $grad, $momentum,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 22 19:47:48 UTC 2024 - 20.7K bytes - Viewed (0) -
src/runtime/cgo/signal_ios_arm64.s
// appropriate state inside the g object. We give it the faulting // PC on the stack, then put it in the LR before calling sigpanic. // Build a 32-byte stack frame for us for this call. // Saved LR (none available) is at the bottom, // then the PC argument for setsigsegv, // then a copy of the LR for us to restore. MOVD.W $0, -32(RSP) MOVD R1, 8(RSP) MOVD R2, 16(RSP) BL runtime·setsigsegv(SB) MOVD 8(RSP), R1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 06 22:54:58 UTC 2020 - 1.8K bytes - Viewed (0) -
src/debug/dwarf/line_test.go
} table = append(table, line) } // Test that Reset returns to the first line. lr.Reset() if err := lr.Next(&line); err != nil { t.Fatal("lr.Next after Reset failed:", err) } else if line != table[0] { t.Fatal("lr.Next after Reset returned", line, "instead of", table[0]) } // Check that entries match when seeking backward. for i := len(posTable) - 1; i >= 0; i-- {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 18 20:34:36 UTC 2023 - 14.5K bytes - Viewed (0) -
src/os/zero_copy_linux.go
return } written, handled, err = pollSplice(&f.pfd, pfd, remain) if lr != nil { lr.N = remain - written } return written, handled, wrapSyscallError("splice", err) } func (f *File) copyFileRange(r io.Reader) (written int64, handled bool, err error) { var ( remain int64 lr *io.LimitedReader ) if lr, r, remain = tryLimitedReader(r); remain <= 0 { return 0, true, nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 18:12:56 UTC 2024 - 4.6K bytes - Viewed (0) -
src/net/splice_linux.go
func spliceFrom(c *netFD, r io.Reader) (written int64, err error, handled bool) { var remain int64 = 1<<63 - 1 // by default, copy until EOF lr, ok := r.(*io.LimitedReader) if ok { remain, r = lr.N, lr.R if remain <= 0 { return 0, nil, true } } var s *netFD switch v := r.(type) { case *TCPConn: s = v.fd case tcpConnWithoutWriteTo: s = v.fd
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 21:49:26 UTC 2024 - 1.7K bytes - Viewed (0) -
src/runtime/mkpreempt.go
p("MOVD LR, R31") p("MOVDU R31, -%d(R1)", l.stack) // allocate frame, save PC of interrupted instruction (in LR) l.save() p("CALL ·asyncPreempt2(SB)") l.restore() p("MOVD %d(R1), R31", l.stack) // sigctxt.pushCall has pushed LR, R2, R12 (at interrupt) on stack, restore them p("MOVD R31, LR") p("MOVD %d(R1), R2", l.stack+8)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 20 17:19:36 UTC 2023 - 15.3K bytes - Viewed (0) -
src/net/sendfile_linux.go
// if handled == false, sendFile performed no work. func sendFile(c *netFD, r io.Reader) (written int64, err error, handled bool) { var remain int64 = 1<<63 - 1 // by default, copy until EOF lr, ok := r.(*io.LimitedReader) if ok { remain, r = lr.N, lr.R if remain <= 0 { return 0, nil, true } } f, ok := r.(*os.File) if !ok { return 0, nil, false } sc, err := f.SyscallConn() if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 18:12:56 UTC 2024 - 1.2K bytes - Viewed (0) -
src/runtime/defs_windows_arm.go
// license that can be found in the LICENSE file. package runtime // NOTE(rsc): _CONTEXT_CONTROL is actually 0x200001 and should include PC, SP, and LR. // However, empirically, LR doesn't come along on Windows 10 // unless you also set _CONTEXT_INTEGER (0x200002). // Without LR, we skip over the next-to-bottom function in profiles // when the bottom function is frameless. // So we set both here, to make a working _CONTEXT_CONTROL.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 05 08:26:52 UTC 2023 - 2.6K bytes - Viewed (0)