kuikuitage

  博客园  ::  :: 新随笔  :: 联系 ::  :: 管理
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 15 下一页

2020年8月25日

摘要: 如何使用新的glibc来编译自己的程序 https://blog.csdn.net/xqhrs232/article/details/80046729 glibc memcpy函数的一些研究 https://blog.csdn.net/xiao_huocai/article/details/1031 阅读全文
posted @ 2020-08-25 00:16 kuikuitage 阅读(364) 评论(0) 推荐(0) 编辑

摘要: repo init -u url/manifest.git -b br_master -g all --repo-branch=stable --no-repo-verify repo sync -c --no-tags -j8 repo start br_gw --all repo forall 阅读全文
posted @ 2020-08-25 00:14 kuikuitage 阅读(534) 评论(0) 推荐(0) 编辑

摘要: read -p "ReadMe:" readme && export GWDIR=date +%m%d_%H%M%S_$readme && mkdir /home/gw/backup/$GWDIR -p; git status -uno > ~/.status; cat ~/.status | gr 阅读全文
posted @ 2020-08-25 00:12 kuikuitage 阅读(455) 评论(0) 推荐(0) 编辑

2020年8月21日

摘要: https://www.bilibili.com/video/BV1A7411f7jT?p=1 https://www.bilibili.com/video/BV1A7411f7jT?p=2 阅读全文
posted @ 2020-08-21 00:47 kuikuitage 阅读(665) 评论(0) 推荐(0) 编辑

2020年8月4日

摘要: macro_rules! assert { ($cond:expr) => { ... }; ($cond:expr,) => { ... }; ($cond:expr, $($arg:tt)+) => { ... }; } Asserts that a boolean expression is 阅读全文
posted @ 2020-08-04 02:02 kuikuitage 阅读(258) 评论(0) 推荐(0) 编辑

摘要: pub loss_probes: [usize; packet::EPOCH_COUNT], pub fn cwnd_available(&self) -> usize { // 发送探测数据包时忽略cwnd。 // Ignore cwnd when sending probe packets. i 阅读全文
posted @ 2020-08-04 02:01 kuikuitage 阅读(176) 评论(0) 推荐(0) 编辑

摘要: Print file, function and line number for debugging there are a few macros: line!, column! and file! You can find a bunch of other useful macros in the 阅读全文
posted @ 2020-08-04 01:54 kuikuitage 阅读(798) 评论(0) 推荐(0) 编辑

2020年8月3日

摘要: 定义枚举 enum IpAddrKind { V4, V6, } 枚举值 枚举的成员位于其标识符的命名空间中,并使用两个冒号分开。 let four = IpAddrKind::V4; let six = IpAddrKind::V6; fn route(ip_type: IpAddrKind) { 阅读全文
posted @ 2020-08-03 02:14 kuikuitage 阅读(361) 评论(0) 推荐(0) 编辑

2020年8月2日

摘要: 定义并实例化结构体 结构体的每一部分可以是不同类型。但不同于元组,结构体需要命名各部分数据以便能清楚的表明其值的意义。由于有了这些名字,结构体比元组更灵活:不需要依赖顺序来指定或访问实例中的值。 struct User { username: String, email: String, sign_ 阅读全文
posted @ 2020-08-02 23:00 kuikuitage 阅读(200) 评论(0) 推荐(0) 编辑

摘要: 所有权规则 Rust 中的每一个值都有一个被称为其 所有者(owner)的变量。 值有且只有一个所有者。 当所有者(变量)离开作用域,这个值将被丢弃。 变量作用域 { // s 在这里无效, 它尚未声明 let s = "hello"; // 从此处起,s 是有效的 // 使用 s } // 此作用 阅读全文
posted @ 2020-08-02 17:29 kuikuitage 阅读(180) 评论(0) 推荐(0) 编辑

上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 15 下一页