• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






李瑞林

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理

2019年12月17日

c语言中格式化打印数据
摘要: char str[100] = {0}; int offset_str = 0; offset_str += sprintf(str + offset_str, "S-%hhu", csid->revision); offset_str += sprintf(str + offset_str, "S-%hhu", csid->revision); offset_str += sprintf(str 阅读全文
posted @ 2019-12-17 18:21 李瑞林 阅读(250) 评论(0) 推荐(0)
 

2019年12月14日

静态链接库
摘要: https://www.cnblogs.com/zuofaqi/p/10440126.html 阅读全文
posted @ 2019-12-14 18:22 李瑞林 阅读(123) 评论(0) 推荐(0)
 

2019年12月12日

linux c dlopen加载动态链接库
摘要: // file : add.c int add(int a, int b) { return a+b; }; // cmd: gcc -fPIC -shared -o libadd.so add.c // 编译生成动态库文件 // file : demo.c #include <stdio.h> #include <stdlib.h> // EXIT_FAILURE #include <dlfcn 阅读全文
posted @ 2019-12-12 16:02 李瑞林 阅读(1023) 评论(0) 推荐(0)
 

2019年7月9日

c++锁 测试 (gcc test.cpp -o test -lpthread)
摘要: c++锁 测试 (gcc test.cpp -o test -lpthread) 阅读全文
posted @ 2019-07-09 15:52 李瑞林 阅读(356) 评论(0) 推荐(0)
 

2018年9月21日

shell 清理目录下 超过一段时间的数据。
摘要: 递归删除过期文件,只删文件,不删目录。 阅读全文
posted @ 2018-09-21 10:40 李瑞林 阅读(513) 评论(0) 推荐(0)
 

2018年7月7日

大话存储学习笔记
摘要: 第一章 混沌初开--存储系统前世今生 1.1 存储历史 SATA:SATA(Serial Advanced Technology Attachment,串行高级技术附件)是一种基于行业标准的串行硬件驱动器接口,是由Intel、IBM、Dell、APT、Maxtor和Seagate公司共同提出的硬盘接 阅读全文
posted @ 2018-07-07 16:13 李瑞林 阅读(264) 评论(0) 推荐(0)
 
python总结
摘要: x=1 y=2 print x+y字符串相加 print (int(x)+int(y)) 数字相加 python3.0版本后用input替换了raw_input 阅读全文
posted @ 2018-07-07 11:16 李瑞林 阅读(141) 评论(0) 推荐(0)
 

2018年6月28日

正则表达式使用
摘要: 输出结果 阅读全文
posted @ 2018-06-28 20:42 李瑞林 阅读(126) 评论(0) 推荐(0)
 

2018年4月6日

#linux shell#模拟日志生成过程
摘要: #!/bin/bash lineCount=`wc -l test.old.log | awk '{print $1}'` for((i=1;i> newLog.log sleep 1s fi done 阅读全文
posted @ 2018-04-06 17:02 李瑞林 阅读(365) 评论(0) 推荐(0)
 

2018年3月4日

深入理解Java虚拟机
摘要: 3.6.2 大对象进入老年代 所谓的大对象,指的是需要大量连续内存空间的Java对象,最典型的大对象就是那种很长的字符串以及数组。 阅读全文
posted @ 2018-03-04 17:15 李瑞林 阅读(96) 评论(0) 推荐(0)
 
下一页