上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 23 下一页
摘要: 1)gtest编译 mkdir build && cd build cmake .. -DBUILD_GMOCK=OFF -DCMAKE_BUILD_TYPE=Debug make && make install 2)测试代码debug编译 cmake -S . -B build -DCMAKE_B 阅读全文
posted @ 2022-09-11 18:31 stupidstan2019 阅读(192) 评论(0) 推荐(0)
摘要: 参考官网:https://google.github.io/googletest/quickstart-cmake.html 【流程】 1)CMakeLists.txt cmake_minimum_required(VERSION 3.14) project(my_project) # Google 阅读全文
posted @ 2022-09-11 18:21 stupidstan2019 阅读(84) 评论(0) 推荐(0)
摘要: 【编译调试选项】set(CMAKE_C_FLAGS "-g3 -gdwarf-2 -Wall -Werror -Wextra") 阅读全文
posted @ 2022-09-11 00:10 stupidstan2019 阅读(25) 评论(0) 推荐(0)
摘要: 1)段错误分析 https://blog.csdn.net/thesre/article/details/120070792 2)把共享库(SO)加载到指定的内存地址 https://www.cnblogs.com/zhangyunlin/archive/2006/07/01/6167867.htm 阅读全文
posted @ 2022-08-28 13:20 stupidstan2019 阅读(67) 评论(1) 推荐(0)
摘要: 1)环境安装 https://blog.csdn.net/qiuguolu1108/article/details/106445831 36w行代码 ubuntu1804 2)代码调试 映射/usr/local/include/folly 阅读全文
posted @ 2022-08-07 17:53 stupidstan2019 阅读(39) 评论(0) 推荐(0)
摘要: 1)类结构 2)使用场景 阅读全文
posted @ 2022-08-06 22:37 stupidstan2019 阅读(20) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2022-07-15 07:45 stupidstan2019 阅读(12) 评论(0) 推荐(0)
摘要: 1)问题一:调试看不到变量 RUSTFLAGS=-Cdebuginfo=1 cargo build --example append-compact-purge 解决方法: RUSTFLAGS=-Cdebuginfo=2 cargo build --example append-compact-pu 阅读全文
posted @ 2022-07-10 09:36 stupidstan2019 阅读(46) 评论(0) 推荐(0)
摘要: 1) 问题一 error: toolchain 'nightly-x86_64-unknown-linux-gnu' is not installed 解决:rustup toolchain install nightly-x86_64-unknown-linux-gnu 2) 问题二 rustup 阅读全文
posted @ 2022-07-08 22:50 stupidstan2019 阅读(225) 评论(0) 推荐(0)
摘要: 【参考】 https://www.modb.pro/db/125989 Slog 是一台服务器上一些全局信息变更操作(如新增租户、分区创建和新增 SSTable 等)的 redo log 【测试】 cd /home/ober/observer/store/slog ob_admin slog_too 阅读全文
posted @ 2022-07-03 18:51 stupidstan2019 阅读(413) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 23 下一页