- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 2,009 for ctxt (0.12 sec)
-
internal/mcontext/ctxt.go
) // ContextTraceType represents the type of golang Context key type ContextTraceType string // ContextTraceKey is the key of TraceCtxt saved in a Golang context const ContextTraceKey = ContextTraceType("ctx-trace-info") // TraceCtxt holds related tracing data of a http request. type TraceCtxt struct { RequestRecorder *xhttp.RequestRecorder ResponseRecorder *xhttp.ResponseRecorder FuncName string AmzReqID string
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Dec 06 17:27:26 UTC 2022 - 1.3K bytes - Viewed (0) -
src/cmd/link/internal/ld/asmb.go
// This function handles the first part. func asmb(ctxt *Link) { // TODO(jfaller): delete me. if thearch.Asmb != nil { thearch.Asmb(ctxt, ctxt.loader) return } if ctxt.IsELF { Asmbelfsetup() } var wg sync.WaitGroup f := func(ctxt *Link, out *OutBuf, start, length int64) { pad := thearch.CodePad if pad == nil { pad = zeros[:] } CodeblkPad(ctxt, out, start, length, pad) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 02 09:22:56 UTC 2023 - 5.4K bytes - Viewed (0) -
src/cmd/link/internal/ld/data_test.go
) func setUpContext(arch *sys.Arch, iself bool, ht objabi.HeadType, bm, lm string) *Link { ctxt := linknew(arch) ctxt.HeadType = ht er := loader.ErrorReporter{} ctxt.loader = loader.NewLoader(0, &er) ctxt.BuildMode.Set(bm) ctxt.LinkMode.Set(lm) ctxt.IsELF = iself ctxt.mustSetHeadType() ctxt.setArchSyms() return ctxt } // Make sure the addgotsym properly increases the symbols. func TestAddGotSym(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 05 19:20:01 UTC 2023 - 2.3K bytes - Viewed (0) -
src/cmd/asm/main.go
} ctxt := obj.Linknew(architecture.LinkArch) ctxt.Debugasm = flags.PrintOut ctxt.Debugvlog = flags.DebugV ctxt.Flag_dynlink = *flags.Dynlink ctxt.Flag_linkshared = *flags.Linkshared ctxt.Flag_shared = *flags.Shared || *flags.Dynlink ctxt.Flag_maymorestack = flags.DebugFlags.MayMoreStack ctxt.Debugpcln = flags.DebugFlags.PCTab ctxt.IsAsm = true ctxt.Pkgpath = *flags.Importpath
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 2.9K bytes - Viewed (0) -
src/go/types/context.go
} } ctxt.typeMap[h] = append(ctxt.typeMap[h], ctxtEntry{ orig: orig, targs: targs, instance: inst, }) return inst } // getID returns a unique ID for the type t. func (ctxt *Context) getID(t Type) int { ctxt.mu.Lock() defer ctxt.mu.Unlock() id, ok := ctxt.originIDs[t] if !ok { id = ctxt.nextID ctxt.originIDs[t] = id ctxt.nextID++ }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 4.4K bytes - Viewed (0) -
src/cmd/link/internal/ld/config.go
} // determineLinkMode sets ctxt.LinkMode. // // It is called after flags are processed and inputs are processed, // so the ctxt.LinkMode variable has an initial value from the -linkmode // flag and the iscgo, externalobj, and unknownObjFormat variables are set. func determineLinkMode(ctxt *Link) { extNeeded, extReason := mustLinkExternal(ctxt) via := "" if ctxt.LinkMode == LinkAuto {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 23 05:14:11 UTC 2023 - 5.6K bytes - Viewed (0) -
src/cmd/link/internal/ld/seh.go
"cmd/link/internal/sym" ) var sehp struct { pdata []sym.LoaderSym xdata []sym.LoaderSym } func writeSEH(ctxt *Link) { switch ctxt.Arch.Family { case sys.AMD64: writeSEHAMD64(ctxt) } } func writeSEHAMD64(ctxt *Link) { ldr := ctxt.loader mkSecSym := func(name string, kind sym.SymKind) *loader.SymbolBuilder { s := ldr.CreateSymForUpdate(name, 0) s.SetType(kind)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 09 19:01:27 UTC 2023 - 2K bytes - Viewed (0) -
src/cmd/internal/obj/line_test.go
} for _, test := range tests { fileIndex, line := ctxt.getFileIndexAndLine(ctxt.PosTable.XPos(test.pos)) file := "??" if fileIndex >= 0 { file = ctxt.PosTable.FileTable()[fileIndex] } got := fmt.Sprintf("%s:%d", file, line) if got != test.want { t.Errorf("ctxt.getFileSymbolAndLine(%v) = %q, want %q", test.pos, got, test.want) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 01 15:52:41 UTC 2023 - 1.2K bytes - Viewed (0) -
src/runtime/export_debug_arm64_test.go
ctxt.set_pc(ctxt.pc() + 4) } // case 8 func (h *debugCallHandler) debugCallUnsafe(ctxt *sigctxt) { sp := ctxt.sp() reason := *(*string)(unsafe.Pointer(uintptr(sp) + 8)) h.err = plainError(reason) ctxt.set_pc(ctxt.pc() + 4) } // case 16 func (h *debugCallHandler) restoreSigContext(ctxt *sigctxt) { // Restore all registers except for pc and sp pc, sp := ctxt.pc(), ctxt.sp() *ctxt.regs() = h.sigCtxt.savedRegs
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Apr 23 05:38:56 UTC 2022 - 3.5K bytes - Viewed (0) -
src/runtime/export_debug_ppc64le_test.go
ctxt.set_pc(ctxt.pc() + 4) } // case 8 func (h *debugCallHandler) debugCallUnsafe(ctxt *sigctxt) { sp := ctxt.sp() reason := *(*string)(unsafe.Pointer(uintptr(sp) + 40)) h.err = plainError(reason) ctxt.set_pc(ctxt.pc() + 4) } // case 16 func (h *debugCallHandler) restoreSigContext(ctxt *sigctxt) { // Restore all registers except for pc and sp pc, sp := ctxt.pc(), ctxt.sp() *ctxt.cregs() = h.sigCtxt.savedRegs
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 17 15:33:38 UTC 2023 - 3.5K bytes - Viewed (0)