上一页 1 ··· 6 7 8 9 10 11 12 下一页
1. 基本功 《深入理解计算机系统》配套学习网站:https://fengmuzi2003.gitbook.io/csapp3e/linux 命令网站: https://man.linuxde.net/《Linux指令从初学到精通》 https://book.51cto.com/art/201107 Read More
posted @ 2019-03-21 14:30 靖意风 Views(209) Comments(0) Diggs(0)
在Linux的内核态和用户态都有信号量,使用也不同,简单记录一下。 1> 内核信号量,由内核控制路径使用。内核信号量是struct semaphore类型的对象,它在中定义struct semaphore { atomic_t count; int sleepers; wait_queue_head Read More
posted @ 2019-03-19 16:47 靖意风 Views(622) Comments(0) Diggs(0)
1> 编译一个文件2> 编译多个文件3> 编译多个目录下的文件4> inclue makefile5> 使用规则1>target:depend[tab]cmddepnd:file[tab]cmd举例如下test:main.o[tab]gcc -o test main.omain.o:main.c[t Read More
posted @ 2019-03-13 20:52 靖意风 Views(153) Comments(2) Diggs(0)
一、git 配置 1. 生成ssh-key 并上传到 git服务器上 #cd $HOME #ssh-keygen -t rsa -C "youremail@example.com" -t 是类型,-C 是注释 这样就会在/$HOME/.ssh 生成ssh-key,然后我们将生成的公钥id_rsa.p Read More
posted @ 2019-03-07 19:44 靖意风 Views(176) Comments(0) Diggs(0)
1. 今天想查h264 的帧率,查找资料如下: 首先要解析sps,得到两个关键的数值: num_units_in_tick, time_scale fps=time_scale/num_units_in_tick; 2. 找到如何学习 h264 的文章: 1> 介绍h264 的基本概念: https Read More
posted @ 2019-03-06 21:09 靖意风 Views(1700) Comments(0) Diggs(0)
好博客,非常感谢作者: 1. 《数据结构》C语言版 (清华严蔚敏考研版) 全书知识梳理 https://blog.csdn.net/qq_41523096/article/details/86560570 2. 深入理解计算机系统 https://hansimov.gitbook.io/csapp Read More
posted @ 2019-03-06 19:57 靖意风 Views(97) Comments(0) Diggs(0)
详细介绍负数的文章: https://blog.csdn.net/daiyutage/article/details/8575248 1.以char类型举例,其取值范围是 -128 ~ 127,即-2E7 ~ 2E7-1, 用最高位表示其符号,0表示正数,1表示负数。数值以补码形式存储。正数的补码就 Read More
posted @ 2019-03-03 21:24 靖意风 Views(4852) Comments(0) Diggs(0)
推荐一篇详细的gdb文章:http://witmax.cn/gdb-usage.html1. gdb 使用简介1> 编译程序时需要加上-g,之后才能用gdb进行调试:gcc -g main.c -o test_exe 2> 直接使用gdb调试可执行文件: gdb test_exe 3> 然后进入gd Read More
posted @ 2019-02-22 18:41 靖意风 Views(394) Comments(0) Diggs(0)
1. 产生段错误时,使用gdb分析core文件,查找原因 1>安装apport(automatically generate crash reports for debugging)2>修改/etc/security/limits.conf文件,使允许core dump,或者用ulimit -c u Read More
posted @ 2019-02-22 18:40 靖意风 Views(4474) Comments(0) Diggs(0)
1. 先到ffmpeg官网上下载ffmpeg源码,然后配置、编译 http://ffmpeg.org/download.html 可以如下进行配置: ./configure --prefix=/usr/local --enable-shared --disable-x86asm make make Read More
posted @ 2019-02-18 15:19 靖意风 Views(162) Comments(0) Diggs(0)
上一页 1 ··· 6 7 8 9 10 11 12 下一页