Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 184 for ctxt (0.2 sec)

  1. src/cmd/compile/internal/types2/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 syntax.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
    - 11K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. src/runtime/asm_riscv64.s

    TEXT runtime·systemstack_switch(SB), NOSPLIT, $0-0
    	UNDEF
    	JALR	RA, ZERO	// make sure this function is not leaf
    	RET
    
    // func systemstack(fn func())
    TEXT runtime·systemstack(SB), NOSPLIT, $0-8
    	MOV	fn+0(FP), CTXT	// CTXT = fn
    	MOV	g_m(g), T0	// T0 = m
    
    	MOV	m_gsignal(T0), T1	// T1 = gsignal
    	BEQ	g, T1, noswitch
    
    	MOV	m_g0(T0), T1	// T1 = g0
    	BEQ	g, T1, noswitch
    
    	MOV	m_curg(T0), T2
    	BEQ	g, T2, switch
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 13:57:06 UTC 2023
    - 27K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/wasm/wasmobj.go

    	// uses the gojs module understands the internal Go WASM ABI directly.
    	GojsModule = "gojs"
    )
    
    func instinit(ctxt *obj.Link) {
    	morestack = ctxt.Lookup("runtime.morestack")
    	morestackNoCtxt = ctxt.Lookup("runtime.morestack_noctxt")
    	sigpanic = ctxt.LookupABI("runtime.sigpanic", obj.ABIInternal)
    }
    
    func preprocess(ctxt *obj.Link, s *obj.LSym, newprog obj.ProgAlloc) {
    	appendp := func(p *obj.Prog, as obj.As, args ...obj.Addr) *obj.Prog {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 34.6K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/asm.go

    	}
    
    	prog := &obj.Prog{
    		Ctxt: p.ctxt,
    		As:   obj.AFUNCDATA,
    		Pos:  p.pos(),
    		From: valueAddr,
    		To:   nameAddr,
    	}
    	p.append(prog, "", true)
    }
    
    // asmJump assembles a jump instruction.
    // JMP	R1
    // JMP	exit
    // JMP	3(PC)
    func (p *Parser) asmJump(op obj.As, cond string, a []obj.Addr) {
    	var target *obj.Addr
    	prog := &obj.Prog{
    		Ctxt: p.ctxt,
    		Pos:  p.pos(),
    		As:   op,
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/link.go

    	Fingerprint goobj.FingerprintType // fingerprint of symbol indices, to catch index mismatch
    }
    
    func (ctxt *Link) Diag(format string, args ...interface{}) {
    	ctxt.Errors++
    	ctxt.DiagFunc(format, args...)
    }
    
    func (ctxt *Link) Logf(format string, args ...interface{}) {
    	fmt.Fprintf(ctxt.Bso, format, args...)
    	ctxt.Bso.Flush()
    }
    
    // SpillRegisterArgs emits the code to spill register args into whatever
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/stmt.go

    		case syntax.Break:
    			if ctxt&breakOk == 0 {
    				check.error(s, MisplacedBreak, "break not in for, switch, or select statement")
    			}
    		case syntax.Continue:
    			if ctxt&continueOk == 0 {
    				check.error(s, MisplacedContinue, "continue not in for statement")
    			}
    		case syntax.Fallthrough:
    			if ctxt&fallthroughOk == 0 {
    				var msg string
    				switch {
    				case ctxt&finalSwitchCase != 0:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  9. src/go/types/stmt.go

    		case token.BREAK:
    			if ctxt&breakOk == 0 {
    				check.error(s, MisplacedBreak, "break not in for, switch, or select statement")
    			}
    		case token.CONTINUE:
    			if ctxt&continueOk == 0 {
    				check.error(s, MisplacedContinue, "continue not in for statement")
    			}
    		case token.FALLTHROUGH:
    			if ctxt&fallthroughOk == 0 {
    				var msg string
    				switch {
    				case ctxt&finalSwitchCase != 0:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  10. src/runtime/cgocall.go

    	gp.m.winsyscall = winsyscall
    }
    
    func cgocallbackg1(fn, frame unsafe.Pointer, ctxt uintptr) {
    	gp := getg()
    
    	if gp.m.needextram || extraMWaiters.Load() > 0 {
    		gp.m.needextram = false
    		systemstack(newextram)
    	}
    
    	if ctxt != 0 {
    		s := append(gp.cgoCtxt, ctxt)
    
    		// Now we need to set gp.cgoCtxt = s, but we could get
    		// a SIGPROF signal while manipulating the slice, and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:47 UTC 2024
    - 24.2K bytes
    - Viewed (0)
Back to top