本文整理汇总了C#中ValueRef类的典型用法代码示例。如果您正苦于以下问题:C# ValueRef类的具体用法?C# ValueRef怎么用?C# ValueRef使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ValueRef类属于命名空间,在下文中一共展示了ValueRef类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。
示例1: Collidable
public Collidable(int w, int h, MovementController mc, LifeController lc, DamageController dc)
{
ID = -1;
_width = w;
_height = h;
CollidedAt = new Vector2();
_bounds = new Rectangle(Convert.ToInt32(mc.Position.X), Convert.ToInt32(mc.Position.Y), _width, _height);
MovementController = mc;
LifeController = lc;
DamageController = dc;
Controllable = new ValueRef<bool>(true);
_serverID = Interlocked.Increment(ref _itemCount);
}
开发者ID:EugeneWang,项目名称:ShootR,代码行数:14,代码来源:Collidable.cs
示例2: IsAConstantVector
public unsafe static ValueRef IsAConstantVector(ValueRef Val) {
ValueRef ret = new ValueRef(LLVMPINVOKE.IsAConstantVector(Val.Value));
return ret;
}
开发者ID:RainsSoft,项目名称:SharpLang,代码行数:4,代码来源:LLVM.cs
示例3: ConstStringInContext
public unsafe static ValueRef ConstStringInContext(ContextRef C, string Str, uint Length, bool DontNullTerminate) {
ValueRef ret = new ValueRef(LLVMPINVOKE.ConstStringInContext(C.Value, Str, Length, DontNullTerminate));
return ret;
}
开发者ID:RainsSoft,项目名称:SharpLang,代码行数:4,代码来源:LLVM.cs
示例4: ConstIntGetSExtValue
public unsafe static long ConstIntGetSExtValue(ValueRef ConstantVal) {
long ret = LLVMPINVOKE.ConstIntGetSExtValue(ConstantVal.Value);
return ret;
}
开发者ID:RainsSoft,项目名称:SharpLang,代码行数:4,代码来源:LLVM.cs
示例5: ConstRealOfString
public unsafe static ValueRef ConstRealOfString(TypeRef RealTy, string Text) {
ValueRef ret = new ValueRef(LLVMPINVOKE.ConstRealOfString(RealTy.Value, Text));
return ret;
}
开发者ID:RainsSoft,项目名称:SharpLang,代码行数:4,代码来源:LLVM.cs
示例6: ConstIntOfStringAndSize
public unsafe static ValueRef ConstIntOfStringAndSize(TypeRef IntTy, string Text, uint SLen, byte Radix) {
ValueRef ret = new ValueRef(LLVMPINVOKE.ConstIntOfStringAndSize(IntTy.Value, Text, SLen, Radix));
return ret;
}
开发者ID:RainsSoft,项目名称:SharpLang,代码行数:4,代码来源:LLVM.cs
示例7: ConstPointerNull
public unsafe static ValueRef ConstPointerNull(TypeRef Ty) {
ValueRef ret = new ValueRef(LLVMPINVOKE.ConstPointerNull(Ty.Value));
return ret;
}
开发者ID:RainsSoft,项目名称:SharpLang,代码行数:4,代码来源:LLVM.cs
示例8: GetUndef
public unsafe static ValueRef GetUndef(TypeRef Ty) {
ValueRef ret = new ValueRef(LLVMPINVOKE.GetUndef(Ty.Value));
return ret;
}
开发者ID:RainsSoft,项目名称:SharpLang,代码行数:4,代码来源:LLVM.cs
示例9: IsAUnaryInstruction
public unsafe static ValueRef IsAUnaryInstruction(ValueRef Val) {
ValueRef ret = new ValueRef(LLVMPINVOKE.IsAUnaryInstruction(Val.Value));
return ret;
}
开发者ID:RainsSoft,项目名称:SharpLang,代码行数:4,代码来源:LLVM.cs
示例10: IsAShuffleVectorInst
public unsafe static ValueRef IsAShuffleVectorInst(ValueRef Val) {
ValueRef ret = new ValueRef(LLVMPINVOKE.IsAShuffleVectorInst(Val.Value));
return ret;
}
开发者ID:RainsSoft,项目名称:SharpLang,代码行数:4,代码来源:LLVM.cs
示例11: IsAPHINode
public unsafe static ValueRef IsAPHINode(ValueRef Val) {
ValueRef ret = new ValueRef(LLVMPINVOKE.IsAPHINode(Val.Value));
return ret;
}
开发者ID:RainsSoft,项目名称:SharpLang,代码行数:4,代码来源:LLVM.cs
示例12: IsAInsertElementInst
public unsafe static ValueRef IsAInsertElementInst(ValueRef Val) {
ValueRef ret = new ValueRef(LLVMPINVOKE.IsAInsertElementInst(Val.Value));
return ret;
}
开发者ID:RainsSoft,项目名称:SharpLang,代码行数:4,代码来源:LLVM.cs
示例13: IsADbgInfoIntrinsic
public unsafe static ValueRef IsADbgInfoIntrinsic(ValueRef Val) {
ValueRef ret = new ValueRef(LLVMPINVOKE.IsADbgInfoIntrinsic(Val.Value));
return ret;
}
开发者ID:RainsSoft,项目名称:SharpLang,代码行数:4,代码来源:LLVM.cs
示例14: IsABinaryOperator
public unsafe static ValueRef IsABinaryOperator(ValueRef Val) {
ValueRef ret = new ValueRef(LLVMPINVOKE.IsABinaryOperator(Val.Value));
return ret;
}
开发者ID:RainsSoft,项目名称:SharpLang,代码行数:4,代码来源:LLVM.cs
示例15: IsAGlobalVariable
public unsafe static ValueRef IsAGlobalVariable(ValueRef Val) {
ValueRef ret = new ValueRef(LLVMPINVOKE.IsAGlobalVariable(Val.Value));
return ret;
}
开发者ID:RainsSoft,项目名称:SharpLang,代码行数:4,代码来源:LLVM.cs
示例16: GetNumOperands
public unsafe static int GetNumOperands(ValueRef Val) {
int ret = LLVMPINVOKE.GetNumOperands(Val.Value);
return ret;
}
开发者ID:RainsSoft,项目名称:SharpLang,代码行数:4,代码来源:LLVM.cs
示例17: ConstAllOnes
public unsafe static ValueRef ConstAllOnes(TypeRef Ty) {
ValueRef ret = new ValueRef(LLVMPINVOKE.ConstAllOnes(Ty.Value));
return ret;
}
开发者ID:RainsSoft,项目名称:SharpLang,代码行数:4,代码来源:LLVM.cs
示例18: IsAAddrSpaceCastInst
public unsafe static ValueRef IsAAddrSpaceCastInst(ValueRef Val) {
ValueRef ret = new ValueRef(LLVMPINVOKE.IsAAddrSpaceCastInst(Val.Value));
return ret;
}
开发者ID:RainsSoft,项目名称:SharpLang,代码行数:4,代码来源:LLVM.cs
示例19: IsNull
public unsafe static bool IsNull(ValueRef Val) {
bool ret = LLVMPINVOKE.IsNull(Val.Value);
return ret;
}
开发者ID:RainsSoft,项目名称:SharpLang,代码行数:4,代码来源:LLVM.cs
示例20: IsAVAArgInst
public unsafe static ValueRef IsAVAArgInst(ValueRef Val) {
ValueRef ret = new ValueRef(LLVMPINVOKE.IsAVAArgInst(Val.Value));
return ret;
}
开发者ID:RainsSoft,项目名称:SharpLang,代码行数:4,代码来源:LLVM.cs
注:本文中的ValueRef类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论