Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 125 for clobbered (0.15 sec)

  1. test/codegen/clobberdeadreg.go

    	// amd64:-`MOVQ\t\$-2401018187971961171, BP` // frame pointer is not clobbered
    	StackArgsCall([10]int{a, b, c})
    	// amd64:`MOVQ\t\$-2401018187971961171, R12`, `MOVQ\t\$-2401018187971961171, R13`, `MOVQ\t\$-2401018187971961171, DX`
    	// amd64:-`MOVQ\t\$-2401018187971961171, AX`, -`MOVQ\t\$-2401018187971961171, R11` // register args are not clobbered
    	RegArgsCall(a, b, c, d)
    }
    
    //go:noinline
    func StackArgsCall([10]int) {}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/framepointer/framepointer.go

    				active = true
    				continue
    			}
    			if !active {
    				continue
    			}
    
    			if asmWriteBP.MatchString(line) { // clobber of BP, function is not OK
    				pass.Reportf(analysisutil.LineStart(tf, lineno), "frame pointer is clobbered before saving")
    				active = false
    				continue
    			}
    			if asmMentionBP.MatchString(line) { // any other use of BP might be a read, so function is OK
    				active = false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. maven-compat/src/test/java/org/apache/maven/project/inheritance/t01/ProjectInheritanceTest.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    /**
     * A test which demonstrates maven's recursive inheritance where
     * we are testing to make sure that elements stated in a model are
     * not clobbered by the same elements elsewhere in the lineage.
     *
     */
    @Deprecated
    class ProjectInheritanceTest extends AbstractProjectInheritanceTestCase {
        // ----------------------------------------------------------------------
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. src/runtime/testdata/testprog/crash.go

    func (p P) String() string {
    	// Try to free the "YYY" string header when the "XXX"
    	// panic is stringified.
    	runtime.GC()
    	runtime.GC()
    	runtime.GC()
    	return string(p)
    }
    
    // Test that panic message is not clobbered.
    // See issue 30150.
    func DoublePanic() {
    	defer func() {
    		panic(P("YYY"))
    	}()
    	panic(P("XXX"))
    }
    
    // Test that panic while panicking discards error message
    // See issue 52257
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:10:41 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/test/stubtest_linux_ppc64le.S

    // This test requires a binutils with power10 and ELFv2 1.5 support. This is earliest verified version.
    .if .gasversion. >= 23500
    
    // A function which does not guarantee R2 is preserved.
    // R2 is clobbered here to ensure the stubs preserve it.
    	.globl	notoc_nor2_func
    	.type	notoc_nor2_func, @function
    notoc_nor2_func:
    	.localentry notoc_nor2_func,1
    	li	2,0
    	blr
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 15:06:17 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/execution/TestWithCompiler.kt

    internal
    inline fun safeMockProgramHost(stubbing: KStubbing<ExecutableProgram.Host>.(ExecutableProgram.Host) -> Unit = {}) =
        mock<ExecutableProgram.Host> {
            // Add a custom exception handler so that they don't get clobbered.
            on { handleScriptException(any(), any(), any()) } doAnswer { invocation ->
                val throwable: Throwable = invocation.getArgument(0)
                val scriptClass: Class<*> = invocation.getArgument(1)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 19:59:56 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  7. src/crypto/internal/edwards25519/field/fe_alias_test.go

    // leading to incorrect results. That is, it ensures that it's safe to write
    //
    //	v.Invert(v)
    //
    // or
    //
    //	v.Add(v, v)
    //
    // without any of the inputs getting clobbered by the output being written.
    func TestAliasing(t *testing.T) {
    	type target struct {
    		name     string
    		oneArgF  func(v, x *Element) *Element
    		twoArgsF func(v, x, y *Element) *Element
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 17:26:17 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  8. src/slices/iter_test.go

    			}
    
    			if len(chunks) == 0 {
    				return
    			}
    
    			// Verify that appending to the end of the first chunk does not
    			// clobber the beginning of the next chunk.
    			s := Clone(tc.s)
    			chunks[0] = append(chunks[0], -1)
    			if !Equal(s, tc.s) {
    				t.Errorf("slice was clobbered: %v, want %v", s, tc.s)
    			}
    		})
    	}
    }
    
    func TestChunkPanics(t *testing.T) {
    	for _, test := range []struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 17:28:50 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. src/cmd/internal/buildid/buildid_test.go

    				if elf.ProgType(phdr.Type) == elf.PT_NOTE {
    					// Increase the size so we keep
    					// reading notes.
    					order.PutUint64(data[phoff+4*8:], phdr.Filesz+1)
    
    					// Clobber the Align field to zero.
    					order.PutUint64(data[phoff+6*8:], 0)
    
    					// Clobber the note type so we
    					// keep reading notes.
    					order.PutUint32(data[phdr.Off+12:], 0)
    				}
    
    				phoff += phsize
    			}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:28 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  10. src/runtime/asm_mips64x.s

    // to the buffer space in R25.
    // It clobbers R23 (the linker temp register).
    // The act of CALLing gcWriteBarrier will clobber R31 (LR).
    // It does not clobber any other general-purpose registers,
    // but may clobber others (e.g., floating point registers).
    TEXT gcWriteBarrier<>(SB),NOSPLIT,$192
    	// Save the registers clobbered by the fast path.
    	MOVV	R1, 184(R29)
    	MOVV	R2, 192(R29)
    retry:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 19:45:59 UTC 2023
    - 24.3K bytes
    - Viewed (0)
Back to top