上一页 1 ··· 56 57 58 59 60 61 62 63 64 ··· 164 下一页

2021年1月4日

摘要: 条件编译可以通过两种不同的操作符实现,如下: - cfg属性:在属性位置中使用#[cfg(...)] - cfg!宏:在布尔表达式中使用cfg!(...) Configuration conditional checks are possible through two different oper 阅读全文
posted @ 2021-01-04 14:41 tycoon3 阅读(472) 评论(0) 推荐(0)

2020年12月30日

摘要: iter()通过引用遍历项目 into_iter()遍历项目,将其移至新范围 iter_mut()遍历项目,为每个项目提供可变的引用 因此,for x in my_vec { ... }本质上等效于my_vec.into_iter().for_each(|x| ... )-将my_vec的两个元素都 阅读全文
posted @ 2020-12-30 11:27 tycoon3 阅读(148) 评论(0) 推荐(0)
摘要: When working with potentially dangerous, unverified, or simply raw software, developers often use sandboxes. These are special environments that isola 阅读全文
posted @ 2020-12-30 09:37 tycoon3 阅读(216) 评论(0) 推荐(0)
摘要: The web is an ugly place, and anything that touches it in any significant capacity is likely to be attacked. Programs are full of bugs and exploits, a 阅读全文
posted @ 2020-12-30 09:35 tycoon3 阅读(141) 评论(0) 推荐(0)
摘要: Seccomp is basic yet efficient way to filter syscalls issued by a program. It is especially useful when running untrusted third party programs. Actual 阅读全文
posted @ 2020-12-30 09:15 tycoon3 阅读(367) 评论(0) 推荐(0)

2020年12月29日

摘要: Docker安装Go 用docker安装go,可能不是最好的方法,但一定是最方便的方法 # 指定容器名为go115 docker run -it --name go115 golang:1.15 /bin/bash 你可以通过加上-v ~:/home/me参数,表示将家目录挂载到/home/me目录 阅读全文
posted @ 2020-12-29 19:38 tycoon3 阅读(1049) 评论(0) 推荐(0)
摘要: CMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message): Could NOT find OpenSSL, try to set the path to OpenSSL 阅读全文
posted @ 2020-12-29 16:35 tycoon3 阅读(5138) 评论(0) 推荐(0)
摘要: fn consume_with_relish<F>(mut func: F) where F: FnMut() -> String { // `func` consumes its captured variables, so it cannot be run more // than once p 阅读全文
posted @ 2020-12-29 15:42 tycoon3 阅读(265) 评论(0) 推荐(0)
摘要: [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1". Core was generated by `cloud 阅读全文
posted @ 2020-12-29 14:59 tycoon3 阅读(223) 评论(0) 推荐(0)
摘要: https://docs.bazel.build/versions/master/install-ubuntu.html his page describes the options for installing Bazel on Ubuntu. It also provides links to 阅读全文
posted @ 2020-12-29 11:04 tycoon3 阅读(384) 评论(0) 推荐(0)
上一页 1 ··· 56 57 58 59 60 61 62 63 64 ··· 164 下一页

导航