会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
cogitoergosum
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
11
12
13
14
15
16
17
18
19
···
54
下一页
2022年4月20日
linux netstat 命令详解
摘要: 参考链接: https://zhuanlan.zhihu.com/p/367719463 https://www.cnblogs.com/echo1937/p/6677325.html
阅读全文
posted @ 2022-04-20 10:58 cogitoergosum
阅读(470)
评论(0)
推荐(0)
2022年4月12日
解决php7 表单提交不了太多元素
摘要: 1、 按照webserver 和 php.ini的配置去配置max_upload等参数,实现大元素上传 2、在php.ini最底下加上一行,支持多个元素数量上传 max_input_vars=20000
阅读全文
posted @ 2022-04-12 17:35 cogitoergosum
阅读(64)
评论(0)
推荐(0)
2022年4月6日
可重入与不可重入
摘要: 可重入与不可重入的理解 可重入的意思是一个函数同时被多次调用,在恢复上次不会影响原来的操纵结果 1、全局变量是不可重入, printf 引用全局变量stdout,浮点数是把临时操作结果放到硬件寄存器,会导致被破坏。 printf 和 浮点数是不可重入的。 不可重入 (1)使用了静态数据结构;(2)调
阅读全文
posted @ 2022-04-06 08:55 cogitoergosum
阅读(296)
评论(0)
推荐(0)
2022年3月27日
CppSQLite3 的一些容易错误点
摘要: 1、 进行 CppSQLite3Query 查询后,一般要调用finalize 进行释放, 特别是用的这个句柄后进行多次调用查询,每次查询后都要调用finalize 进行释放,否则会内存泄漏 2、如果只执行CppSQLite3Query 查询一次,一般不会内存泄漏,因为 析构函数会自动调用final
阅读全文
posted @ 2022-03-27 19:09 cogitoergosum
阅读(443)
评论(0)
推荐(0)
2022年3月23日
linux c curl http basic auth
摘要: 参考链接: https://stackoverflow.com/questions/3044315/how-to-set-the-authorization-header-using-curl
阅读全文
posted @ 2022-03-23 14:23 cogitoergosum
阅读(357)
评论(0)
推荐(0)
2022年3月17日
bootstrap 步骤进度条
摘要: 1、该步骤适用于添加多个一步步下一条的操作 源码: https://github.com/ycs77/bootstrap-steps
阅读全文
posted @ 2022-03-17 11:27 cogitoergosum
阅读(1095)
评论(0)
推荐(0)
2022年3月16日
浏览器的js的高度说明
摘要: window.outerHeight 它是屏幕上窗口的高度,包括页面和所有可见的浏览器栏(位置、状态、书签、窗口标题、边框……)。 这与 jQuery 的 $(window).outerHeight() 不同。 window.innerHeight 或 $(window).height() 它是显示
阅读全文
posted @ 2022-03-16 17:35 cogitoergosum
阅读(525)
评论(0)
推荐(0)
2022年3月10日
linux 广播地址
摘要: 1、有限广播地址为255.255.255.255, 不支持跨局域网 2、广播地址, 支持跨局域网,可以PING通
阅读全文
posted @ 2022-03-10 09:36 cogitoergosum
阅读(344)
评论(0)
推荐(0)
2022年3月9日
warning: operation on ‘i’ may be undefined
摘要: unsigned int count; count = (++count)%10; 会出现上述告警‘i’ may be undefined
阅读全文
posted @ 2022-03-09 11:18 cogitoergosum
阅读(138)
评论(0)
推荐(0)
2022年3月6日
通过伙伴系统申请内核内存的系统的函数
摘要: a、内在分配有两类算法: 1、伙伴系统 2、slab机制 b、常用内存分配函数 __get_free_pages __get_free_pages函数是最原始的内存分配方式,直接从伙伴系统中获取原始页框,返回值为第一个页框的起始地址。 kmem_cache_alloc 是基于slab分配器的一种内存
阅读全文
posted @ 2022-03-06 19:27 cogitoergosum
阅读(131)
评论(0)
推荐(0)
上一页
1
···
11
12
13
14
15
16
17
18
19
···
54
下一页
公告