摘要: https://blog.csdn.net/weixin_34021089/article/details/88994126 https://xargin.com/plan9-assembly/ https://zhuanlan.zhihu.com/p/29892487 阅读全文
posted @ 2020-03-06 21:05 通杀 阅读(164) 评论(0) 推荐(0) 编辑
摘要: https://stackoverflow.com/questions/49591611/c-multithreading-channels-with-condition-variables https://st.xorian.net/blog/2012/08/go-style-channel-in 阅读全文
posted @ 2020-03-04 12:23 通杀 阅读(247) 评论(0) 推荐(0) 编辑
摘要: https://bbs.pediy.com/thread-56518.htm 阅读全文
posted @ 2020-03-02 10:32 通杀 阅读(109) 评论(0) 推荐(0) 编辑
摘要: 1.读取数据jj=scan("http://www.stat.pitt.edu/stoffer/tsa2/data/jj.dat") jj<-scan("http://www.stat.pitt.edu/stoffer/tsa2/data/jj.dat")scan("http://www.stat.pitt.edu/stoffer/tsa2/data/jj.dat")->jj> jj<-scan("http://www.stat.pitt.edu/stoffer/tsa2/data/jj.dat&qu 阅读全文
posted @ 2013-05-30 17:00 通杀 阅读(1038) 评论(0) 推荐(0) 编辑
摘要: InnoDB相关的选项有:#InnoDB存储数据字典、内部数据结构的缓冲池,16MB 已经足够大了。innodb_additional_mem_pool_size = 16M#InnoDB用于缓存数据、索引、锁、插入缓冲、数据字典等#如果是专用的DB服务器,且以InnoDB引擎为主的场景,通常可设置物理内存的50%#如果是非专用DB服务器,可以先尝试设置成内存的1/4,如果有问题再调整#默认值是8M,非常坑X,这也是导致很多人觉得InnoDB不如MyISAM好用的缘故innodb_buffer_pool_size = 4G#InnoDB共享表空间初始化大小,默认是 10MB,也非常坑X,改成 阅读全文
posted @ 2013-03-28 15:33 通杀 阅读(188) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h>void mergeOrder(int* p, int len);int input(int* array){ int n; int i = 0; while(1) { scanf("%d", &n); if(n == -1) break; *array = n; array++; i++; } return i; }int ... 阅读全文
posted @ 2013-03-18 16:15 通杀 阅读(243) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h>void insertOrder(int* p, int len);int input(int* array){ int n; int i = 0; while(1) { scanf("%d", &n); if(n == -1) break; *array = n; array++; i++; } return i;}int main(){ ... 阅读全文
posted @ 2013-03-12 20:14 通杀 阅读(113) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h>int input(int* array);int selectMinKey(int* p, int i, int len);void selectOrder(int *p, int len);int input(int* array){ int n; int i = 0; while(1) { scanf("%d", &n); if(n == -1) break; *array = n; arra... 阅读全文
posted @ 2013-03-12 16:03 通杀 阅读(122) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h>int partition(int* p, int low, int high);void Qsort(int* p, int low, int high);void quickOrder(int* p, int len);int main(){ int array[10]; int len; len = input(array); quickOrder(array, len); for(int i =0; array[i] != '\0'; i++) { p... 阅读全文
posted @ 2013-03-12 15:44 通杀 阅读(142) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h>void input(int* array);void order(int* p); int main(){ int array[10]; input(array); order(array); for(int i =0; array[i] != '\0'; i++) { printf("number is:%d\r\n", array[i]); } return 0;}void input(int* array){ in... 阅读全文
posted @ 2013-03-12 12:22 通杀 阅读(140) 评论(0) 推荐(0) 编辑