Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 243 for lr (0.03 sec)

  1. src/runtime/memmove_ppc64x.s

    	SLD	$56, BYTES, TMP
    	LXVL	SRC, TMP, V0
    	STXVL	V0, TGT, TMP
    	RET
    #endif
    
    	MOVD    0(SRC), TMP
    	ADD	$8, SRC
    	MOVD    TMP, 0(TGT)
    	ADD     $8, TGT
    checkbytes:
    	BC	12, 14, LR		// BEQ lr
    #ifdef GOPPC64_power10
    	SLD	$56, BYTES, TMP
    	LXVL	SRC, TMP, V0
    	STXVL	V0, TGT, TMP
    	RET
    #endif
    lt8:	// Move word if possible
    	CMP BYTES, $4
    	BLT lt4
    	MOVWZ 0(SRC), TMP
    	ADD $-4, BYTES
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 16:47:45 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  2. src/testing/iotest/logger_test.go

    	lOut := new(strings.Builder)
    	log.SetPrefix("lr: ")
    	log.SetOutput(lOut)
    	log.SetFlags(0)
    
    	data := []byte("Hello, World!")
    	p := make([]byte, len(data))
    
    	lr := ErrReader(errors.New("io failure"))
    	rl := NewReadLogger("read", lr)
    	n, err := rl.Read(p)
    	if err == nil {
    		t.Fatalf("Unexpectedly succeeded to read: %v", err)
    	}
    
    	wantLogWithHex := fmt.Sprintf("lr: read %x: io failure\n", p[:n])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 07 07:03:10 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  3. src/net/sendfile_windows.go

    //
    // if handled == false, sendFile performed no work.
    func sendFile(fd *netFD, r io.Reader) (written int64, err error, handled bool) {
    	var n int64 = 0 // by default, copy until EOF.
    
    	lr, ok := r.(*io.LimitedReader)
    	if ok {
    		n, r = lr.N, lr.R
    		if n <= 0 {
    			return 0, nil, true
    		}
    	}
    
    	f, ok := r.(*os.File)
    	if !ok {
    		return 0, nil, false
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  4. src/runtime/sys_windows_arm.s

    	ADD	$(16 + callbackArgs__size), R13	// free locals
    	MOVM.IA.W (R13), [R4-R11, R12]	// pop {r4-r11, lr=>r12}
    	ADD	$(4*4), R13	// skip r0-r3
    	B	(R12)	// return
    
    // uint32 tstart_stdcall(M *newm);
    TEXT runtime·tstart_stdcall(SB),NOSPLIT|NOFRAME,$0
    	MOVM.DB.W [R4-R11, R14], (R13)		// push {r4-r11, lr}
    
    	MOVW	m_g0(R0), g
    	MOVW	R0, g_m(g)
    	BL	runtime·save_g(SB)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 21 15:56:43 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/mod/internal/lazyregexp/lazyre.go

    // needed. If the code is being run as part of tests, the regexp compiling will
    // happen immediately.
    func New(str string) *Regexp {
    	lr := &Regexp{str: str}
    	if inTest {
    		// In tests, always compile the regexps early.
    		lr.re()
    	}
    	return lr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 20:38:21 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/decompose_resource_ops.mlir

        // CHECK: [[ACCUM_NEW:%.*]] = "tf.AddV2"([[ACCUM_MOMENTUM]], [[GRAD]])
        // CHECK: "tf.AssignVariableOp"([[ACCUM_HANDLE]], [[ACCUM_NEW]])
        // CHECK: [[GRAD_LR:%.*]] = "tf.Mul"([[GRAD]], [[LR]])
        // CHECK: [[MOMENTUM_LR:%.*]] = "tf.Mul"([[MOMENTUM]], [[LR]])
        // CHECK: [[ACCUM_NEW_MOMENTUM_LR:%.*]] = "tf.Mul"([[ACCUM_NEW]], [[MOMENTUM_LR]])
        // CHECK: [[DELTA:%.*]] = "tf.AddV2"([[GRAD_LR]], [[ACCUM_NEW_MOMENTUM_LR]])
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 19:47:48 UTC 2024
    - 51.3K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/testdata/ppc64.s

    	BR LR                           // JMP LR // 4e800020
    	BCL $20,CR0LT,$1,LR             // 4e800821
    	BCL $20,CR0LT,$0,LR             // 4e800021
    	BCL $20,CR0LT,LR                // 4e800021
    	BCL $20,CR0GT,LR                // 4e810021
    	BCL 20,CR0LT,LR                 // BCL $20,CR0LT,LR // 4e800021
    	BCL 20,undefined_symbol,LR      // BCL $20,CR0LT,LR // 4e800021
    	BCL 20,undefined_symbol+1,LR    // BCL $20,CR0GT,LR // 4e810021
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 21:53:50 UTC 2024
    - 50.2K bytes
    - Viewed (0)
  8. src/runtime/traceback.go

    		// Note that the calls are simple BL without pushing the return
    		// address, so we use LR directly.
    		//
    		// The kernel helpers are frameless leaf functions, so SP and
    		// LR are not touched.
    		frame.pc = frame.lr
    		frame.lr = 0
    	}
    
    	f := findfunc(frame.pc)
    	if !f.valid() {
    		if flags&unwindSilentErrors == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  9. src/runtime/asm_s390x.s

    	// The standard prologue clobbers LR (R14), which is callee-save in
    	// the C ABI, so we have to use NOFRAME and save LR ourselves.
    	MOVD	LR, R1
    	// Also save g, R10, and R11 since they're callee-save in C ABI
    	MOVD	R10, R3
    	MOVD	g, R4
    	MOVD	R11, R5
    
    	MOVD	R2, g
    	BL	runtime·save_g(SB)
    
    	MOVD	R5, R11
    	MOVD	R4, g
    	MOVD	R3, R10
    	MOVD	R1, LR
    	RET
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 25 09:18:28 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  10. src/runtime/signal_riscv64.go

    func (c *sigctxt) pushCall(targetPC, resumePC uintptr) {
    	// 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() - goarch.PtrSize
    	c.set_sp(sp)
    	*(*uint64)(unsafe.Pointer(uintptr(sp))) = c.ra()
    	// 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: Wed Oct 04 02:55:17 UTC 2023
    - 2.9K bytes
    - Viewed (0)
Back to top