02 2021 档案

摘要:#include <iostream> // (short)(x) & (short)0x00ffU 的结果再左移8位<< 8 ,即取低8位再左移8位后变为高8位 // (short)(x) & (short)0xff00U 的结果再右移8位>> 8 ,即取高8位再右移8位后变为低8位 #defin 阅读全文
posted @ 2021-02-23 09:23 yongfengnice 阅读(363) 评论(0) 推荐(0) 编辑
摘要:Glide get,checkAndInitializeGlide,initializeGlide Glide glide = GlideBuilder.build(); new Engine(),new Glide()并在Glide构造函数注册功能模块 new GlideContext()管理并对 阅读全文
posted @ 2021-02-22 11:33 yongfengnice 阅读(483) 评论(0) 推荐(0) 编辑
摘要:在开发中金额计算是常见的,今天偶尔发现一个挺奇怪的浮点数计算精度问题 36.66 x 100 取整后得到 3666 ??? 我也理所当然地认为是3666,然后就直接使用Int接收结果,然而结果是3665 。 然后发现36.66 x 100的结果是3665.99999999995 使用Int接收当然是 阅读全文
posted @ 2021-02-19 09:47 yongfengnice 阅读(426) 评论(0) 推荐(0) 编辑
摘要:问题: error: RPC failed; curl 56 LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54 fatal: the remote end hung up unexpectedly 原因:使用https协议推送,并且存在文件过大。 单个文件 阅读全文
posted @ 2021-02-05 11:37 yongfengnice 阅读(2680) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示