kuikuitage

  博客园  ::  :: 新随笔  :: 联系 ::  :: 管理

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 阅读(259) 评论(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 阅读(177) 评论(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 阅读(831) 评论(0) 推荐(0) 编辑