Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 2,875 for ctxt (0.06 sec)

  1. src/cmd/internal/obj/ppc64/asm9.go

    	}
    
    	c := ctxt9{ctxt: ctxt, newprog: newprog, cursym: cursym, autosize: int32(p.To.Offset)}
    
    	pc := int64(0)
    	p.Pc = pc
    
    	var m int
    	var o *Optab
    	for p = p.Link; p != nil; p = p.Link {
    		p.Pc = pc
    		o = c.oplook(p)
    		m = int(o.size)
    		if m == 0 {
    			if p.As == obj.APCALIGN {
    				a := c.vregoff(&p.From)
    				m = addpad(pc, a, ctxt, cursym)
    			} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:55:28 UTC 2024
    - 156.1K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/internal/typeparams/common.go

    	// instantiations below.
    	if ctxt == nil {
    		ctxt = types.NewContext()
    	}
    
    	var targs []types.Type
    	for i := 0; i < vtparams.Len(); i++ {
    		targs = append(targs, vtparams.At(i))
    	}
    
    	vinst, err := types.Instantiate(ctxt, V, targs, true)
    	if err != nil {
    		panic("type parameters should satisfy their own constraints")
    	}
    
    	tinst, err := types.Instantiate(ctxt, T, targs, true)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. src/cmd/link/internal/mips64/obj.go

    			// Historically GNU ld creates a read-only
    			// .dynamic section.
    			DynamicReadOnly: true,
    		},
    	}
    
    	return arch, theArch
    }
    
    func archinit(ctxt *ld.Link) {
    	switch ctxt.HeadType {
    	default:
    		ld.Exitf("unknown -H option: %v", ctxt.HeadType)
    
    	case objabi.Hplan9: /* plan 9 */
    		ld.HEADR = 32
    		if *ld.FlagRound == -1 {
    			*ld.FlagRound = 16 * 1024
    		}
    		if *ld.FlagTextAddr == -1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 19:32:19 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  4. src/go/types/subst.go

    // from the incoming type.
    //
    // If expanding is non-nil, it is the instance type currently being expanded.
    // One of expanding or ctxt must be non-nil.
    func (check *Checker) subst(pos token.Pos, typ Type, smap substMap, expanding *Named, ctxt *Context) Type {
    	assert(expanding != nil || ctxt != nil)
    
    	if smap.empty() {
    		return typ
    	}
    
    	// common cases
    	switch t := typ.(type) {
    	case *Basic:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:04:07 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  5. src/runtime/signal_freebsd_386.go

    // license that can be found in the LICENSE file.
    
    package runtime
    
    import "unsafe"
    
    type sigctxt struct {
    	info *siginfo
    	ctxt unsafe.Pointer
    }
    
    //go:nosplit
    //go:nowritebarrierrec
    func (c *sigctxt) regs() *mcontext { return &(*ucontext)(c.ctxt).uc_mcontext }
    
    func (c *sigctxt) eax() uint32 { return c.regs().mc_eax }
    func (c *sigctxt) ebx() uint32 { return c.regs().mc_ebx }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 11 12:56:15 UTC 2016
    - 1.6K bytes
    - Viewed (0)
  6. src/runtime/signal_openbsd_386.go

    // license that can be found in the LICENSE file.
    
    package runtime
    
    import "unsafe"
    
    type sigctxt struct {
    	info *siginfo
    	ctxt unsafe.Pointer
    }
    
    //go:nosplit
    //go:nowritebarrierrec
    func (c *sigctxt) regs() *sigcontext {
    	return (*sigcontext)(c.ctxt)
    }
    
    func (c *sigctxt) eax() uint32 { return c.regs().sc_eax }
    func (c *sigctxt) ebx() uint32 { return c.regs().sc_ebx }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 11 12:56:15 UTC 2016
    - 1.6K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/loong64/asm.go

    var xcmp [C_NCLASS][C_NCLASS]bool
    
    func span0(ctxt *obj.Link, cursym *obj.LSym, newprog obj.ProgAlloc) {
    	if ctxt.Retpoline {
    		ctxt.Diag("-spectre=ret not supported on loong64")
    		ctxt.Retpoline = false // don't keep printing
    	}
    
    	p := cursym.Func().Text
    	if p == nil || p.Link == nil { // handle external functions and ELF section symbols
    		return
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 61.8K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/config.go

    		c.useAvg = false
    		c.useHmul = false
    	default:
    		ctxt.Diag("arch %s not implemented", arch)
    	}
    	c.ctxt = ctxt
    	c.optimize = optimize
    	c.useSSE = true
    	c.UseFMA = true
    	c.SoftFloat = softfloat
    	if softfloat {
    		c.floatParamRegs = nil // no FP registers in softfloat mode
    	}
    
    	c.ABI0 = abi.NewABIConfig(0, 0, ctxt.Arch.FixedFrameSize, 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:11:47 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  9. src/go/types/instantiate_test.go

    		pkg := mustTypecheck(test.src, nil, nil)
    
    		t.Run(pkg.Name(), func(t *testing.T) {
    			ctxt := NewContext()
    
    			T1 := pkg.Scope().Lookup(test.name1).Type()
    			res1, err := Instantiate(ctxt, T1, test.targs1, false)
    			if err != nil {
    				t.Fatal(err)
    			}
    
    			T2 := pkg.Scope().Lookup(test.name2).Type()
    			res2, err := Instantiate(ctxt, T2, test.targs2, false)
    			if err != nil {
    				t.Fatal(err)
    			}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  10. src/runtime/cgo/asm_loong64.s

    	MOVV	R6, (R5)
    	RET
    
    TEXT crosscall2_trampoline<>(SB),NOSPLIT,$0-0
    	JMP	crosscall2(SB)
    
    // Called by C code generated by cmd/cgo.
    // func crosscall2(fn, a unsafe.Pointer, n int32, ctxt uintptr)
    // Saves C callee-saved registers and calls cgocallback with three arguments.
    // fn is the PC of a func(a unsafe.Pointer) function.
    TEXT crosscall2(SB),NOSPLIT|NOFRAME,$0
    	/*
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:43:51 UTC 2023
    - 1.5K bytes
    - Viewed (0)
Back to top