Firecracker Firecracker is a new light KVM-based hypervisor written in Rust and announced during last AWS re:Invent in 2018. But unlike QEMU, Firecrac ...
分类:
其他好文 时间:
2020-12-30 11:12:12
阅读次数:
0
https://www.hex-rays.com/wp-content/static/products/ida/idapro_cheatsheet.html File Operations Parse C header file... Ctrl+F9 Create ASM file... Alt+F ...
分类:
其他好文 时间:
2020-12-30 11:11:25
阅读次数:
0
一,开篇分析 NodeJS的开发语言是JavaScript,JavaScript语言自身只有字符串数据类型,没有二进制数据类型。NodeJS有时会进行网络传输、文件操作、图片处理等操作,而这些操作都与二进制数据紧密相关。因此,NodeJS提供了一个与String对等的全局构造函数Buffer来提供对 ...
分类:
Web程序 时间:
2020-12-30 10:58:05
阅读次数:
0
在对现有工具二次开发时,我们常常插入assert()检查来确保程序行为符合预期。但需要注意的是,一些项目的编译选项会使assert()无效。目前我们的解决方案是,宏定义一个自己的assert检查: #define MyAssert(x) do { \ if (!(x)) {printf("MyAss ...
分类:
其他好文 时间:
2020-12-29 11:02:47
阅读次数:
0
第一种:增加一块磁盘而另磁盘空间增大 1)、先进入kvm环境,创建一块硬盘:qemu-img create -f qcow2 /home/tianke/test.qcow2 40G 2)、再给增加的硬盘修改成qemu的权限(chown qemu:qemu *) 3)、关闭虚拟机(virsh shut ...
分类:
其他好文 时间:
2020-12-28 11:47:58
阅读次数:
0
参考: https://www.yuque.com/gdnnth/vue-v3/xvrc7e https://www.jianshu.com/p/4725441aff5f https://blog.csdn.net/wanghuan1020/article/details/109362810 一、 ...
分类:
其他好文 时间:
2020-12-28 11:47:39
阅读次数:
0
前言 LRU 是 Least Recently Used 的简写,字面意思是最近最少使用。 通常用于缓存的淘汰策略实现,由于缓存的内存非常宝贵,所以需要根据某种规则来剔除数据保证内存不被撑满。 代码实现 #ifndef _LRU_CACHE_H_ #define _LRU_CACHE_H_ #inc ...
分类:
系统相关 时间:
2020-12-28 11:27:33
阅读次数:
0
#include<stdio.h> #include<stdlib.h> #include<string.h> #define N 4 typedef struct student { int id; char name[20]; char subject[20]; float perf; floa ...
分类:
其他好文 时间:
2020-12-28 11:16:34
阅读次数:
0
1.实验任务1 // P280例8.15 // 对教材上的程序作了微调整,把输出学生信息单独编写成一个函数模块 // 打印不及格学生信息和所有学生信息程分别调用 #include<stdio.h> #include<stdlib.h> #include<string.h> #define N 3 / ...
分类:
其他好文 时间:
2020-12-28 11:15:35
阅读次数:
0
#include<stdio.h> #include<stdlib.h> #include<string.h> #define N 5 // 运行程序输入测试时,可以把N改小一些输入测试 typedef struct student { int id; /*学生学号 */ char name[20] ...
分类:
其他好文 时间:
2020-12-28 11:14:32
阅读次数:
0