会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Steve Yu
喜欢猫咪,阳光和你
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
7
8
9
10
11
12
13
14
15
···
50
下一页
2020年4月10日
LinuxC——4.进程控制
摘要: LinuxC——4.进程控制 1.PID pid是进程id,id为0是系统调度进程,id为1是初始化进程 2.fork fork函数是父亲进程进行拷贝父进程内存空间。 父进程返回子进程pid 子进程成功返回0,失败返回 1 3.exec加载器 我们如果一直在if和else if中控制进程,那么会臃肿
阅读全文
posted @ 2020-04-10 01:52 SteveYu
阅读(210)
评论(0)
推荐(0)
2020年4月9日
LinuxC——3.系统属性
摘要: LinuxC——3.系统属性 1.❤️passwd口令文件 1.1.什么是口令文件 存放账户信息的文件,就是口令文件 1.2.文件内容 真实密码放在 /etc/shadow中 1.3.getpwuid & getpwnam 这两个函数获取账户数据,同样可以读取/etc/passwd也可以 案例 🧡
阅读全文
posted @ 2020-04-09 11:18 SteveYu
阅读(228)
评论(0)
推荐(0)
先序后序建中序,其中一个
摘要: 多谢软院群的小韩和费马的鼎力相助
阅读全文
posted @ 2020-04-09 01:42 SteveYu
阅读(166)
评论(0)
推荐(0)
1119 Pre- and Post-order Traversals (30分)
摘要: Suppose that all the keys in a binary tree are distinct positive integers. A unique binary tree can be determined by a given pair of postorder and ino
阅读全文
posted @ 2020-04-09 01:40 SteveYu
阅读(197)
评论(0)
推荐(0)
2020年4月8日
层序中序建树代码
摘要: ``` #include "iostream" using namespace std; struct node { int val; node *left, *right; node(int v):val(v), left(NULL), right(NULL){} } *root = NULL; int level[] = {1, 2, 3, 4, 5}; int in[] = {4, 2, 1
阅读全文
posted @ 2020-04-08 15:48 SteveYu
阅读(227)
评论(0)
推荐(0)
LinuxC——2.文件属性
摘要: LinuxC——2.文件属性 0.❤️API stat、fstat、lstat umast chmod、fchmod chown、fchown、lchown link、unlink、remove、rename、symlink、readlink chdir、getcwd 1.🧡Linux的7种文件类
阅读全文
posted @ 2020-04-08 03:09 SteveYu
阅读(442)
评论(0)
推荐(0)
2020年4月5日
LinuxC——1.文件读写
摘要: LinuxC——1.文件读写 1.❤️文件IO 从CPU到文件是Output的一个过程,从文件到CPU是一个Input的过程,这个过程是以CPU为点的 2.🧡系统函数 open:打开文件 close:关闭文件 read:读数据 write:写数据 lseek:移动文件中读写位置 dup:文件书写位
阅读全文
posted @ 2020-04-05 14:47 SteveYu
阅读(2050)
评论(0)
推荐(0)
2020年4月3日
制作系统盘工具
摘要: balenaEtcher Windows WoeUsb linux bootcamp maxos
阅读全文
posted @ 2020-04-03 20:23 SteveYu
阅读(241)
评论(0)
推荐(0)
2020年4月1日
计算机网络——物理层和数据链路层
摘要: 计算机网络 1.❤️物理层 物理层的意义:通过物理介质进行传输数据 🤠信号和介质 信号:分为数字信号和模拟信号 🔗数字信号: 可以进行传输的,可以被看为离散的信号 🔗模拟信号: 连续的信号 🔗 基带信号: 来自信源的信号 🤠通信种类 : 我们在计算机通讯的物理层,需要使用信道(channe
阅读全文
posted @ 2020-04-01 15:29 SteveYu
阅读(978)
评论(0)
推荐(0)
2020年3月23日
链表反转
摘要: ```cpp#include "iostream"using namespace std;struct node { int val; node *next; node(int v): val(v...
阅读全文
posted @ 2020-03-23 13:51 SteveYu
阅读(137)
评论(0)
推荐(0)
2020年3月20日
Git pull request方法
摘要: 1.fork 2.修改 3.执行pr Fixes . 更改文件TinyScript/js/src/lexer/Lexer.js,修复单行测试 增加一个测试用例TinyScript/js/src/tests/Lexer.test.js
阅读全文
posted @ 2020-03-20 17:17 SteveYu
阅读(260)
评论(0)
推荐(0)
JavaScript测试工具chai
摘要: ```const PeekIterator = require('../common/PeekIterator')const arrayToGenerator = require('../common/arrayToGenerator')const {assert} = require('chai')describe('test PeekIterator', () => { it('test...
阅读全文
posted @ 2020-03-20 10:48 SteveYu
阅读(308)
评论(0)
推荐(0)
2020年3月19日
gradle初始仓库依赖(含junit)
摘要: ```testImplementation('org.junit.jupiter:junit-jupiter-api:5.4.2')compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.9'testRuntime('org.junit.jupiter:junit-jupiter-engine:5.4.2')`...
阅读全文
posted @ 2020-03-19 21:38 SteveYu
阅读(924)
评论(0)
推荐(0)
汇编和中断
摘要: MISP汇编 0.常见操作符 表示 表示 表示 表示 如果相等,则跳转LABEL 从内存加载寄存器 存储回去 加减乘除 、`subi divi multi` 表示 如果小于执行 LABEL寻址 寄存器寻址 多合一跳转 当前PC + 4存入 $ra寄存器 返回 举例 1.判断求和 汇编 2.for l
阅读全文
posted @ 2020-03-19 20:01 SteveYu
阅读(253)
评论(0)
推荐(0)
2020年3月17日
oracle-12c-ee安装
摘要: 基于本学期的oracle,因为手上没有windows平台,所以使用linux和docker进行搭建了oracle 12c ee,原文章:https://blog.csdn.net/weixin_38159676/article/details/92795453。这边进行引用学习 Please log
阅读全文
posted @ 2020-03-17 11:05 SteveYu
阅读(676)
评论(0)
推荐(0)
上一页
1
···
7
8
9
10
11
12
13
14
15
···
50
下一页
公告