问:已知u32 a=0x12345678,u8 *p=(u8 *)&a,求*p=____,*(p+1)=___,*((u16 *)(p)+1)=___,*((u16*)(p+1)=____

问:已知u32 a=0x12345678,u8 *p=(u8 *)&a,求*p=______,*(p+1)=_______,*((u16 *)(p)+1)=________,*((u16*)(p+1))=__________.

 

答:

*p=_0x12_____,

*(p+1)=__0x34_____,

*((u16 *)(p)+1)=__0x5678______,

*((u16*)(p+1))=__0x3456________.

W __init__: rknn-toolkit2 version: 1.6.0+81f21f4d --> Loading model W load_onnx: It is recommended onnx opset 19, but your onnx model opset is 17! W load_onnx: Model converted from pytorch, 'opset_version' should be set 19 in torch.onnx.export for successful convert! Loading : 100%|████████████████████████████████████████████████| 202/202 [00:00<00:00, 44980.33it/s] W load_onnx: The config.mean_values is None, zeros will be set for input 0! W load_onnx: The config.std_values is None, ones will be set for input 0! done -->Building model E RKNN: [09:34:02.762] REGTASK: The bit width of field value exceeds the limit, target: v2, offset: 0x5048, shift = 19, limit: 0x1fff, value: 0x2e30 E RKNN: [09:34:02.762] REGTASK: The bit width of field value exceeds the limit, target: v2, offset: 0x4038, shift = 0, limit: 0x1fff, value: 0x2e30 E RKNN: [09:34:02.762] REGTASK: The bit width of field value exceeds the limit, target: v2, offset: 0x4038, shift = 16, limit: 0x1fff, value: 0x2e30 E RKNN: [09:34:02.762] REGTASK: The bit width of field value exceeds the limit, target: v2, offset: 0x5048, shift = 19, limit: 0x1fff, value: 0x2e30 E RKNN: [09:34:02.762] REGTASK: The bit width of field value exceeds the limit, target: v2, offset: 0x4038, shift = 0, limit: 0x1fff, value: 0x2e30 E RKNN: [09:34:02.762] REGTASK: The bit width of field value exceeds the limit, target: v2, offset: 0x4038, shift = 16, limit: 0x1fff, value: 0x2e30 E RKNN: [09:34:02.762] REGTASK: The bit width of field value exceeds the limit, target: v2, offset: 0x5048, shift = 19, limit: 0x1fff, value: 0x3fe0 E RKNN: [09:34:02.762] REGTASK: The bit width of field value exceeds the limit, target: v2, offset: 0x4038, shift = 0, limit: 0x1fff, value: 0x3fe0 E RKNN: [09:34:02.762] REGTASK: The bit width of field value exceeds the limit, target: v2, offset: 0x4038, shift = 16, limit: 0x1fff, value: 0x3fe0 E RKNN: [09:34:02.765] emitCHW_C1HWC2_regtasks: align_surf overflow! E RKNN: [09:34:02.768] REGTASK: The bit width of fi
03-24
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值