自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(109)
  • 资源 (13)
  • 收藏
  • 关注

原创 glibc内存管理ptmalloc - 多线程内存管理

多线程内存管理

2024-03-27 23:46:27 5669

原创 glibc内存管理ptmalloc - 实时打印bin链的变化

利用工具pwndbg快速理解ptmalloc运行原理

2024-03-27 19:00:00 5711

原创 glibc内存管理ptmalloc - largebin

ptmalloc如何分配较大内存

2024-03-22 20:56:31 6384

原创 glibc内存管理ptmalloc

多了解点malloc的原理不吃亏

2024-03-22 06:00:00 6151

原创 Modern C++ std::any为何要求Tp可拷贝构造?

Modern C++ std::any为何要求Tp可拷贝构造?

2024-02-28 19:13:53 415

原创 Modern C++ std::any的实现原理

std::any的实现原理

2024-02-28 19:13:24 761

原创 Modern C++ std::visit从实践到原理

std::visit从实践到原理

2024-02-24 06:00:00 2902

原创 Modern C++ std::variant 我小看了get的速度

编译器深度优化std::get(variant)

2024-02-23 06:30:00 2736

原创 Modern C++ std::variant的继承体系

理解std::variant的继承体系

2024-02-23 06:00:00 4284

原创 Modern C++ std::variant的6个特性+原理

variant 5个特性+实现原理

2024-02-22 19:00:00 3443

原创 Modern C++ std::variant的实现原理

std::variant的实现原理

2024-02-22 07:32:29 3497

翻译 Modern C++ 内存篇0 - std::allocator VS pmr

入门并了解pmr的特性

2024-02-11 20:39:23 48

原创 Modern C++ 内存篇2 - 关于relocation的思考

关于relocation(vector capacity扩张)的思考

2024-02-11 20:38:23 420

原创 五花八门客户问题(BUG) - 花2天分析了一个10年之久的release独有的BUG

五花八门客户问题(隐藏十多年的BUG) - 指针形参不小心传了个二维指针

2024-02-08 21:47:40 30

原创 Modern C++ 内存篇1 - std::allocator VS pmr

std::allocator速度快于polymorphic?

2024-02-08 21:47:06 918

原创 Modern C++ idiom6 - 命名返回值优化NRVO

命名返回值优化 NRVO

2024-02-02 07:00:00 380

原创 Modern C++ idiom5 -SOO小对象优化

小对象优化是一种旨在提高小对象内存分配效率的优化技术

2024-02-02 06:15:00 356

原创 Modern C++ idiom4 - CRTP

CRTP是一种使用C++模板机制的设计模式

2024-02-01 20:00:00 374

原创 Modern C++ idiom3:RAII

RAII

2024-02-01 19:30:00 271

原创 Modern C++ idiom2:SFINAE

SFINAE,是 C++ 模板元编程中的一种原则

2024-01-31 20:30:00 348

原创 Modern C++ std::get<n>(tuple)的原理

tuple实现那么复杂,哪怎么取回数据哪?std::get(tuple)如何工作哪?

2024-01-31 19:31:07 1365

原创 Modern C++ idiom1:Copy-and-Swap

modern C++技巧:copy-and-swap

2024-01-30 21:17:57 271

原创 Modern C++ sizeof(std::tuple)的秘密及实现代码解读

std::tuple size的秘密 + 实现代码解析

2024-01-30 20:52:46 1174

原创 GDB调试技巧实战--自动化画出类关系图

GDB调试技巧实战--画出UML图

2024-01-29 18:49:01 431

原创 Modern C++ lambda表达式的本质

C++ lambda表达式的本质

2024-01-28 14:18:10 365

原创 Modern C++利用工具快速理解std::tuple的实现原理

快速理解std::tuple的实现原理

2024-01-28 13:24:47 625

原创 Modern C++ std::swap的实现原理

std::swap的实现原理

2024-01-28 08:15:00 147

原创 Modern C++ std::shared_ptr线程安全吗(二)兼谈reset()的实现原理

shared_ptr::reset的实现

2024-01-28 07:30:00 435

原创 Modern C++ std::tuple的size

sizeof(std::tuple)

2024-01-28 06:30:00 215

原创 Modern C++ std::unique_ptr的实现原理

modern C++ std::unique_ptr的实现原理

2024-01-28 06:00:00 218

原创 Modern C++ std::weak_ptr的实现原理

weak_ptr实现原理

2024-01-27 06:30:00 735

原创 Modern C++ std::shared_ptr线程安全吗(一)

