会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
klouke
博客园
首页
新随笔
联系
订阅
管理
2026年1月14日
calloc 和 realloc
摘要: calloc 和 realloc 都是 C 语言中动态内存分配的函数,与 malloc 类似但有所不同: calloc 用途:分配并初始化内存块为 0 原型:void *calloc(size_t num, size_t size); 功能:分配 num 个元素,每个元素大小为 size 字节,总计
阅读全文
posted @ 2026-01-14 09:50 knock~
阅读(5)
评论(0)
推荐(0)
2026年1月12日
在vscode中解决软连接重复显示搜索结果
摘要: 打开设置(Ctrl+,) 搜索 followSymlinks 取消勾选 Search: Follow Symlinks
阅读全文
posted @ 2026-01-12 15:18 knock~
阅读(3)
评论(0)
推荐(0)
2025年9月4日
找文件
摘要: find -name "文件" 搜索名字 grep -r --include=*.{c,h} "aaa"
阅读全文
posted @ 2025-09-04 14:10 knock~
阅读(4)
评论(0)
推荐(0)
2025年8月1日
杂事
摘要: 浏览器UA Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36 Edg/87.0.664.57
阅读全文
posted @ 2025-08-01 16:59 knock~
阅读(5)
评论(0)
推荐(0)
2025年4月30日
linux
摘要: 搜索名字 grep -r --include=*.{c,h} "aaa"
阅读全文
posted @ 2025-04-30 16:51 knock~
阅读(30)
评论(0)
推荐(0)
freertos
摘要: // 创建两个队列 QueueHandle_t xQueue1 = xQueueCreate(10, sizeof(uint32_t)); QueueHandle_t xQueue2 = xQueueCreate(10, sizeof(uint32_t)); // 发送任务 void SendTas
阅读全文
posted @ 2025-04-30 16:12 knock~
阅读(25)
评论(0)
推荐(0)
smaba用户冲突
摘要: net use * /del /y
阅读全文
posted @ 2025-04-30 10:11 knock~
阅读(24)
评论(0)
推荐(0)
2025年4月20日
LVGL记录
摘要: ┌─────────────────┐ 最高 │ lv_layer_sys() │ ← 系统层(全局最高) ├─────────────────┤ │ lv_layer_top() │ ← 当前屏幕的顶层 ├─────────────────┤ │ lv_scr_act() │ ← 当前活动屏幕(主
阅读全文
posted @ 2025-04-20 19:54 knock~
阅读(233)
评论(0)
推荐(0)
2025年3月27日
笔记
摘要: sudo chown admin:admin myfolder # 将 myfolder 的组改为 "admin" sudo chown -R admin:admin /etc/nginx # 递归修改 /etc/nginx 的组为 "nginx"
阅读全文
posted @ 2025-03-27 16:43 knock~
阅读(23)
评论(0)
推荐(0)
2025年3月20日
强制关闭pve虚拟机
摘要: 1.首先查看需要关闭的虚拟机vmID root@matchpve02:~# qm list VMID NAME STATUS MEM(MB) BOOTDISK(GB) PID 10010 Centos01 stopped 1024 6.00 0 10011 Centos02 running 2048
阅读全文
posted @ 2025-03-20 12:28 knock~
阅读(498)
评论(0)
推荐(0)
下一页
公告