touch fish 042
about mem memory-barrier part-2-memory-model 其实还是perfbook里那些 c++ memory manage Thanks for the memory (allocator) 之前一直以为allocator里想侯捷写的,跟malloc一样分bin,结果发现那是sgi的实现… Oauth design A...
about mem memory-barrier part-2-memory-model 其实还是perfbook里那些 c++ memory manage Thanks for the memory (allocator) 之前一直以为allocator里想侯捷写的,跟malloc一样分bin,结果发现那是sgi的实现… Oauth design A...
end()能++吗 The behavior is undefined if the specified sequence of increments or decrements would require that a non-incrementable iterator (such as the past-the-end iterator) is incremented, or tha...
主要鉴赏一些move写出来的bug for里使用move 在for里使用move需要考虑细致一点,鉴定一个场景 std::unique_ptr<Task> task(...) for (0..theadpool.size()) { threadpool[i].run(std::move(task)); } ThreadPool::run(UniqueTask ta...
1 按照预期体重计算数据 1.1 碳水 分体质,外胚(3g/kg), 内胚(2g/kg) 按照预期体重(+-5kg), 计算一天碳水总量,把一天的碳水总量 * 7得到一周碳水总量 1.2 脂肪 分体质,外胚(1g/kg), 内胚(0.8g/kg) 按照预期体重(+-5kg), 计算一天脂肪总量,把一天的脂肪总量 * 7得到一周的脂肪总量 1.3 蛋白质 ...
wireshark里天然支持tls解密,比较简单的方法是设置SSLKEYLOGFILE环境变量,wireshark会自动读取这个文件。 创建SSLKEYLOGFILE文件 windows setx SSLKEYLOGFILE C:\Path\To\sslkeylogfile.txt unix export SSLKEYLOGFILE=/Path/To/sslkeylogfile....
How do SO_REUSEADDR and SO_REUSEPORT differ? How do SO_REUSEADDR and SO_REUSEPORT differ? 内功修炼内存篇 内功修炼内存篇 B-trees and database indexes B-trees and database indexes rust-tutorial ...
Anatomy of a Program in Memory Memory management is the heart of operating systems; it is crucial for both programming and system administration. While the concepts are generic, examples are mostl...
asan的link其实是对编译器版本是有要求的,llvm原生的可能还好,gcc的原生的应该也还行 他们要跨很多个大版本才改一次符号, 现在看起来就很稳, 对应代码 比如 extern "C" { // Every time the ASan ABI changes we also change the version number in the // __asan_init f...
碳水化合物体内存在形式 人体内大约能储存500g左右的碳水化合物,主要以糖原形式储存在肝脏和肌肉中。 肌肉糖原:约400g,主要用于肌肉活动和运动。 肝脏糖原:约100g,主要用于维持血糖水平。 整体供能维持在90-120分钟左右。 血糖 血糖是肝糖原转运到外周的媒介 参与肌肉收缩的能量供应 是中枢神经的重要供能物质,血糖下降时主要受肝糖原调节 合理的范围在3.9-...
数字证书原理 数字证书原理 Getting a handle on caching Getting a handle on caching BBR BBR:基于拥塞(而非丢包)的拥塞控制 Low Latency Cpp Systems for Trading with David Gross at CppCon Low Latency Cpp S...