std::shared_ptr线程安全吗?

2024-01-27 06:00:00 163

原创 Modern C++ std::shared_ptr的实现原理

shared_ptr的实现原理

2024-01-26 20:00:00 1854

原创 Modern C++ std::bind的实现原理-举例

Modern C++ std::bind的实现原理

2024-01-26 19:00:00 379

原创 Modern C++ std::move的实现原理

std::move的实现原理

2024-01-25 21:03:40 393

原创 Modern C++ std::bind的实现原理

modern c++ std::bind的实现原理

2024-01-25 21:02:59 1271

原创 GDB调试技巧实战--多线程&深入理解条件变量

曾经在《Modern C++ 条件变量》提到过可以用GDB来模拟线程调度来解释为什么打印“this is fun2,count=6” 而不是“this is fun2,count=5”。

2024-01-19 23:14:42 162

原创 Modern C++ 一个例子学习条件变量

一个例子中学习条件变量

2024-01-19 23:14:35 526

原创 一步步手撸一个std::function

纸上得来终觉浅,绝知此事要躬行!我们分析过std::function的实现原理,但这只是纸上谈兵。要想理解为什么这么实现,最好的办法还是想想要是自己手写一个要怎么实现。本文不想直接呈现最终版本,因为那样读者看不到某段代码是为了什么才那么写。我会搭建好几版,争取把所想所思都体现出来。

2024-01-16 23:57:26 940

转载 转发一个modern C++实现的线程池

转发一个modern C++实现的线程池

2024-01-16 20:30:00 32

demo_of_xerces-c++_MemoryManagement

抽取xerces-c++内存管理部分代码+可作为学习demo使用。

2022-09-11

visual_Project_dependency

This Python tool will generate a graph to show the vs 2010 project dependencies. Input : 2010 vs sln file. Output: temp.png Note: 1. GraphViz must be install before using this python program. 2. This python program is developed on python 2.7, not test on python 3.x. 3. Works fine on 2010 vs sln file, not test on other versions.

2018-08-08

Load format internal.ppt

本文介绍如何产生符合LOAD utility要求的FORMAT INTERNAL格式的行数据.

2017-11-10

VBS dataset Internals.ppt

这篇ppt主要介绍VBS dataset内部的数据是怎么组织的, 最后还稍微介绍了如何把VBS格式的数据通过LOAD utility导入DB2. 本文是工作中总结出来的, 文中的dataset不便公开只在此说技术, 还请见谅.

2017-11-10

LyncAddinScreenshot

Microsoft Lync 2013/2016 is a good communication tool, we can via it send attachments, draw something on Whiteboard, etc. But it doesn't have a function of screenshot. This program is an addin to Microsoft Lync 2013/2015, you can send a rectangular area of the whole screen directly to the conversat

2017-01-11

大机汇编宏代码展开

The expandmacro_ply.exe is a command on Windows written by Python(then convert to exe), which can expand the HLASM macro statement and can show the steps it be expanded. What can you do by it? 1.Learn how does one macro be expanded by specifed parameter --debug=true. 2. Show the expansion or compare the result given different parameters for one macro. Get the help information without parameter. C:\Users\mzhai>expandmacro_ply.exe usage: expandmacro_ply --maclib= path of maclib. First of all, You'd better download all macros in SYS1.MACLIB on one LPAR. --call= CALL_MACRO_STRING --sysndx=1 SYSNDX's value --debug=False if debug==true, more comment given eg: expandmacro_ply.exe --maclib=d:/test/sysmac23 --call=" CALL BINAALG" --sysndx=3 --debug=true Show the expansion. C:\Users\mzhai>EXPANDMACRO_PLY --maclib=d:/test/sysmac23 --call=" CPOOL BUILD,PCELLCT=10,SCELLCT=20,CSIZE=40,SP=2 +++++++++++++++++++++++++++++++++ BAS 1,*+48 .BRANCH AROUND PARAMETER LIST DC AL4(10) .PRIMARY CELL COUNT DC AL4(20) .SECONDARY CELL COUNT DC AL4(40) .CELL SIZE DC AL1(2) .SUBPOOL ID DC AL1(0) .KEY DC BL2'0000000000000000' .FLAGS DC AL4(0) .TCB ADDRESS DC XL24'00' .HEADER ESAR 15 .SAVE SECONDARY ASN STM 15,12,16(13) .SAVE REGISTERS L 15,16(0,0) .CVT ADDRESS L 15,772(,15) .ADDRESS SYSTEM LINKAGE TABLE L 15,76(,15) .OBTAIN PC NUMBER PC 0(15) .PC TO IGVCPBDP L 2,16(0,13) .RESTORE SECONDARY ASN SSAR 2

