Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 261 for lr (0.02 sec)

  1. src/cmd/internal/sys/arch.go

    	HasLR:          true,
    	FixedFrameSize: 4, // LR
    }
    
    var ArchARM64 = &Arch{
    	Name:           "arm64",
    	Family:         ARM64,
    	ByteOrder:      binary.LittleEndian,
    	PtrSize:        8,
    	RegSize:        8,
    	MinLC:          4,
    	Alignment:      1,
    	CanMergeLoads:  true,
    	CanJumpTable:   true,
    	HasLR:          true,
    	FixedFrameSize: 8, // LR
    }
    
    var ArchLoong64 = &Arch{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 13 19:51:03 UTC 2022
    - 6.2K bytes
    - Viewed (0)
  2. src/runtime/defs_windows_arm64.go

    // license that can be found in the LICENSE file.
    
    package runtime
    
    // NOTE(rsc): _CONTEXT_CONTROL is actually 0x400001 and should include PC, SP, and LR.
    // However, empirically, LR doesn't come along on Windows 10
    // unless you also set _CONTEXT_INTEGER (0x400002).
    // 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
    - 3.1K bytes
    - Viewed (0)
  3. 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)
  4. src/runtime/testdata/testprog/badtraceback.go

    	go badLR1()
    	select {}
    }
    
    //go:noinline
    func badLR1() {
    	// We need two frames on LR machines because we'll smash this
    	// frame's saved LR.
    	badLR2(0)
    }
    
    //go:noinline
    func badLR2(arg int) {
    	// Smash the return PC or saved LR.
    	lrOff := unsafe.Sizeof(uintptr(0))
    	if runtime.GOARCH == "ppc64" || runtime.GOARCH == "ppc64le" {
    		lrOff = 32 // FIXED_FRAME or sys.MinFrameSize
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 06 23:02:28 UTC 2021
    - 1.2K bytes
    - Viewed (0)
  5. 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)
  6. src/runtime/sys_loong64.go

    import "unsafe"
    
    // adjust Gobuf as if it executed a call to fn with context ctxt
    // and then did an immediate Gosave.
    func gostartcall(buf *gobuf, fn, ctxt unsafe.Pointer) {
    	if buf.lr != 0 {
    		throw("invalid use of gostartcall")
    	}
    	buf.lr = buf.pc
    	buf.pc = uintptr(fn)
    	buf.ctxt = ctxt
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 20 15:12:31 UTC 2022
    - 489 bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top