Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for cgoBuf (0.16 sec)

  1. src/runtime/traceback.go

    //
    // Callers should set the unwindSilentErrors flag on u.
    func tracebackPCs(u *unwinder, skip int, pcBuf []uintptr) int {
    	var cgoBuf [32]uintptr
    	n := 0
    	for ; n < len(pcBuf) && u.valid(); u.next() {
    		f := u.frame.fn
    		cgoN := u.cgoCallers(cgoBuf[:])
    
    		// TODO: Why does &u.cache cause u to escape? (Same in traceback2)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/gccgo_link_c.txt

    ! stderr 'gccgo.*-lalib.*-lalib' # make sure -lalib is only passed once
    
    -- go.mod --
    module m
    -- cgoref.go --
    package main
    // #cgo LDFLAGS: -L alibpath -lalib
    // void f(void) {}
    import "C"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 16:38:51 UTC 2023
    - 617 bytes
    - Viewed (0)
  3. src/runtime/sys_loong64.go

    // license that can be found in the LICENSE file.
    
    //go:build loong64
    
    package runtime
    
    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)
  4. src/runtime/sys_s390x.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package runtime
    
    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: Wed Oct 05 18:19:46 UTC 2016
    - 469 bytes
    - Viewed (0)
  5. src/runtime/sys_riscv64.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package runtime
    
    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: Sun Jan 19 14:04:09 UTC 2020
    - 469 bytes
    - Viewed (0)
  6. src/runtime/sys_mipsx.go

    // license that can be found in the LICENSE file.
    
    //go:build mips || mipsle
    
    package runtime
    
    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: Thu Oct 28 18:17:57 UTC 2021
    - 496 bytes
    - Viewed (0)
  7. src/runtime/sys_arm.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package runtime
    
    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: Wed Oct 05 18:19:46 UTC 2016
    - 521 bytes
    - Viewed (0)
  8. src/runtime/sys_x86.go

    //go:build amd64 || 386
    
    package runtime
    
    import (
    	"internal/goarch"
    	"unsafe"
    )
    
    // adjust Gobuf as if it executed a call to fn with context ctxt
    // and then stopped before the first instruction in fn.
    func gostartcall(buf *gobuf, fn, ctxt unsafe.Pointer) {
    	sp := buf.sp
    	sp -= goarch.PtrSize
    	*(*uintptr)(unsafe.Pointer(sp)) = buf.pc
    	buf.sp = sp
    	buf.pc = uintptr(fn)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 552 bytes
    - Viewed (0)
  9. src/runtime/sys_arm64.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package runtime
    
    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: Wed Oct 05 18:19:46 UTC 2016
    - 469 bytes
    - Viewed (0)
  10. src/runtime/sys_mips64x.go

    // license that can be found in the LICENSE file.
    
    //go:build mips64 || mips64le
    
    package runtime
    
    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: Thu Oct 28 18:17:57 UTC 2021
    - 500 bytes
    - Viewed (0)
Back to top