The initial source comes from sdcuike/issueBlog#4
https://github.com/PacktPublishing free to download books code by Packet
https://github.com/EbookFoundation/free-programming-books Very immense
| #include <stdio.h> | |
| #ifdef NOINLINE | |
| #define NOINLINE_SYM __attribute__((noinline)) | |
| #else | |
| #define NOINLINE_SYM | |
| #endif | |
| NOINLINE_SYM int calc_orignal(int n) { | |
| int fact = 1; |
| /* | |
| 从 https://github.com/bluethinking/InnoSQL/blob/master/src/innosql_5.5.20_trx_undo.patch 借鉴而来, | |
| 但经验证原repo 下的patch有些语法问题,不能直接在mysql 5.5.20 下直接应用。 | |
| 改造成如下已经查看 `innodb_trx_rollback_segment` 和 `innodb_trx_undo` | |
| 对以下内容直接使用 git apply 即可。 | |
| 我在ubuntu 12, gcc 4.6.3 上编译mysql 5.5.20,高版本会有很多warning as error | |
| */ | |
| diff --git a/storage/innobase/handler/ha_innodb.cc b/storage/innobase/handler/ha_innodb.cc |
| #!/bin/bash | |
| set -e | |
| # Script used to automate mongo cluster setup locally | |
| # | |
| # sirchen 2019.11.10 | |
| if [ $# -lt 2 ]; then | |
| echo "$0 <cmd> <bin root absolute dir>" |
https://github.com/PacktPublishing free to download books code by Packet
https://github.com/EbookFoundation/free-programming-books Very immense
| # References: | |
| # https://cmake.org/cmake/help/latest/command/add_custom_target.html | |
| # https://samthursfield.wordpress.com/2015/11/21/cmake-dependencies-between-targets-and-files-and-custom-commands/ | |
| # https://gist.github.com/socantre/7ee63133a0a3a08f3990 | |
| # https://stackoverflow.com/questions/24163778/how-to-add-custom-target-that-depends-on-make-install | |
| # https://stackoverflow.com/questions/30719275/add-custom-command-is-not-generating-a-target | |
| # https://stackoverflow.com/questions/26024235/how-to-call-a-cmake-function-from-add-custom-target-command | |
| # https://blog.csdn.net/gubenpeiyuan/article/details/51096777 | |
| cmake_minimum_required(VERSION 3.10) |
| #include <iostream> | |
| #include <string> | |
| using namespace std; | |
| struct X { | |
| public: | |
| X(string s): _s(s) { cout << "x ctor\n"; } | |
| X(X&& x): _s(std::move(x._s)) { cout << "x move ctor\n"; } //define this will implicitly delete the copy ctor | |
| //X(const X& x): _s(x._s) { cout << "x copy ctor\n"; } |
| shell实例手册 | |
| 0说明{ | |
| 手册制作: 雪松 | |
| 更新日期: 2013-12-06 | |
| 欢迎系统运维加入Q群: 198173206 # 加群请回答问题 | |
| 请使用"notepad++"打开此文档,"alt+0"将函数折叠后方便查阅 | |
| 请勿删除信息,转载请说明出处,抵制不道德行为。 |
| #include <iostream> | |
| #include <string> | |
| #include <fstream> | |
| #include <thread> | |
| #include <regex> | |
| #include <cstdio> | |
| using namespace std; | |
| int main(int argc,char* argv[]) |
| # Doxyfile 1.8.11 | |
| # This file describes the settings to be used by the documentation system | |
| # doxygen (www.doxygen.org) for a project. | |
| # | |
| # All text after a double hash (##) is considered a comment and is placed in | |
| # front of the TAG it is preceding. | |
| # | |
| # All text after a single hash (#) is considered a comment and will be ignored. | |
| # The format is: |