本文整理汇总了C#中System.UInt32类的典型用法代码示例。如果您正苦于以下问题:C# System.UInt32类的具体用法?C# System.UInt32怎么用?C# System.UInt32使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
System.UInt32类属于命名空间,在下文中一共展示了System.UInt32类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。
示例1: Deserialize
public override int Deserialize(System.Byte[] serialized, int startIndex)
{
int curIndex = startIndex;
data = BitConverter.ToUInt32(serialized, curIndex);
curIndex += BitConverter.GetBytes(data).Length;
return (curIndex - startIndex);
}
开发者ID:WPI-ARC,项目名称:Kinect2ROS,代码行数:7,代码来源:UInt32.cs
示例2: Abstract1
/// <summary>Initializes a new instance of the Abstract1 class.</summary>
protected Abstract1(
System.UInt32 identity,
System.Int32 abstract1Field1,
System.Int32 abstract1Field2,
ImmutableObjectGraph.Optional<bool> skipValidation = default(ImmutableObjectGraph.Optional<bool>))
{
this.identity = identity;
this.abstract1Field1 = abstract1Field1;
this.abstract1Field2 = abstract1Field2;
}
开发者ID:xiexin36,项目名称:ImmutableObjectGraph,代码行数:11,代码来源:AbstractClassFamilies.generated.cs
示例3: A
/// <summary>Initializes a new instance of the A class.</summary>
protected A(
System.UInt32 identity,
System.Int32 field1,
ImmutableObjectGraph.Optional<bool> skipValidation = default(ImmutableObjectGraph.Optional<bool>))
{
this.identity = identity;
this.field1 = field1;
if (!skipValidation.Value) {
this.Validate();
}
}
开发者ID:xiexin36,项目名称:ImmutableObjectGraph,代码行数:12,代码来源:DeepHierarchy.generated.cs
示例4: Deserialize
public override int Deserialize(System.Byte[] serialized, int startIndex)
{
int curIndex = startIndex;
seq = BitConverter.ToUInt32(serialized, curIndex);
curIndex += BitConverter.GetBytes(seq).Length;
curIndex += stamp.Deserialize(serialized, curIndex);
System.UInt32 frame_id_len = BitConverter.ToUInt32(serialized, curIndex);
curIndex += BitConverter.GetBytes(frame_id_len).Length;
frame_id = System.Text.Encoding.UTF8.GetString(serialized, curIndex, (int)frame_id_len);
curIndex += (int)frame_id_len;
return (curIndex - startIndex);
}
开发者ID:WPI-ARC,项目名称:kinect2_interface,代码行数:12,代码来源:Header.cs
示例5: ReqAndHierL1
/// <summary>Initializes a new instance of the ReqAndHierL1 class.</summary>
protected ReqAndHierL1(
System.UInt32 identity,
System.String l1Field1,
System.String l1Field2,
ImmutableObjectGraph.Optional<bool> skipValidation = default(ImmutableObjectGraph.Optional<bool>))
{
this.identity = identity;
this.l1Field1 = l1Field1;
this.l1Field2 = l1Field2;
if (!skipValidation.Value) {
this.Validate();
}
}
开发者ID:xiexin36,项目名称:ImmutableObjectGraph,代码行数:14,代码来源:RequiresAndHierarchy.generated.cs
示例6: Contact
/// <summary>Initializes a new instance of the Contact class.</summary>
protected Contact(
System.UInt32 identity,
System.String name,
System.String email,
ImmutableObjectGraph.Optional<bool> skipValidation = default(ImmutableObjectGraph.Optional<bool>))
{
this.identity = identity;
this.name = name;
this.email = email;
if (!skipValidation.Value) {
this.Validate();
}
}
开发者ID:xiexin36,项目名称:ImmutableObjectGraph,代码行数:14,代码来源:Message.generated.cs
示例7: Deserialize
public override int Deserialize(System.Byte[] serialized, int startIndex)
{
int curIndex = startIndex;
System.UInt32 label_len = BitConverter.ToUInt32(serialized, curIndex);
curIndex += BitConverter.GetBytes(label_len).Length;
label = System.Text.Encoding.UTF8.GetString(serialized, curIndex, (int)label_len);
curIndex += (int)label_len;
size = BitConverter.ToUInt32(serialized, curIndex);
curIndex += BitConverter.GetBytes(size).Length;
stride = BitConverter.ToUInt32(serialized, curIndex);
curIndex += BitConverter.GetBytes(stride).Length;
return (curIndex - startIndex);
}
开发者ID:WPI-ARC,项目名称:Kinect2ROS,代码行数:13,代码来源:MultiArrayDimension.cs
示例8: Fruit
/// <summary>Initializes a new instance of the Fruit class.</summary>
protected Fruit(
System.UInt32 identity,
System.String color,
System.Int32 skinThickness,
ImmutableObjectGraph.Optional<bool> skipValidation = default(ImmutableObjectGraph.Optional<bool>))
{
this.identity = identity;
this.color = color;
this.skinThickness = skinThickness;
if (!skipValidation.Value) {
this.Validate();
}
}
开发者ID:xiexin36,项目名称:ImmutableObjectGraph,代码行数:14,代码来源:Fruit.generated.cs
示例9: Deserialize
public override int Deserialize(System.Byte[] serialized, int startIndex)
{
int curIndex = startIndex;
x_offset = BitConverter.ToUInt32(serialized, curIndex);
curIndex += BitConverter.GetBytes(x_offset).Length;
y_offset = BitConverter.ToUInt32(serialized, curIndex);
curIndex += BitConverter.GetBytes(y_offset).Length;
height = BitConverter.ToUInt32(serialized, curIndex);
curIndex += BitConverter.GetBytes(height).Length;
width = BitConverter.ToUInt32(serialized, curIndex);
curIndex += BitConverter.GetBytes(width).Length;
do_rectify = Convert.ToBoolean(serialized[curIndex]);
curIndex++;
return (curIndex - startIndex);
}
开发者ID:WPI-ARC,项目名称:kinect2_interface,代码行数:15,代码来源:RegionOfInterest.cs
示例10: Deserialize
public override int Deserialize(System.Byte[] serialized, int startIndex)
{
int curIndex = startIndex;
System.UInt32 dim_len = BitConverter.ToUInt32(serialized, curIndex);
curIndex += BitConverter.GetBytes(dim_len).Length;
for (int i = 0; i < (int)dim_len; i++)
{
std_msgs.MultiArrayDimension element = new std_msgs.MultiArrayDimension();
curIndex += element.Deserialize(serialized, curIndex);
dim.Add(element);
}
data_offset = BitConverter.ToUInt32(serialized, curIndex);
curIndex += BitConverter.GetBytes(data_offset).Length;
return (curIndex - startIndex);
}
开发者ID:WPI-ARC,项目名称:Kinect2ROS,代码行数:15,代码来源:MultiArrayLayout.cs
示例11: Deserialize
public override int Deserialize(System.Byte[] serialized, int startIndex)
{
int curIndex = startIndex;
System.UInt32 name_len = BitConverter.ToUInt32(serialized, curIndex);
curIndex += BitConverter.GetBytes(name_len).Length;
name = System.Text.Encoding.UTF8.GetString(serialized, curIndex, (int)name_len);
curIndex += (int)name_len;
offset = BitConverter.ToUInt32(serialized, curIndex);
curIndex += BitConverter.GetBytes(offset).Length;
datatype = serialized[curIndex];
curIndex++;
count = BitConverter.ToUInt32(serialized, curIndex);
curIndex += BitConverter.GetBytes(count).Length;
return (curIndex - startIndex);
}
开发者ID:WPI-ARC,项目名称:kinect2_interface,代码行数:15,代码来源:PointField.cs
示例12: PointField
public PointField()
{
name = "";
offset = 0;
datatype = 0;
count = 0;
}
开发者ID:WPI-ARC,项目名称:kinect2_interface,代码行数:7,代码来源:PointField.cs
示例13: Clear
public PgHdr pPgHdr = new PgHdr(); // Pointer to Actual Page Header
public void Clear()
{
this.iKey = 0;
this.pNext = null;
this.pCache = null;
this.pPgHdr.ClearState();
}
开发者ID:JiujiangZhu,项目名称:feaserver,代码行数:9,代码来源:PgHdr1.cs
示例14: Clear
public u32 iMaxKey; /* Largest key seen since xTruncate() */
public void Clear()
{
nRecyclable = 0;
nPage = 0;
nHash = 0;
apHash = null;
iMaxKey = 0;
}
开发者ID:Orvid,项目名称:SQLInterfaceCollection,代码行数:11,代码来源:pcache1_c.cs
示例15: Subtract
public void Subtract()
{
unchecked
{
var complement = (DoubleWord)(-InputB);
Output = (DoubleWord)InputA - InputB;
}
}
开发者ID:ungood,项目名称:TenCSharp,代码行数:8,代码来源:ALU.cs
示例16: RegionOfInterest
public RegionOfInterest()
{
x_offset = 0;
y_offset = 0;
height = 0;
width = 0;
do_rectify = false;
}
开发者ID:WPI-ARC,项目名称:kinect2_interface,代码行数:8,代码来源:RegionOfInterest.cs
示例17: TrackerState
public TrackerState()
{
header = new std_msgs.Header();
ActiveTracks = 0;
TotalTracks = 0;
Tracks = new List<person_tracker.TrackedPerson>();
TrackerType = 0;
TrackerName = "";
}
开发者ID:WPI-ARC,项目名称:Kinect2ROS,代码行数:9,代码来源:TrackerState.cs
示例18: Image
public Image()
{
header = new std_msgs.Header();
height = 0;
width = 0;
encoding = "";
is_bigendian = 0;
step = 0;
data = new List<System.Byte>();
}
开发者ID:WPI-ARC,项目名称:Kinect2ROS,代码行数:10,代码来源:Image.cs
示例19: btreeSetHasContent
internal RC btreeSetHasContent(Pgno pgno)
{
var rc = RC.OK;
if (this.HasContent == null)
{
Debug.Assert(pgno <= this.Pages);
this.HasContent = new BitArray(this.Pages);
}
if (rc == RC.OK && pgno <= this.HasContent.Length)
rc = this.HasContent.Set(pgno);
return rc;
}
开发者ID:JiujiangZhu,项目名称:feaserver,代码行数:12,代码来源:BtShared+Properties.cs
示例20: PointCloud2
public PointCloud2()
{
header = new std_msgs.Header();
height = 0;
width = 0;
fields = new List<sensor_msgs.PointField>();
is_bigendian = false;
point_step = 0;
row_step = 0;
data = new List<System.Byte>();
is_dense = false;
}
开发者ID:WPI-ARC,项目名称:kinect2_interface,代码行数:12,代码来源:PointCloud2.cs
注:本文中的System.UInt32类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论