会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
扯马篮子扯猫比,不如被窝里摸小
首页
管理
1
2
3
4
5
···
34
下一页
2023年5月15日
晏子评儒家片段
摘要: 原文: https://so.gushiwen.cn/guwen/bookv_46653FD803893E4FFC81BE0103BC7896.aspx 片段: 景公问政孔子,孔子曰:“君君,臣臣,父父,子子。”景公曰:“善哉!信如君不君,臣不臣,父不父,子不子,虽有粟,吾岂得而食诸!”他日又复问政
阅读全文
posted @ 2023-05-15 09:24 f9q
阅读(175)
评论(0)
推荐(0)
2022年4月3日
访问者模式
摘要: 1.相关文档 https://refactoring.guru/design-patterns/visitor https://www.tutorialspoint.com/design_pattern/visitor_pattern.htm 2. 为什么要用访问者模式,解决了什么问题 2.1 问题
阅读全文
posted @ 2022-04-03 23:16 f9q
阅读(106)
评论(0)
推荐(0)
2022年1月19日
在sublime3中配置kotlin
摘要: 本文两部分: 1.使用现成插件包配置Kotlin 2.手动配置Kotlin 1.准备工具 用来编译运行kotlin代码,只看代码,可跳过此步。 1.1 下载JetBrains kotlin编译器 https://github.com/JetBrains/kotlin/releases 找到最新版本下
阅读全文
posted @ 2022-01-19 18:16 f9q
阅读(397)
评论(0)
推荐(0)
2021年12月18日
李商隐 《贾生》
摘要: 【原文】 宣室求贤访逐臣,贾生才调更无伦。 可怜夜半虚前席,不问苍生问鬼神。 【注释】 贾生:指贾谊(前200—前168),西汉著名的政论家、文学家。宣室:汉代长安城中未央宫前殿的正室。
阅读全文
posted @ 2021-12-18 12:56 f9q
阅读(1039)
评论(0)
推荐(0)
2021年12月11日
android 单元测试(4)Mockito与接口、抽象类、静态方法、kotlin、模板
摘要: 1.官方文档 mockit官网 https://site.mockito.org mockit api https://javadoc.io/doc/org.mockito/mockito-core/latest/index.html mockit源码 https://github.com/mock
阅读全文
posted @ 2021-12-11 22:34 f9q
阅读(2047)
评论(0)
推荐(0)
2021年10月18日
android 单元测试(3)插庄单元测试与Mockito
摘要: 1.官方文档 android 文档 https://developer.android.google.cn/training/testing/unit-testing/instrumented-unit-tests?hl=zh-cn 示例 https://github.com/android/tes
阅读全文
posted @ 2021-10-18 09:18 f9q
阅读(873)
评论(0)
推荐(0)
2021年10月10日
android 单元测试(2)依赖android框架测试:Robolectric
摘要: 1.官方文档 https://developer.android.google.cn/training/testing/unit-testing?hl=zh-cn https://github.com/android/testing-samples/tree/master/unit/BasicUni
阅读全文
posted @ 2021-10-10 23:22 f9q
阅读(763)
评论(0)
推荐(0)
2021年10月8日
android 单元测试(1)无依赖测试
摘要: 单元测试不适用于测试复杂的界面交互事件。后者应改用界面测试框架。 1.官方文档 https://developer.android.google.cn/training/testing/unit-testing?hl=zh-cn https://github.com/android/testing-
阅读全文
posted @ 2021-10-08 19:29 f9q
阅读(449)
评论(0)
推荐(0)
2021年10月2日
android 与 https
摘要: 1.官方文档 android https https://developer.android.google.cn/training/articles/security-ssl android 配置ca https://developer.android.google.cn/training/arti
阅读全文
posted @ 2021-10-02 10:48 f9q
阅读(220)
评论(0)
推荐(0)
2021年9月24日
SSL、TLS、HTTPS 、证书、CA
摘要: 1.简介 官方文档 SSL https://www.ssl.com/faqs/faq-what-is-ssl/ TLS https://datatracker.ietf.org/group/tls/documents/ https://datatracker.ietf.org/doc/html/rf
阅读全文
posted @ 2021-09-24 17:38 f9q
阅读(1402)
评论(0)
推荐(1)
2021年7月25日
在native层 使用openssl
摘要: 1.官方文档 官网 https://www.openssl.org/ Compilation and Installation https://wiki.openssl.org/index.php/Compilation_and_Installation android building https
阅读全文
posted @ 2021-07-25 22:34 f9q
阅读(977)
评论(0)
推荐(0)
2021年7月16日
使用 libcurl 在native层发起网络请求
摘要: 1.文档 1.1 curl官方文档 curl 官网 https://curl.se/ curl 代码 https://github.com/curl/curl 编译android so https://curl.se/docs/install.html Android小节 https://githu
阅读全文
posted @ 2021-07-16 15:07 f9q
阅读(1185)
评论(0)
推荐(0)
2021年7月6日
常见 jni 崩溃时的信号及处理方法
摘要: 1.官方文档 https://source.android.google.cn/devices/tech/debug https://source.android.google.cn/devices/tech/debug/native-crash 2.死亡报告文件 2.1 示例 在目录 /data/
阅读全文
posted @ 2021-07-06 16:59 f9q
阅读(6244)
评论(0)
推荐(1)
2021年4月23日
Native Binder
摘要: 1.架构 1.1 架构 1.2 native层 1.3 内核层 2. 使用方法 一个进程得到另一个进程的binder后,就可以通过这个binder给对方发消息。通常通过服务组件得到binder. 2.1 发送方:IBinder.transact() 1 /** 2 * Perform a gener
阅读全文
posted @ 2021-04-23 18:39 f9q
阅读(126)
评论(0)
推荐(1)
2021年4月4日
NDK自带的c/c++库
摘要: 1.官方文档 https://developer.android.google.cn/ndk/guides/stable_apis https://developer.android.google.cn/ndk/reference 2.简表 libc/libm/libdl C 库 - libc++_
阅读全文
posted @ 2021-04-04 21:01 f9q
阅读(1745)
评论(0)
推荐(0)
1
2
3
4
5
···
34
下一页