- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 2,619 for ctxt (0.07 sec)
-
src/runtime/sys_arm64.go
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) -
src/runtime/sys_mips64x.go
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) -
src/runtime/sys_ppc64x.go
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 - 532 bytes - Viewed (0) -
src/runtime/sys_wasm.go
func wasmExit(code int32) // adjust Gobuf as it if 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) buf.ctxt = ctxt
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 02 05:28:55 UTC 2023 - 758 bytes - Viewed (0) -
src/cmd/link/internal/ld/go_test.go
) func TestDedupLibraries(t *testing.T) { ctxt := &Link{} ctxt.Target.HeadType = objabi.Hlinux libs := []string{"libc.so", "libc.so.6"} got := dedupLibraries(ctxt, libs) if !reflect.DeepEqual(got, libs) { t.Errorf("dedupLibraries(%v) = %v, want %v", libs, got, libs) } } func TestDedupLibrariesOpenBSD(t *testing.T) { ctxt := &Link{} ctxt.Target.HeadType = objabi.Hopenbsd tests := []struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 15 20:22:14 UTC 2022 - 2.7K bytes - Viewed (0) -
src/go/internal/srcimporter/srcimporter.go
// files; and imported packages are added to the packages map. func New(ctxt *build.Context, fset *token.FileSet, packages map[string]*types.Package) *Importer { return &Importer{ ctxt: ctxt, fset: fset, sizes: types.SizesFor(ctxt.Compiler, ctxt.GOARCH), // uses go/types default if GOARCH not found packages: packages, } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 23 18:54:32 UTC 2022 - 8.2K bytes - Viewed (0) -
src/cmd/internal/obj/inl.go
ctxt.InlTree.AllParents(pos.Base().InliningIndex(), func(call InlinedCall) { do(ctxt.InnermostPos(call.Pos)) }) do(pos) } func dumpInlTree(ctxt *Link, tree InlTree) { for i, call := range tree.nodes { pos := ctxt.PosTable.Pos(call.Pos) ctxt.Logf("%0d | %0d | %s (%s) pc=%d\n", i, call.Parent, call.Func, pos, call.ParentPC) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 22 22:47:15 UTC 2023 - 4.4K bytes - Viewed (0) -
src/reflect/asm_riscv64.s
NO_LOCAL_POINTERS ADD $LOCAL_REGARGS, SP, X25 // spillArgs using X25 CALL runtime·spillArgs(SB) MOV CTXT, 32(SP) // save CTXT > args of moveMakeFuncArgPtrs < LOCAL_REGARGS MOV CTXT, 8(SP) MOV X25, 16(SP) CALL ·moveMakeFuncArgPtrs(SB) MOV 32(SP), CTXT // restore CTXT MOV CTXT, 8(SP) MOV $argframe+0(FP), T0 MOV T0, 16(SP) MOV ZERO, LOCAL_RETVALID(SP) ADD $LOCAL_RETVALID, SP, T1 MOV T1, 24(SP)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 01 01:41:42 UTC 2022 - 2.6K bytes - Viewed (0) -
src/cmd/link/internal/ld/link.go
file string pkg string directives [][]string } func (ctxt *Link) Logf(format string, args ...interface{}) { fmt.Fprintf(ctxt.Bso, format, args...) ctxt.Bso.Flush() } func addImports(ctxt *Link, l *sym.Library, pn string) { pkg := objabi.PathToPrefix(l.Pkg) for _, imp := range l.Autolib { lib := addlib(ctxt, pkg, pn, imp.Pkg, imp.Fingerprint) if lib != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 19 15:59:22 UTC 2022 - 5.1K bytes - Viewed (0) -
src/cmd/link/internal/loong64/obj.go
Reloc1: elfreloc1, RelocSize: 24, SetupPLT: elfsetupplt, }, } return arch, theArch } func archinit(ctxt *ld.Link) { switch ctxt.HeadType { default: ld.Exitf("unknown -H option: %v", ctxt.HeadType) case objabi.Hlinux: /* loong64 elf */ ld.Elfinit(ctxt) ld.HEADR = ld.ELFRESERVE if *ld.FlagRound == -1 { *ld.FlagRound = 0x10000 } if *ld.FlagTextAddr == -1 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 05 13:49:14 UTC 2024 - 1.5K bytes - Viewed (0)