会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
jakekiller00
博客园
首页
新随笔
联系
订阅
管理
2022年11月21日
mediapipe + pyside2 在mac m1下的环境配置
摘要: mediapipe 1.需要安装homebrew,且需要安装在/usr/local(若安装到/opt/,则后续步骤会出错,原因不详) /bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.s
阅读全文
posted @ 2022-11-21 08:36 jakekiller00
阅读(205)
评论(0)
推荐(0)
2022年11月8日
三种方式实现Barrier
摘要: 1.利用pthread_t对计数器进行加锁,线程没有全到达之前进行忙等待; #include<iostream> #include<pthread.h> #define num 8 using namespace std; typedef struct thread_item{ int thread
阅读全文
posted @ 2022-11-08 19:45 jakekiller00
阅读(85)
评论(0)
推荐(0)
2022年11月7日
生产者消费者问题———pthread实现
摘要: pthread_t 用法; 创建自旋锁 pthread_mutex_t ; 创建条件锁 pthread_cond_t(需要轮询判断条件); 输入2 2 15测试 #include<iostream> #include<pthread.h> #include<ctime> #include <unis
阅读全文
posted @ 2022-11-07 17:32 jakekiller00
阅读(75)
评论(0)
推荐(0)
2022年11月4日
编译原理---构建C语言编译器
摘要: 1.利用Flex构建词法分析器 XXXJumpingFrogXXX/C-Compiler: C compiler project. (github.com)
阅读全文
posted @ 2022-11-04 10:59 jakekiller00
阅读(55)
评论(0)
推荐(0)
2022年11月2日
多线程多进程拷贝文件Linux&c
摘要: 多进程拷贝文件 1.Linux环境中,c语言我们利用的是fork()函数来创建新进程,通过wait()和waitpid()等函数来等待阻塞进程,通过exit()函数来结束进程。 2.我在单进程中,用的是while(file_info=readdir(src_dp)) 当判断一个文件路径是文件夹的时候
阅读全文
posted @ 2022-11-02 17:27 jakekiller00
阅读(539)
评论(0)
推荐(0)
2022年10月31日
重启博客园的一天
摘要: 今天偶然看到了博客园的标签,突发奇想想点开看看自己曾经三分钟热血搭建的首页。 它像一个整洁的小屋,我离开的那天是什么样子,它现在还是什么样子。 看到自己大一用拙劣的技术搭建的动态效果(当时都看不懂人家的js代码,全部cv过来成了自己的主页),心里真的感慨万千。 于是我当即决定,重启博客园的使用,继续
阅读全文
posted @ 2022-10-31 15:15 jakekiller00
阅读(25)
评论(0)
推荐(1)
区块链阅读Do you need a blockchain?
摘要: 你需要一个区块链吗? 通信作者:E-mail:2011856@mail.nankai.edu.cn 摘 要:阅读完“Do you need a block chain”论文后回答以下问题: 这篇论文的主要内容是什么? 能否用一句话概括作者对区块链的论点? 这篇论文的优点和缺点? 作者的论点和你的感觉
阅读全文
posted @ 2022-10-31 15:07 jakekiller00
阅读(76)
评论(0)
推荐(0)
2021年4月15日
贪吃蛇大作业相关
摘要: https://blog.csdn.net/weixin_52142731/article/details/110477154 Sleep函数用法 https://blog.csdn.net/zhao_fu_lu/article/details/23961111 initgragh函数用法 http
阅读全文
posted @ 2021-04-15 14:59 jakekiller00
阅读(32)
评论(0)
推荐(0)
2021年4月3日
ostream用法
摘要: #include<iostream> using namespace std; class Person { public: int m_A = 10; int m_B = 20; }; ostream &operator<<(ostream &cout, Person& p) { cout <<
阅读全文
posted @ 2021-04-03 15:30 jakekiller00
阅读(252)
评论(0)
推荐(0)
2021年3月28日
双指针验证回文串
摘要: class Solution { public: bool isPalindrome(string s) { string sgood; for (char ch: s) { if (isalnum(ch)) { //判断是否是数字或者字母 sgood += tolower(ch); //tolow
阅读全文
posted @ 2021-03-28 16:54 jakekiller00
阅读(51)
评论(0)
推荐(0)
下一页
公告