Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 584 for ctxt (0.09 sec)

  1. src/go/build/build.go

    // that do not exist.
    func (ctxt *Context) SrcDirs() []string {
    	var all []string
    	if ctxt.GOROOT != "" && ctxt.Compiler != "gccgo" {
    		dir := ctxt.joinPath(ctxt.GOROOT, "src")
    		if ctxt.isDir(dir) {
    			all = append(all, dir)
    		}
    	}
    	for _, p := range ctxt.gopath() {
    		dir := ctxt.joinPath(p, "src")
    		if ctxt.isDir(dir) {
    			all = append(all, dir)
    		}
    	}
    	return all
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K 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/cmd/internal/obj/arm64/asm7.go

    			return 8
    		}
    	}
    	return int(o.size_)
    }
    
    func span7(ctxt *obj.Link, cursym *obj.LSym, newprog obj.ProgAlloc) {
    	if ctxt.Retpoline {
    		ctxt.Diag("-spectre=ret not supported on arm64")
    		ctxt.Retpoline = false // don't keep printing
    	}
    
    	p := cursym.Func().Text
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 201.1K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. src/cmd/internal/obj/x86/seh.go

    	"encoding/base64"
    	"fmt"
    	"math"
    )
    
    type sehbuf struct {
    	ctxt *obj.Link
    	data []byte
    	off  int
    }
    
    func newsehbuf(ctxt *obj.Link, nodes uint8) sehbuf {
    	// - 8 bytes for the header
    	// - 2 bytes for each node
    	// - 2 bytes in case nodes is not even
    	size := 8 + nodes*2
    	if nodes%2 != 0 {
    		size += 2
    	}
    	return sehbuf{ctxt, make([]byte, size), 0}
    }
    
    func (b *sehbuf) write8(v uint8) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 14:41:10 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/riscv/obj.go

    	wantFloatReg(ctxt, ins, "rs2", ins.rs2)
    	wantFloatReg(ctxt, ins, "rs3", ins.rs3)
    }
    
    func validateRFFI(ctxt *obj.Link, ins *instruction) {
    	wantIntReg(ctxt, ins, "rd", ins.rd)
    	wantFloatReg(ctxt, ins, "rs1", ins.rs1)
    	wantFloatReg(ctxt, ins, "rs2", ins.rs2)
    	wantNoneReg(ctxt, ins, "rs3", ins.rs3)
    }
    
    func validateRFI(ctxt *obj.Link, ins *instruction) {
    	wantIntReg(ctxt, ins, "rd", ins.rd)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 07 03:32:27 UTC 2024
    - 77K bytes
    - Viewed (0)
  10. 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)
Back to top