Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,875 for ctxt (0.04 sec)

  1. 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)
  2. src/cmd/link/internal/wasm/asm.go

    	ctxt.Out.Write([]byte{0x01, 0x00, 0x00, 0x00}) // version
    
    	// Add any buildid early in the binary:
    	if len(buildid) != 0 {
    		writeBuildID(ctxt, buildid)
    	}
    
    	writeTypeSec(ctxt, types)
    	writeImportSec(ctxt, hostImports)
    	writeFunctionSec(ctxt, fns)
    	writeTableSec(ctxt, fns)
    	writeMemorySec(ctxt, ldr)
    	writeGlobalSec(ctxt)
    	writeExportSec(ctxt, ldr, len(hostImports))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:17:48 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/symtab.go

    	ctxt.xdefine("runtime.rodata", sym.SRODATA, 0)
    	ctxt.xdefine("runtime.erodata", sym.SRODATA, 0)
    	ctxt.xdefine("runtime.types", sym.SRODATA, 0)
    	ctxt.xdefine("runtime.etypes", sym.SRODATA, 0)
    	ctxt.xdefine("runtime.noptrdata", sym.SNOPTRDATA, 0)
    	ctxt.xdefine("runtime.enoptrdata", sym.SNOPTRDATA, 0)
    	ctxt.xdefine("runtime.data", sym.SDATA, 0)
    	ctxt.xdefine("runtime.edata", sym.SDATA, 0)
    	ctxt.xdefine("runtime.bss", sym.SBSS, 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 16:29:40 UTC 2023
    - 29.2K bytes
    - Viewed (0)
  4. 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)
  5. src/cmd/link/internal/ld/go.go

    	// Add dynamic symbols.
    	for _, s := range ctxt.dynexp {
    		// Consistency check.
    		if !ctxt.loader.AttrReachable(s) {
    			panic("dynexp entry not reachable")
    		}
    
    		Adddynsym(ctxt.loader, &ctxt.Target, &ctxt.ArchSyms, s)
    	}
    
    	for _, lib := range dedupLibraries(ctxt, dynlib) {
    		adddynlib(ctxt, lib)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 16:48:30 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  6. src/cmd/internal/dwarf/dwarf.go

    	case DW_FORM_block1: // block
    		if cls == DW_CLS_ADDRESS {
    			ctxt.AddInt(s, 1, int64(1+ctxt.PtrSize()))
    			ctxt.AddInt(s, 1, DW_OP_addr)
    			ctxt.AddAddress(s, data, 0)
    			break
    		}
    
    		value &= 0xff
    		ctxt.AddInt(s, 1, value)
    		p := data.([]byte)[:value]
    		ctxt.AddBytes(s, p)
    
    	case DW_FORM_block2: // block
    		value &= 0xffff
    
    		ctxt.AddInt(s, 2, value)
    		p := data.([]byte)[:value]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 15:23:18 UTC 2024
    - 43K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/pcln.go

    			}
    			return header.SetUintptr(ctxt.Arch, off, uintptr(diff))
    		}
    
    		// Write header.
    		// Keep in sync with runtime/symtab.go:pcHeader and package debug/gosym.
    		header.SetUint32(ctxt.Arch, 0, 0xfffffff1)
    		header.SetUint8(ctxt.Arch, 6, uint8(ctxt.Arch.MinLC))
    		header.SetUint8(ctxt.Arch, 7, uint8(ctxt.Arch.PtrSize))
    		off := header.SetUint(ctxt.Arch, 8, uint64(state.nfunc))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. src/cmd/link/internal/ld/macho.go

    	relocSect(ctxt, Segtext.Sections[0], ctxt.Textp)
    	for _, sect := range Segtext.Sections[1:] {
    		if sect.Name == ".text" {
    			relocSect(ctxt, sect, ctxt.Textp)
    		} else {
    			relocSect(ctxt, sect, ctxt.datap)
    		}
    	}
    	for _, sect := range Segrelrodata.Sections {
    		relocSect(ctxt, sect, ctxt.datap)
    	}
    	for _, sect := range Segdata.Sections {
    		relocSect(ctxt, sect, ctxt.datap)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 43.9K bytes
    - Viewed (0)
Back to top