在使用sprintf()函数的程序中,经常会出现警告;warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation ...
分类:
其他好文 时间:
2019-10-04 20:58:05
阅读次数:
81
C++ 11 thread 基础用法 lock unlock join mutex joinable lock_guard unique_lock condition_variable wait notify_one notify_all asnyc future ... ...
分类:
编程语言 时间:
2019-10-04 09:27:37
阅读次数:
159
本文,我们来分享 MyBatis 的解析器模块,对应 parsing 包。如下图所示: 在 《精尽 MyBatis 源码解析 —— 项目结构一览》 中,简单介绍了这个模块如下: 解析器模块,主要提供了两个功能: 一个功能,是对 XPath 进行封装,为 MyBatis 初始化时解析 mybatis- ...
分类:
其他好文 时间:
2019-10-03 13:02:15
阅读次数:
132
C formatting in Swift is similar to that in C: create a String type variable or constant with a c formatting string, and display the variable or const ...
分类:
编程语言 时间:
2019-10-01 22:51:54
阅读次数:
121
1:后台controller方法编写 2:支持RESTful风格的DispatcherServlet配置 在web.xml中添加如下配置: 3:进行RESTful测试 4:静态资源配置 由于<servlet-mapping>中配置的<url-pattern>是/,会导致静态资源不能访问,解决方法如下 ...
分类:
编程语言 时间:
2019-10-01 15:54:05
阅读次数:
93
一:前言 在日常测试app时,经常会遇到崩溃问题,测试快速抓取到崩溃日志可以有效方便开发进行定位,快速解决问题所在测试做到测试分析,定位是非常重要的,这也是判断一个测试能力指标的一大维度。 二:Android崩溃日志 一、通过adb logcat获取 二、通过Android Studio 三、通过a ...
分类:
移动开发 时间:
2019-09-30 16:17:00
阅读次数:
220
今天尝试自动更新服务器上tomcat中的web安装包 启动python脚本的时候,发现报错: Neither the JAVA_HOME nor the JRE_HOME environment variable is defined At least one of these environmen ...
分类:
其他好文 时间:
2019-09-30 13:08:19
阅读次数:
189
1、什么是慢查询? 慢查询顾名思义,就是查询慢的sql日志,是指Mysql记录所有执行时间超过long_query_time参数设定的时间阈值SQL语句的日志。该日志能为SQL语句的优化带来很好的帮助,能够帮助你更快速的定位执行慢的SQL语句。 默认情况下,慢查询是关闭的,要使用慢查询日志功能,首先 ...
分类:
数据库 时间:
2019-09-30 11:16:54
阅读次数:
97
The JAVA_HOME environment variable is not defined correctlyThis environment variable is needed to run this programNB: JAVA_HOME should point to a JDK ...
分类:
编程语言 时间:
2019-09-27 15:14:58
阅读次数:
241
Flask项目中使用mysql数据库启动项目是发出警告: Warning: (1366, “Incorrect string value: ‘\xD6\xD0\xB9\xFA\xB1\xEA…’ for column ‘VARIABLE_VALUE’ at row 479”) 项目正常服务:警告去掉 ...
分类:
数据库 时间:
2019-09-23 12:02:40
阅读次数:
106