摘要: title: Universal reference layout: page categories: cpp Universal Reference 通用引用是个比较恼人的事情,因为他长得跟一般的右值引用很像; 通用引用可以接受左值和右值,比如: #include <iostream> templ 阅读全文
posted @ 2023-12-21 00:49 K1øN 阅读(7) 评论(0) 推荐(0) 编辑
摘要: title: C++ thread layout: page categories: cpp C++ Thread Recover 命中率、缺失率、命中时间和缺失代价是与高速缓存(Cache)性能和效率相关的关键概念。这些术语用于描述缓存系统的性能特征和效果。让我逐一解释这些概念: 命中率(Hit 阅读全文
posted @ 2023-12-21 00:41 K1øN 阅读(6) 评论(0) 推荐(0) 编辑
摘要: title: DAA HW link: https://drive.google.com/drive/folders/1xubZvkZPFTPl6hZenzW0X2ftZaY0GYY4?usp=drive_link Classical Sort Insertion sort n = 6 L = [1 阅读全文
posted @ 2023-12-13 12:46 K1øN 阅读(31) 评论(0) 推荐(0) 编辑
摘要: title: static keyword layout: page categories: cpp static keyword 编译器信息: ╰─>$ clang++ --version Apple clang version 15.0.0 (clang-1500.0.40.1) Target: 阅读全文
posted @ 2023-11-16 18:32 K1øN 阅读(5) 评论(0) 推荐(0) 编辑
摘要: title: Approximation with Gradient Descent Method layout: page categories: data analysis Polynomial Approximation with Gradient Descent Method Suppose 阅读全文
posted @ 2023-11-07 16:04 K1øN 阅读(20) 评论(0) 推荐(0) 编辑
摘要: title: PSO Solve N-Queen Problem layout: page categories: data analysis PSO Solve 16-Queen Problem The N-Queens problem is a classic problem in the fi 阅读全文
posted @ 2023-11-07 15:48 K1øN 阅读(135) 评论(0) 推荐(0) 编辑
摘要: title: lvalue and rvalue, std::move() categories: cpp lvalue and rvalue 好用的工具 写在前面 如何记住 排 列 组 合 ? 那如何区分这些东西呢? const int& int& const int const & const 阅读全文
posted @ 2023-09-28 14:44 K1øN 阅读(16) 评论(0) 推荐(0) 编辑
摘要: categories: cpp title: typedef struct and struct typedef struct and struct status: 更新中 warning: 初学者写的内容,可能有内容上的错误 https://stackoverflow.com/questions/ 阅读全文
posted @ 2023-08-26 18:48 K1øN 阅读(10) 评论(0) 推荐(0) 编辑
摘要: title: "typedef v.s. #define" Layout: page categories: cpp typedef vs. #define #define is a preprocessor token: the compiler itself will never see it. 阅读全文
posted @ 2023-08-26 18:45 K1øN 阅读(7) 评论(0) 推荐(0) 编辑
摘要: # CSAPP Notes ML Programming > - I have abbreviation: Computer System - Notes: Machine Level Programming; > - status: 正在更新; > - other info:随手写的,不能保证准确 阅读全文
posted @ 2023-08-23 18:47 K1øN 阅读(16) 评论(0) 推荐(0) 编辑