Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getfp (0.04 sec)

  1. src/runtime/tracestack.go

    		} else if gp != nil {
    			nstk += gcallers(gp, skip, pcBuf[1:])
    		}
    	} else {
    		// Fast path: Unwind using frame pointers.
    		pcBuf[0] = uintptr(skip)
    		if getg() == gp {
    			nstk += fpTracebackPCs(unsafe.Pointer(getfp()), pcBuf[1:])
    		} else if gp != nil {
    			// Three cases:
    			//
    			// (1) We're called on the g0 stack through mcall(fn) or systemstack(fn). To
    			// behave like gcallers above, we start unwinding from sched.bp, which
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 14:38:56 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. src/runtime/runtime2.go

    // getcallerfp returns the frame pointer of the caller of the caller
    // of this function.
    //
    //go:nosplit
    //go:noinline
    func getcallerfp() uintptr {
    	fp := getfp() // This frame's FP.
    	if fp != 0 {
    		fp = *(*uintptr)(unsafe.Pointer(fp)) // The caller's FP.
    		fp = *(*uintptr)(unsafe.Pointer(fp)) // The caller's caller's FP.
    	}
    	return fp
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  3. src/runtime/export_test.go

    // FPCallers works like Callers and uses frame pointer unwinding to populate
    // pcBuf with the return addresses of the physical frames on the stack.
    func FPCallers(pcBuf []uintptr) int {
    	return fpTracebackPCs(unsafe.Pointer(getfp()), pcBuf)
    }
    
    const FramePointerEnabled = framepointer_enabled
    
    var (
    	IsPinned      = isPinned
    	GetPinCounter = pinnerGetPinCounter
    )
    
    func SetPinnerLeakPanic(f func()) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  4. src/runtime/asm_arm64.s

    	JMP	runtime·goPanicSlice3CU<ABIInternal>(SB)
    TEXT runtime·panicSliceConvert<ABIInternal>(SB),NOSPLIT,$0-16
    	MOVD	R2, R0
    	MOVD	R3, R1
    	JMP	runtime·goPanicSliceConvert<ABIInternal>(SB)
    
    TEXT ·getfp<ABIInternal>(SB),NOSPLIT|NOFRAME,$0
    	MOVD R29, R0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 43.4K bytes
    - Viewed (0)
  5. platforms/core-execution/build-cache-local/src/integTest/groovy/org/gradle/caching/local/internal/AbstractBuildCacheCleanupIntegrationTest.groovy

                    @OutputFile File outputFile = new File(temporaryDir, "output.txt")
                    @Input String run = project.findProperty("run") ?: ""
                    @javax.inject.Inject abstract FileSystemOperations getFs()
                    @TaskAction
                    void generate() {
                        logger.warn("Run " + run)
                        fs.copy {
                            from("output.txt")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 16:53:17 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedCustomTaskExecutionIntegrationTest.groovy

                    @OutputFile
                    File output = project.file("build/output.txt")
    
                    @Inject
                    abstract FileSystemOperations getFs()
    
                    @TaskAction void doSomething() {
                        output.text = inputFile.text
                        fs.delete { delete(missing) }
                    }
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 30.6K bytes
    - Viewed (0)
Back to top