代码改变世界

_sntprintf_s 和 _sntprintf 区别 sntprinf内存溢出

2019-03-23 15:27 by youxin, 2521 阅读, 0 推荐, 收藏, 编辑
摘要:https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/snprintf-s-snprintf-s-l-snwprintf-s-snwprintf-s-l?view=vs-2017 int _snprintf_s( char 阅读全文

Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

2019-03-19 15:53 by youxin, 2167 阅读, 0 推荐, 收藏, 编辑
摘要:很长的报错,截取 ERROR c.a.d.p.DruidDataSource - discard connection ERROR c.a.d.p.DruidDataSource - discard connection com.mysql.jdbc.exceptions.jdbc4.Communi 阅读全文

数据库连接池 maxActive,maxIdle,maxWait参数

2019-03-19 14:13 by youxin, 11996 阅读, 0 推荐, 收藏, 编辑
摘要:maxActive 连接池支持的最大连接数,这里取值为20,表示同时最多有20个数据库连接。设 0 为没有限制。maxIdle 连接池中最多可空闲maxIdle个连接 ,这里取值为20,表示即使没有数据库连接时依然可以保持20空闲的连接,而不被清除,随时处于待命状态。设 0 为没有限制。minIdl 阅读全文

dll静态调用和动态调用

2019-03-15 21:23 by youxin, 4511 阅读, 0 推荐, 收藏, 编辑
摘要:动态链接库有2种连接方式,一种是通过库直接加入(又叫隐式加载或载入时加载),一种是在运行时加入。后者很好理解,比如LoadLibrary(),GetProcAddress()获取想要引入的函数,使用完后,就FreeLibrary()。 在创建DllTest.exe文件之前,要先将MyDll.dll和 阅读全文

Could not open JDBC Connection for transaction; nested exception is com.alibaba.druid.pool.GetConnection

2019-03-14 01:26 by youxin, 6772 阅读, 0 推荐, 收藏, 编辑
摘要:Could not open JDBC Connection for transaction; nested exception is com.alibaba.druid.pool.GetConnectionTimeoutException: wait millis 3000, active 16, 阅读全文

sql server调优

2019-02-27 17:20 by youxin, 152 阅读, 0 推荐, 收藏, 编辑
摘要:SQLServer调优:查询语句运行几个指标值监测\ https://www.cnblogs.com/zhijianliutang/p/4179110.html 阅读全文

AdPlus

2019-01-08 00:18 by youxin, 685 阅读, 0 推荐, 收藏, 编辑
摘要:adplus是windbg下面附带的一个小工具: https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/adplus ADPlus V7.0 is a total rewrite of ADPlus. ADPlus V7 阅读全文

010 Editor - Binary Templates

2019-01-05 14:05 by youxin, 2188 阅读, 0 推荐, 收藏, 编辑
摘要:010 Editor是一款非常强大的文本/十六进制编辑器,除了文本/十六进制编辑外,还包括文件解析、计算器、文件比较等功能,但它真正的强大之处还在于文件的解析功能。我们可以使用010Editor官方网站提供的解析脚本(Binary Template)对avi、bmp、png、exe等简单格式的文件进 阅读全文

WinDBG相关

2019-01-05 10:18 by youxin, 336 阅读, 0 推荐, 收藏, 编辑
摘要:WinDBG 技巧:如何生成Dump 文件(.dump 命令) 程序崩溃(crash)的时候, 为了以后能够调试分析问题, 可以使用WinDBG要把当时程序内存空间数据都保存下来,生成的文件称为dump 文件。 步骤: 1) 打开WinDBG并将之Attach 到crash的程序进程 2) 输入产生 阅读全文

android studio相关配置

2018-12-22 17:08 by youxin, 248 阅读, 0 推荐, 收藏, 编辑
摘要:启动出现:Unable to access Android SDK add-on list 解决: Android Studio First Run 检测 Android SDK 及更新,由于众所周知的原因,我们会「Unable to access Android SDK add-on list」, 阅读全文
上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 269 下一页