Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 355 for ctxt (0.05 sec)

  1. src/cmd/compile/internal/ssa/export_test.go

    func testConfigArch(tb testing.TB, arch string) *Conf {
    	ctxt, ok := testCtxts[arch]
    	if !ok {
    		tb.Fatalf("unknown arch %s", arch)
    	}
    	if ctxt.Arch.PtrSize != 8 {
    		tb.Fatal("testTypes is 64-bit only")
    	}
    	c := &Conf{
    		config: NewConfig(arch, testTypes, ctxt, true, false),
    		tb:     tb,
    	}
    	return c
    }
    
    type Conf struct {
    	config *Config
    	tb     testing.TB
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 21:19:39 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/ppc64/obj9.go

    			f := c.cursym.Func()
    			if f.FuncFlag&abi.FuncFlagSPWrite == 0 {
    				c.cursym.Func().FuncFlag |= abi.FuncFlagSPWrite
    				if ctxt.Debugvlog || !ctxt.IsAsm {
    					ctxt.Logf("auto-SPWRITE: %s %v\n", c.cursym.Name, p)
    					if !ctxt.IsAsm {
    						ctxt.Diag("invalid auto-SPWRITE in non-assembly")
    						ctxt.DiagFlush()
    						log.Fatalf("bad SPWRITE")
    					}
    				}
    			}
    		}
    	}
    }
    
    /*
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 40.8K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/data.go

    	}
    	writeBlocks(ctxt, out, ctxt.outSem, ctxt.loader, syms, addr, size, zeros[:])
    }
    
    func pdatablk(ctxt *Link, out *OutBuf, addr int64, size int64) {
    	writeBlocks(ctxt, out, ctxt.outSem, ctxt.loader, sehp.pdata, addr, size, zeros[:])
    }
    
    func xdatablk(ctxt *Link, out *OutBuf, addr int64, size int64) {
    	writeBlocks(ctxt, out, ctxt.outSem, ctxt.loader, sehp.xdata, addr, size, zeros[:])
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top