上一页 1 ··· 197 198 199 200 201 202 203 204 205 ··· 259 下一页
摘要: use std::sync::{Mutex, Arc}; use std::thread; fn main() { let counter = Arc::new(Mutex::new(0)); let mut handles = vec![]; for _ in 0..10 { let counte 阅读全文
posted @ 2020-07-21 17:32 zjh6 阅读(12) 评论(0) 推荐(0)
摘要: #include <常用> 构 B{ 虚 空 呀()=0; 空 哈(){ 打印("B"); } }; 构 A:公 B{ 空 呀(){ 打印("A呀"); } }; 构 C:公 B{ 空 呀(){ 打印("C呀"); } }; 构 D:公 B{ 空 呀(){ 打印("D呀"); } }; 元<型名 B 阅读全文
posted @ 2020-07-20 10:43 zjh6 阅读(17) 评论(0) 推荐(0)
摘要: zzbd 。 , 、 ; : ? ! … — · . ˉ ˇ ¨ ‘ ’ “ ” 々 ~ ‖ ∶ " ' ` | 〔 〕 〈 〉 《 》 「 」 『 』 〖 〗 【 】 ( ) [ ] { } zzd ⒈ ⒉ ⒊ ⒋ ⒌ ⒍ ⒎ ⒏ ⒐ ⒑ ⒒ ⒓ ⒔ ⒕ ⒖ ⒗ ⒘ ⒙ ⒚ ⒛ zzde А Б 阅读全文
posted @ 2020-07-18 23:14 zjh6 阅读(328) 评论(0) 推荐(0)
摘要: 级/极不分. 写错了.找半天,还重启了. 到处都是坑. 阅读全文
posted @ 2020-07-18 09:35 zjh6 阅读(11) 评论(0) 推荐(0)
摘要: 对,就是这个关联文件 是个批处理,可惜,他乱搞,没用. 用文件关联时要小心.一不注意,出大错. 还得擦屁股. 1,bat关联.关联回来 2,右键txt关联.恢复回来. 真坑人的东西! 阅读全文
posted @ 2020-07-17 20:36 zjh6 阅读(11) 评论(0) 推荐(0)
摘要: 升级vim是个大事情.又总是常见.所以,要记录下来: 这里是vim学习脚本的地方 1,用迅雷下载最新的exe. 2,将原来的vim目录重命名为vim111. 3,将_vimrc复制过去. 4,将pathogen.vim复制到autoload, 5,将我的目录复制进有gvim.exe目录. 6,把bl 阅读全文
posted @ 2020-07-17 17:01 zjh6 阅读(47) 评论(0) 推荐(0)
摘要: import std; class S { SysTime a; shared SysTime b; synchronized shared void setIt(SysTime t) { // What I used to do cast () a = t; // Here you need to 阅读全文
posted @ 2020-07-16 16:24 zjh6 阅读(12) 评论(0) 推荐(0)
摘要: import std.stdio; import std.process; import std.format; import std.algorithm; // Copied the interface from executeShell auto executeShellSudo(scope c 阅读全文
posted @ 2020-07-16 14:30 zjh6 阅读(19) 评论(0) 推荐(0)
摘要: enum LogLevel { INFO, WARN, ERROR } template log(LogLevel level) { void log(Args...)(Args args, string fn = __FUNCTION__, string file = __FILE__, size 阅读全文
posted @ 2020-07-16 14:22 zjh6 阅读(11) 评论(0) 推荐(0)
摘要: -fuse-ld=gold -Xcc=-fuse-ld=gold gnu 的gold链接器或其他 而ldc2这样,在dub.sdl中: dflags "-linker=gold" platform="linux-ldc" # use GNU gold linker 阅读全文
posted @ 2020-07-16 14:15 zjh6 阅读(18) 评论(0) 推荐(0)
上一页 1 ··· 197 198 199 200 201 202 203 204 205 ··· 259 下一页