- Algorithm
- Search——Implementation of various search algorithms, as well as unit testing and performance testing based on Google benchmark;
- std_search_examples——Examples of search algorithms in stl;
- Sort——Implementation of various sorting algorithms, as well as unit testing and performance testing based on Google benchmark;
- std_sort_examples——Examples of sorting algorithms in stl;
- Search——Implementation of various search algorithms, as well as unit testing and performance testing based on Google benchmark;
- Binary Tree——Binary tree related operations, including insertion, removal, search, and printing;
- Breakpad——Simple encapsulation of google breakpad;
- Exchange Order——Determine the byte order of the system;
- Client——A simple Linux select socket client;
- CountDownLatch——A simple countdown latch implemented using std::mutex and std::condition_variable (std::latch c++20);
- Crashpad——Simple encapsulation of google crashpad;
- Curl——Simple use of curl;
- TcpClient——Simple tcp client implemented using curl;
- HttpClient——Simple http synchronization client implemented using curl;
- HttpClient Async——Simple http asynchronous client implemented using curl;
- Design patterns——Some examples of design patterns;
- Factory——Factory mode;
- MVC——mvc mode;
- Observer——Observer mode;
- Singleton——Single case mode;
- Hawthorn——Google glog example;
- Icmp——Simple encapsulation of linux icmp protocol;
- LinkedList——Related operations of linked lists, including insertion, removal, reversal, and printing;
- Memcpy——
memcpy
function implementation; - MonitorDir——windows(
ReadDirectoryChangesW
),macos(FSEvents
)和linux(inotify
) Simple example of directory monitoring; - Mutex——Simple mutex lock and spin lock implemented using std::atomic_flag;
- OpenSSL——Some examples of openssl;
- aes——AES encryption and decryption examples;
- base64——Examples of base64 encoding and decoding;
- hash——Example of sha256;
- hmac——Example of hmac;
- pem——Example of pem format;
- rsa——Examples of rsa encryption and decryption;
- sm4——Examples of sm4 encryption and decryption;
- x509——Example of x509 certificate;
- bash——openssl command line example;
- Server——Some examples of linux server;
- server_epoll——epoll example;
- server_poll——Poll example;
- server_select——Example of select;
- Thread——Thread class implemented based on std::thread, including thread pool;
- Thread——Thread class;
- ThreadPool--Thread Pool;