Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for ptrTo (0.03 sec)

  1. src/cmd/compile/internal/ir/func.go

    		}
    		var e Node = NewLinksymExpr(pos, name.LinksymABI(abi), types.Types[types.TUINTPTR])
    		e = NewAddrExpr(pos, e)
    		e.SetType(types.Types[types.TUINTPTR].PtrTo())
    		e = NewConvExpr(pos, OCONVNOP, types.Types[types.TUINTPTR], e)
    		e.SetTypecheck(1)
    		return e
    	}
    	// fn is not a defined function. It must be ABIInternal.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/expand_calls.go

    			}
    			mem = x.decomposeAsNecessary(pos, b, e, mem, rc.next(et))
    		}
    		return mem
    
    	case types.TSLICE:
    		mem = x.decomposeOne(pos, b, a, mem, at.Elem().PtrTo(), OpSlicePtr, &rc)
    		pos = pos.WithNotStmt()
    		mem = x.decomposeOne(pos, b, a, mem, x.typs.Int, OpSliceLen, &rc)
    		return x.decomposeOne(pos, b, a, mem, x.typs.Int, OpSliceCap, &rc)
    
    	case types.TSTRING:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 28 05:13:40 UTC 2023
    - 31.9K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/decompose.go

    	}
    	v.reset(OpStringMake)
    	v.AddArg(ptr)
    	v.AddArg(len)
    }
    
    func decomposeSlicePhi(v *Value) {
    	types := &v.Block.Func.Config.Types
    	ptrType := v.Type.Elem().PtrTo()
    	lenType := types.Int
    
    	ptr := v.Block.NewValue0(v.Pos, OpPhi, ptrType)
    	len := v.Block.NewValue0(v.Pos, OpPhi, lenType)
    	cap := v.Block.NewValue0(v.Pos, OpPhi, lenType)
    	for _, a := range v.Args {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 23 21:22:15 UTC 2022
    - 13.4K bytes
    - Viewed (0)
  4. schema/field.go

    				return &serializer{
    					Field:      field,
    					Serializer: si.Interface().(SerializerInterface),
    				}
    			},
    		}
    	}
    
    	if field.NewValuePool == nil {
    		field.NewValuePool = poolInitializer(reflect.PtrTo(field.IndirectFieldType))
    	}
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Apr 15 03:20:20 UTC 2024
    - 32K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/walk/order.go

    		}
    		tmp := o.newTemp(kt, true)
    		// *(*nt)(&tmp) = n
    		var e ir.Node = typecheck.NodAddr(tmp)
    		e = ir.NewConvExpr(pos, ir.OCONVNOP, nt.PtrTo(), e)
    		e = ir.NewStarExpr(pos, e)
    		o.append(ir.NewAssignStmt(pos, e, n))
    		return tmp
    	}
    }
    
    // mapKeyReplaceStrConv replaces OBYTES2STR by OBYTES2STRTMP
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 02:00:33 UTC 2024
    - 42.7K bytes
    - Viewed (0)
Back to top