cyyzero / cyyzero.github.io Goto Github PK
View Code? Open in Web Editor NEWHome Page: https://cyyzero.github.io
Home Page: https://cyyzero.github.io
https://cyyzero.github.io/2018/07/24/strange_INT_MIN/
这个问题是在CSAPP上看到的,详情可以看这个。 简单来说,问题就是:在用补码表示有符号整型的机器上,C语言中的整型的最大值和最小值的表示方法不同。接下来就以32位int为例子讲解这个问题。 int的最大值INT_MAX和int的最小值INT_MIN,是这么定义的: 123#define INT_MAX 2147483647#define INT_MIN (-INT_MAX – 1) 熟悉补码的
https://cyyzero.github.io/2021/09/01/Linux/Linux_uids/
Linux的访问控制模型Linux传统的访问控制模型是DAC(Discretionary Access Control,自主访问控制)。DAC Model是根据自主访问控制策略建立的一种模型,允许合法用户以用户或用户组的身份访问策略规定的客体,同时阻止非授权用户访问客体,某些用户还可以自主地把自己所拥有的客体的访问权限授予其他用户。在Linux中,这里用户和用户组就对应了user和group,客体
https://cyyzero.github.io/2019/02/19/member_pointer_implemention/
Itanium C++ ABIItanium C++ ABI是一个用于C++的ABI。作为ABI,它给出了实现该语言的精确规则,确保程序中单独编译的部分能够成功地互操作。尽管它最初是为Itanium架构开发的,但它不是特定于平台的,可以在任意的C ABI之上进行分层移植。因此,它被用作所有主要架构上的许多主要操作系统的标准C++ ABI,并在许多主要的c++编译器中实现,包括GCC和Clang。
https://cyyzero.github.io/2023/07/29/Linux/Ext4_mount_default_opts/?
引入在Ext4的官方文档里,可以看到有很多挂载的选项,并且有一些被标记为了默认,比如delalloc。但是通过procfs的/proc/mounts并没有看到这些默认的选项,比如delalloc(有个nodelalloc的disable delalloc选项,这两个是非此即彼的关系,却都没有出现)。 12$ cat /proc/mounts| grep ext4/dev/sdb / ext4 rw
https://cyyzero.github.io/about/
博客收录了本科期间整理的一些零碎知识点和读书笔记。大四和研一由于实习+毕设+上课,没什么时间写博客。研二开始打算记录下读的论文。 联系方式: github 邮箱
Xavier, Miguel G., et al. “Performance evaluation of container-based virtualization for high performance computing environments.” 2013 21st Euromicro International Conference on Parallel, Distributed,
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.