C/C
TorresFans
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
c语言中的短路规则,在项目中的影响
写法一:(不能得到想要的结果)spn_kern_get_ifindex_by_fpga_xaui_index(slot, chip, (port_index || 25 == port_index) ? 0: 8, &outifindex[0]);写法二:(可以得到想要的结果)spn_kern_get_ifindex_by_fpga_xaui_index(slot, chip, (1 == port_index || 25 == port_index) ? 0: 8, &outif.原创 2020-09-10 11:36:07 · 398 阅读 · 0 评论 -
svn 冲突示例
<<<<<<< .mine if (board_info->type[slot_index] != DPX_BOARD_16_16 && board_info->type[slot_index] != DPX_BOARD_8_20 && board_info->type[slot_index] != DPX_BOARD_2_24)||||||| .r117045 if (board_info->.原创 2020-07-08 16:49:21 · 260 阅读 · 0 评论
分享