Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 137 for clobber (0.26 sec)

  1. src/cmd/compile/internal/types2/conversions.go

    			}
    			*cause = msg
    		}
    	}
    
    	// generic cases with specific type terms
    	// (generic operands cannot be constants, so we can ignore x.val)
    	switch {
    	case Vp != nil && Tp != nil:
    		x := *x // don't clobber outer x
    		return Vp.is(func(V *term) bool {
    			if V == nil {
    				return false // no specific types
    			}
    			x.typ = V.typ
    			return Tp.is(func(T *term) bool {
    				if T == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:51:00 UTC 2024
    - 9K bytes
    - Viewed (0)
  2. pkg/controller/replicaset/replica_set_utils.go

    		return rs, nil
    	}
    
    	// Save the generation number we acted on, otherwise we might wrongfully indicate
    	// that we've seen a spec update when we retry.
    	// TODO: This can clobber an update if we allow multiple agents to write to the
    	// same status.
    	newStatus.ObservedGeneration = rs.Generation
    
    	var getErr, updateErr error
    	var updatedRS *apps.ReplicaSet
    	for i, rs := 0, rs; ; i++ {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 07 12:19:51 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  3. src/runtime/sys_windows_arm64.s

    #define TEB_TlsSlots 0x1480
    #define TEB_ArbitraryPtr 0x28
    
    // Note: R0-R7 are args, R8 is indirect return value address,
    // R9-R15 are caller-save, R19-R29 are callee-save.
    //
    // load_g and save_g (in tls_arm64.s) clobber R27 (REGTMP) and R0.
    
    TEXT runtime·asmstdcall_trampoline<ABIInternal>(SB),NOSPLIT,$0
    	B	runtime·asmstdcall(SB)
    
    // void runtime·asmstdcall(void *c);
    TEXT runtime·asmstdcall(SB),NOSPLIT,$16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 21 15:56:43 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  4. src/runtime/mwbbuf.go

    // file deals only with the buffer.
    //
    // The write barrier has a fast path and a slow path. The fast path
    // simply enqueues to a per-P write barrier buffer. It's written in
    // assembly and doesn't clobber any general purpose registers, so it
    // doesn't have the usual overheads of a Go call.
    //
    // When the buffer fills up, the write barrier invokes the slow path
    // (wbBufFlush) to flush the buffer to the GC work queues. In this
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  5. src/runtime/sys_netbsd_arm64.s

    	MOVD	8*36(g), g
    
    	// this might be called in external code context,
    	// where g is not set.
    	// first save R0, because runtime·load_g will clobber it
    	MOVD	R0, 8(RSP)		// signum
    	MOVB	runtime·iscgo(SB), R0
    	CMP 	$0, R0
    	// XXX branch destination
    	BEQ	2(PC)
    	BL	runtime·load_g(SB)
    
    	// Restore signum to R0.
    	MOVW	8(RSP), R0
    	// R1 and R2 already contain info and ctx, respectively.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  6. src/runtime/sys_freebsd_arm64.s

    	SAVE_R19_TO_R28(8*4)
    	SAVE_F8_TO_F15(8*14)
    
    	// this might be called in external code context,
    	// where g is not set.
    	// first save R0, because runtime·load_g will clobber it
    	MOVW	R0, 8(RSP)
    	MOVBU	runtime·iscgo(SB), R0
    	CMP	$0, R0
    	BEQ	2(PC)
    	BL	runtime·load_g(SB)
    
    	// Restore signum to R0.
    	MOVW	8(RSP), R0
    	// R1 and R2 already contain info and ctx, respectively.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  7. src/runtime/tls_mipsx.s

    // NOTE: gogo assumes load_g only clobers g (R30) and REGTMP (R23)
    TEXT runtime·save_g(SB),NOSPLIT|NOFRAME,$0-0
    	MOVB	runtime·iscgo(SB), R23
    	BEQ	R23, nocgo
    
    	MOVW	R3, R23
    	MOVW	g, runtime·tls_g(SB) // TLS relocation clobbers R3
    	MOVW	R23, R3
    
    nocgo:
    	RET
    
    TEXT runtime·load_g(SB),NOSPLIT|NOFRAME,$0-0
    	MOVW	runtime·tls_g(SB), g // TLS relocation clobbers R3
    	RET
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 08 14:52:12 UTC 2023
    - 710 bytes
    - Viewed (0)
  8. src/cmd/compile/internal/test/fixedbugs_test.go

    	"testing"
    )
    
    type T struct {
    	x [2]int64 // field that will be clobbered. Also makes type not SSAable.
    	p *byte    // has a pointer
    }
    
    //go:noinline
    func makeT() T {
    	return T{}
    }
    
    var g T
    
    var sink interface{}
    
    func TestIssue15854(t *testing.T) {
    	for i := 0; i < 10000; i++ {
    		if g.x[0] != 0 {
    			t.Fatalf("g.x[0] clobbered with %x\n", g.x[0])
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 06 18:07:35 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/testdata/amd64dynlinkerror.s

    	MOVQ R15, AX // ERROR "when dynamic linking, R15 is clobbered by a global variable access and is used here"
    	RET
    TEXT ·a8(SB), 0, $0-0
    	CMPL runtime·writeBarrier(SB), $0
    	ADDQ AX, R15 // ERROR "when dynamic linking, R15 is clobbered by a global variable access and is used here"
    	RET
    TEXT ·a9(SB), 0, $0-0
    	CMPL runtime·writeBarrier(SB), $0
    	ORQ R15, R15 // ERROR "when dynamic linking, R15 is clobbered by a global variable access and is used here"
    	RET
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 15 20:45:41 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  10. src/runtime/tls_ppc64x.s

    // thread-local memory, so that we can call externally compiled
    // ppc64 code that will overwrite this register.
    //
    // If !iscgo, this is a no-op.
    //
    // NOTE: setg_gcc<> assume this clobbers only R31.
    TEXT runtime·save_g(SB),NOSPLIT|NOFRAME,$0-0
    #ifndef GOOS_aix
    #ifndef GOOS_openbsd
    	MOVBZ	runtime·iscgo(SB), R31
    	CMP	R31, $0
    	BEQ	nocgo
    #endif
    #endif
    	MOVD	runtime·tls_g(SB), R31
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 02:48:11 UTC 2023
    - 1.5K bytes
    - Viewed (0)
Back to top