摘要: SQL语句单行注释用 -- : SQL语句多行注释用 /* 注释 */ : 阅读全文
posted @ 2018-12-02 20:37 deep-thinking 阅读(202) 评论(0) 推荐(0) 编辑
摘要: Python 字符串格式化解决的问题: 字符串格式化是为了实现字符串和变量同时输出时按一定的格式显示。 例如:" 一年有{}天,一天有{}小时 。".format(365,24) ==> " 一年有365天,一天有24小时。" format()方法的基本使用: <模板字符串>.format(<逗号分 阅读全文
posted @ 2018-11-30 18:17 deep-thinking 阅读(3006) 评论(1) 推荐(1) 编辑
摘要: 一、系统调用 1. 系统调用组织图 2. 系统调用流程图 3. 系统调用上下文切换 二、文件 1. 文件组织结构图 2. 虚拟文件系统VFS结构图 3. 虚拟文件系统对象图 4. 进程与VFS交互模型 5. 进程相关文件结构图 三、进程 1. OS进程状态转换图 2. 进程相关数据结构图 3. 中断 阅读全文
posted @ 2021-05-17 10:51 deep-thinking 阅读(77) 评论(0) 推荐(0) 编辑
摘要: 一、TCP/IP协议栈在Linux内核中的运行时序分析 1. Linux内核任务调度机制 1. 1 任务调度 1. 什么是调度器? What ? ​ 调度器本质是一个 软件模块,普遍存在于 资源受限 的系统中,它负责将稀缺的系统资源(CPU 时间、内存、网络等)分配给运行实体(线程、进程、任务等), 阅读全文
posted @ 2021-01-29 13:31 deep-thinking 阅读(228) 评论(0) 推荐(0) 编辑
摘要: 如何科学高效的学习? 抓重点、关键(对于短时间完看完一本很厚的书,首先看目录,找出重点关键部分,先集中攻克它,再回头解决其他部分内容) 画知识树、思维导图 深入理解原理细节 反复动手刻意练习(特别注意细节地方,不要机械的练习,要在练习过程中思考和提高,特别重视从错误中吸取经验) 总结归纳精华知识(在 阅读全文
posted @ 2020-08-20 23:58 deep-thinking 阅读(235) 评论(0) 推荐(0) 编辑
摘要: Common practice of initializing fields at the beginning of a class as following. 1 public class InitializingFieldsTest { 2 public static int age = 23; 阅读全文
posted @ 2020-08-12 16:10 deep-thinking 阅读(91) 评论(0) 推荐(0) 编辑
摘要: The answer is below 1 public class DataStructure { 2 3 private final static int SIZE = 15; 4 private int[] arrayOfInt = new int[SIZE]; 5 6 DataStructu 阅读全文
posted @ 2020-08-12 12:51 deep-thinking 阅读(91) 评论(0) 推荐(0) 编辑
摘要: Note: A nested class is defined within another class. 1 class OuterClass{ 2 ... 3 class NestedClass{...} 4 } View Code There are two types of nested c 阅读全文
posted @ 2020-08-11 20:55 deep-thinking 阅读(101) 评论(0) 推荐(0) 编辑
摘要: Concepts Covered Basic concepts of pipeline processing Pipeline speedup Instruction pipeline in ARM Basic concepts of pipeline processing What is pipe 阅读全文
posted @ 2020-08-11 19:01 deep-thinking 阅读(242) 评论(0) 推荐(0) 编辑
摘要: Background or Issue: It's no sence to invoke an existing method by a lambda expression,so do it with method's name. Introduction with Example 1 public 阅读全文
posted @ 2020-08-11 09:41 deep-thinking 阅读(101) 评论(0) 推荐(0) 编辑
摘要: Backgroud or Issues: It is unclear and complex to implement a functional interface(only contains one abstract methond) with an anonymous class when yo 阅读全文
posted @ 2020-08-09 18:59 deep-thinking 阅读(89) 评论(0) 推荐(0) 编辑
摘要: // Approach 7: Use Lamba Expressions Throughout Your ApplicationLamba should be Lambdareference from: https://docs.oracle.com/javase/tutorial/displayC 阅读全文
posted @ 2020-08-09 09:53 deep-thinking 阅读(135) 评论(0) 推荐(0) 编辑