background picture of the home page

Hi, Friend

ハロー、これはキンです

深入理解计算机系统 第三章 笔记

第三章 程序的机器级表示 历史 Intel 1985 IA32 AMD 2003 x86-64 (amd64) 机器级代码 对于机器级编程,重要的两个抽象: 指令级架构 虚拟地址 在编译过程稿,编译器会完成大部分工作,将把用C语言提供的相对比较抽象的执行模型表示的程序转化成处理器执行的非常基本的指令

thumbnail of the cover of the post

深入理解计算机系统 第二章 笔记

第二章 信息的表示和处理 无符号编码 基于传统的二进制表示法,表示大于或者等于零的数字 补码编码 表示有符号整数最常见的方式 浮点数编码 表示实数的科学计数法的以2为基数的版本 信息存储 大多数计算机使用 8位 (1byte) 作为最小的可寻址的内存地址 机器级程序将内存视为一个非常大的字节数组,称

thumbnail of the cover of the post

深入理解计算机系统 第一章 笔记

深入理解计算机系统 笔记 第一章 计算机系统漫游 信息就是位 + 上下文 位 = bit 8位 = 8bit = 1byte = 1字节 程序被其他程序翻译成不同的格式 源程序 hello.c -> 预处理器 (cpp) hello.i -> 编译器 (ccl) hello.s -> 汇编器 (as

thumbnail of the cover of the post

Ubuntu 下 Mirai机器人部署

Ubuntu 下 Mirai机器人部署 环境 Ubuntu 20.04, mcl 项目地址: https://github.com/iTXTech/mcl-installer 开始 系统设置 新建用户 useradd -m mirai 创建密码 passwd mirai 切换mirai用户 su

thumbnail of the cover of the post

Java 加密工具类

加密工具类 import org.apache.commons.codec.digest.DigestUtils; import java.util.Random; /** * @author MashiroT */ public class Encrypt { public sta

thumbnail of the cover of the post

销毁 Session 和 Cookie

销毁 Session 和 Cookie private static void resetCookie(HttpServletRequest request, HttpServletResponse response) { Cookie userCodeCookie = new Co

thumbnail of the cover of the post

SpringBoot 拦截器

SpringBoot 使用拦截器 引导类 继承 WebMvcConfigurer 接口,重写 addInterceptors 方法 @SpringBootApplication public class ClassScheduleApplication implements WebMvcConfig

thumbnail of the cover of the post