Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for unsafeptr (0.16 sec)

  1. src/cmd/compile/internal/typecheck/builtin.go

    	typs[3] = types.NewPtr(typs[2])
    	typs[4] = newSig(params(typs[1]), params(typs[3]))
    	typs[5] = types.Types[types.TUINTPTR]
    	typs[6] = types.Types[types.TBOOL]
    	typs[7] = types.Types[types.TUNSAFEPTR]
    	typs[8] = newSig(params(typs[5], typs[1], typs[6]), params(typs[7]))
    	typs[9] = newSig(nil, nil)
    	typs[10] = types.Types[types.TINTER]
    	typs[11] = newSig(params(typs[10]), nil)
    	typs[12] = types.Types[types.TINT32]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssagen/abi.go

    		case types.TINT64, types.TUINT64:
    			wfs[i].Type = obj.WasmI64
    		case types.TFLOAT32:
    			wfs[i].Type = obj.WasmF32
    		case types.TFLOAT64:
    			wfs[i].Type = obj.WasmF64
    		case types.TUNSAFEPTR:
    			wfs[i].Type = obj.WasmPtr
    		default:
    			base.ErrorfAt(f.Pos(), 0, "go:wasmimport %s %s: unsupported parameter type %s", f.WasmImport.Module, f.WasmImport.Name, t.String())
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/liveness/plive.go

    // t = type of sub-portion of v.
    func clobberWalk(b *ssa.Block, v *ir.Name, offset int64, t *types.Type) {
    	if !t.HasPointers() {
    		return
    	}
    	switch t.Kind() {
    	case types.TPTR,
    		types.TUNSAFEPTR,
    		types.TFUNC,
    		types.TCHAN,
    		types.TMAP:
    		clobberPtr(b, v, offset)
    
    	case types.TSTRING:
    		// struct { byte *str; int len; }
    		clobberPtr(b, v, offset)
    
    	case types.TINTER:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 15:22:22 UTC 2024
    - 45.2K bytes
    - Viewed (0)
Back to top