2015-03-27

深入LINUX内核架构

英文版。详细描述了LINUX各个模块(进程、内存、锁、文件系统等)的原理

2013-07-14

Linux内核情景分析

Linux内核情景分析 上下两部全 中文版

2013-07-12

The art of computer programming volume2

The art of computer programming volume2

2013-07-12

Inside the C++ object model

英文版。描述C++对象在内存中实际是咋样的。

2013-07-12

Addison.Wesley.Donald.E.Knuth.The.Art.of.Computer.Programming.Volume.1.pdf

Addison.Wesley.Donald.E.Knuth.The.Art.of.Computer.Programming.Volume.1.pdf

2013-07-12

剪裁飞鸽源代码,远程命令完成后及时给你发飞秋通知你

有时候在一台远程服务器上执行需要挺长时间的程序(比如单元测试),期望程序完成后及时通知本地工作的你,然后你好去查看结果。本软件就是完成这个功能的!使用方法,如你的程序是AA.exe arg1,arg2, 则fgcmd.exe AA.exe arg1,arg2

2013-07-11

Exceptional C++ Style english

author: Herb Sutter Chapter 1. Uses and Abuses of vector Solution Chapter 2. The String Formatters of Manor Farm, Part 1: sprintf Solution Chapter 3. The String Formatters of Manor Farm, Part 2: Standard (or Blindingly Elegant) Alternatives Solution Chapter 4. Standard Library Member Functions Solution Chapter 5. Flavors of Genericity, Part 1: Covering the Basis [sic] Solution Chapter 6. Flavors of Genericity, Part 2: Generic Enough? Solution Chapter 7. Why Not Specialize Function Templates? Solution Chapter 8. Befriending Templates Solution Chapter 9. Export Restrictions, Part 1: Fundamentals Solution A Tale of Two Models Illustrating the Issues Export InAction [sic] Issue the First: Source Exposure Issue the Second: Dependencies and Build Times Summary Chapter 10. Export Restrictions, Part 2: Interactions, Usability Issues, and Guidelines Solution Exception Safety Issues and Techniques Chapter 11. Try and Catch Me Solution Chapter 12. Exception Safety: Is It Worth It? Solution Chapter 13. A Pragmatic Look at Exception Specifications Solution Class Design, Inheritance, and Polymorphism Chapter 14. Order, Order! Solution Chapter 15. Uses and Abuses of Access Rights Solution Chapter 16. (Mostly) Private Solution Chapter 17. Encapsulation Solution Chapter 18. Virtuality Solution Chapter 19. Enforcing Rules for Derived Classes Solution Memory and Resource Management Chapter 20. Containers in Memory, Part 1: Levels of Memory Management Solution Chapter 21. Containers in Memory, Part 2: How Big Is It Really? Solution Chapter 22. To new, Perchance to throw, Part 1: The Many Faces of new Solution In-Place, Plain, and Nothrow new Class-Specific new A Name-Hiding Surprise Summary Chapter 23. To new, Perchance to throw, Part 2: Pragmatic Issues in Memory Management Solution Optimization and Efficiency Chapter 24. Constant Optimization? Solution Chapter 25. inline Redux Solution Chapter 26. Data Formats and Efficiency, Part 1: When Compression Is the Name of the Game Solution Chapter 27. Data Formats and Efficiency, Part 2: (Even Less) Bit-Twiddling Solution Traps, Pitfalls, and Puzzlers Chapter 28. Keywords That Aren't (or, Comments by Another Name) Solution Chapter 29. Is It Initialization? Solution Chapter 30. double or Nothing Solution Chapter 31. Amok Code Solution Chapter 32. Slight Typos? Graphic Language and Other Curiosities Solution Chapter 33. Operators, Operators Everywhere Solution Style Case Studies Chapter 34. Index Tables Solution Chapter 35. Generic Callbacks Solution Chapter 36. Construction Unions Solution Chapter 37. Monoliths "Unstrung," Part 1: A Look at std::string Solution Summary Chapter 38. Monoliths "Unstrung," Part 2: Refactoring std::string Solution Chapter 39. Monoliths "Unstrung," Part 3: std::string Diminishing Solution Chapter 40. Monoliths "Unstrung," Part 4: std::string Redux Solution Bibliography

2011-04-03

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除