摘要: ucore Lab2 lab 2 直接执行 会显示 assert 失败: 1 连续物理内存管理 1.1 page 概览 对物理内存的管理,为了节省空间,也是为了配合接下来的虚拟内存管理,通常以某个比 byte 大一些的单位进行管理,我们称这一单位内存为一" 页(page) ",通常是 4KB.待 初 阅读全文
posted @ 2019-09-03 20:29 李斌libinyl的博客 阅读(1207) 评论(0) 推荐(0) 编辑
摘要: ucore Lab0 一些杂记 前一阵子开始做 MIT 6.828,做了两三个实验才发现清华的 ucore 貌似更友好一些,再加上前几个实验也与6.828 有所重叠,于是决定迁移阵地。 文章计划分两类,一类是代码的分析,另一类是实验的解答和比较。 1. 计算机执行第一条指令之前,分段状态是怎样的? 阅读全文
posted @ 2019-08-30 02:35 李斌libinyl的博客 阅读(360) 评论(1) 推荐(0) 编辑
摘要: Two Sum 题目 "链接" 题目描述 给定一个 类型数组,要求返回其中两个数字的索引,使得它们的和为指定的目标值。 约定 1. 每个给定输入有且只有1种结果。 2. 返回的两个索引不能为同一个值。 示例 解答 阅读全文
posted @ 2018-12-15 22:23 李斌libinyl的博客 阅读(111) 评论(0) 推荐(0) 编辑
摘要: 每天三道leetcode 面向下个工作编程 顶端:机器学习 金融 投资 一切为了自由 时间有限 精力有限 目标:明年6月,求职BAT的机器学习工程师 阅读全文
posted @ 2018-12-09 17:39 李斌libinyl的博客 阅读(97) 评论(0) 推荐(0) 编辑
摘要: 尝试停用穹顶穿越 阅读全文
posted @ 2018-12-09 01:07 李斌libinyl的博客 阅读(472) 评论(0) 推荐(0) 编辑
摘要: 数组初始化: int array[100]; 声明 int array[100[ = {1,2}; 声明并初始化 int array = new int[100]; delete []array; 分配了长度为100的数组 int array = new int "100" ; delete []a 阅读全文
posted @ 2018-12-03 13:32 李斌libinyl的博客 阅读(108) 评论(0) 推荐(0) 编辑
摘要: 幕布文本: 1. 语言支持相关 cstddef limits climits limits cfloat limits cstdlib new typeinfo exception cstdarg csetjmp csignal 2. 支持流输入输出的头文件 iostream iomanip ios 阅读全文
posted @ 2018-11-11 16:20 李斌libinyl的博客 阅读(139) 评论(0) 推荐(0) 编辑
摘要: 数组从头到尾的循环遍历: 索引值增加定长,对长度取余,则形成头尾循环。 阅读全文
posted @ 2018-10-28 16:10 李斌libinyl的博客 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 竞态条件示例: java public class Client { public static void main(String[] args) throws InterruptedException { MyRunnable myRunnable = new MyRunnable(); Thre 阅读全文
posted @ 2018-10-27 01:21 李斌libinyl的博客 阅读(111) 评论(0) 推荐(0) 编辑
摘要: python3 有6个标准数据类型 不可变数据: Number String Tuple 可变数据: List Set Dictionary Number int float bool complex 可以用type() 查看变量所指的对象类型 阅读全文
posted @ 2018-10-26 23:07 李斌libinyl的博客 阅读(120) 评论(0) 推荐(0) 编辑