Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 137 for ctxt (0.2 sec)

  1. src/cmd/link/internal/riscv64/asm.go

    			hi20Syms = append(hi20Syms, sb.Sym())
    		}
    	}
    	ctxt.Textp = append(ctxt.Textp, hi20Syms...)
    	ldr.SortSyms(ctxt.Textp)
    }
    
    func findHI20Symbol(ctxt *ld.Link, ldr *loader.Loader, val int64) loader.Sym {
    	idx := sort.Search(len(ctxt.Textp), func(i int) bool { return ldr.SymValue(ctxt.Textp[i]) >= val })
    	if idx >= len(ctxt.Textp) {
    		return 0
    	}
    	if s := ctxt.Textp[idx]; ldr.SymValue(s) == val && ldr.SymType(s) == sym.STEXT {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 01 08:06:08 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/decodesym.go

    	}
    	return str
    }
    
    func decodetypeGcmask(ctxt *Link, s loader.Sym) []byte {
    	if ctxt.loader.SymType(s) == sym.SDYNIMPORT {
    		symData := ctxt.loader.Data(s)
    		addr := decodetypeGcprogShlib(ctxt, symData)
    		ptrdata := decodetypePtrdata(ctxt.Arch, symData)
    		sect := findShlibSection(ctxt, ctxt.loader.SymPkg(s), addr)
    		if sect != nil {
    			bits := ptrdata / int64(ctxt.Arch.PtrSize)
    			r := make([]byte, (bits+7)/8)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/deadcode.go

    // emits a relocation with the method name. Matching methods are kept in all
    // reachable types.
    //
    // Any unreached text symbols are removed from ctxt.Textp.
    func deadcode(ctxt *Link) {
    	ldr := ctxt.loader
    	d := deadcodePass{ctxt: ctxt, ldr: ldr}
    	d.init()
    	d.flood()
    
    	if ctxt.DynlinkingGo() {
    		// Exported methods may satisfy interfaces we don't know
    		// about yet when dynamically linking.
    		d.reflectSeen = true
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 14:52:41 UTC 2024
    - 19K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/typestring.go

    	return &typeWriter{buf, make(map[Type]bool), qf, nil, nil, true, false, false}
    }
    
    func newTypeHasher(buf *bytes.Buffer, ctxt *Context) *typeWriter {
    	assert(ctxt != nil)
    	return &typeWriter{buf, make(map[Type]bool), nil, ctxt, nil, false, false, false}
    }
    
    func (w *typeWriter) byte(b byte) {
    	if w.ctxt != nil {
    		if b == ' ' {
    			b = '#'
    		}
    		w.buf.WriteByte(b)
    		return
    	}
    	w.buf.WriteByte(b)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  5. src/go/types/instantiate.go

    	// recorded in expanding.inst.ctxt.
    	var ctxts []*Context
    	if expanding != nil {
    		ctxts = append(ctxts, expanding.inst.ctxt)
    	}
    	if ctxt != nil {
    		ctxts = append(ctxts, ctxt)
    	}
    	assert(len(ctxts) > 0)
    
    	// Compute all hashes; hashes may differ across contexts due to different
    	// unique IDs for Named types within the hasher.
    	hashes := make([]string, len(ctxts))
    	for i, ctxt := range ctxts {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  6. cmd/common-main.go

    		}
    		ctxt.MemLimit = mlimit
    	} else {
    		ctxt.MemLimit = memAvailable
    	}
    
    	if memAvailable < ctxt.MemLimit {
    		ctxt.MemLimit = memAvailable
    	}
    
    	ctxt.FTP = ctx.StringSlice("ftp")
    	ctxt.SFTP = ctx.StringSlice("sftp")
    	ctxt.Interface = ctx.String("interface")
    	ctxt.UserTimeout = ctx.Duration("conn-user-timeout")
    	ctxt.SendBufSize = ctx.Int("send-buf-size")
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modindex/build.go

    		allTags[name] = true
    	}
    
    	// special tags
    	if ctxt.CgoEnabled && name == "cgo" {
    		return true
    	}
    	if name == ctxt.GOOS || name == ctxt.GOARCH || name == ctxt.Compiler {
    		return true
    	}
    	if ctxt.GOOS == "android" && name == "linux" {
    		return true
    	}
    	if ctxt.GOOS == "illumos" && name == "solaris" {
    		return true
    	}
    	if ctxt.GOOS == "ios" && name == "darwin" {
    		return true
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 25 17:39:23 UTC 2023
    - 26.8K bytes
    - Viewed (0)
  8. src/cmd/go/internal/cfg/cfg.go

    		if ctxt.CgoEnabled {
    			if os.Getenv("CC") == "" {
    				cc := DefaultCC(ctxt.GOOS, ctxt.GOARCH)
    				if _, err := LookPath(cc); err != nil {
    					defaultCgoEnabled = false
    				}
    			}
    		}
    	}
    	ctxt.CgoEnabled = defaultCgoEnabled
    	if v := Getenv("CGO_ENABLED"); v == "0" || v == "1" {
    		ctxt.CgoEnabled = v[0] == '1'
    	}
    	CGOChanged = ctxt.CgoEnabled != defaultCgoEnabled
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  9. src/go/types/typestring.go

    	return &typeWriter{buf, make(map[Type]bool), qf, nil, nil, true, false, false}
    }
    
    func newTypeHasher(buf *bytes.Buffer, ctxt *Context) *typeWriter {
    	assert(ctxt != nil)
    	return &typeWriter{buf, make(map[Type]bool), nil, ctxt, nil, false, false, false}
    }
    
    func (w *typeWriter) byte(b byte) {
    	if w.ctxt != nil {
    		if b == ' ' {
    			b = '#'
    		}
    		w.buf.WriteByte(b)
    		return
    	}
    	w.buf.WriteByte(b)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/dwarfgen/dwinl.go

    	for i := 0; i < ilevel; i++ {
    		base.Ctxt.Logf("  ")
    	}
    	ic := inlcalls.Calls[idx]
    	callee := base.Ctxt.InlTree.InlinedFunction(ic.InlIndex)
    	base.Ctxt.Logf("  %d: II:%d (%s) V: (", idx, ic.InlIndex, callee.Name)
    	for _, f := range ic.InlVars {
    		base.Ctxt.Logf(" %v", f.Name)
    	}
    	base.Ctxt.Logf(" ) C: (")
    	for _, k := range ic.Children {
    		base.Ctxt.Logf(" %v", k)
    	}
    	base.Ctxt.Logf(" ) R:")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:45:07 UTC 2024
    - 12.8K bytes
    - Viewed (0)
Back to top