首先是实例化的时候的参数的解释//Initialize SmartThreadPool & Make logs//SmartThreadPool m_hThreadPool;//m_hThreadPool = new SmartThreadPool();//声明一个线程池STPStartInfo s...
分类:
其他好文 时间:
2015-05-24 23:33:36
阅读次数:
503
List Initializer or Element Count?In a few cases, what initialization means depends upon whether we use curly braces or parentheses to pass the initializer(s). For example, when we initialize a vector<...
分类:
编程语言 时间:
2015-05-22 19:10:45
阅读次数:
133
tomcat 8 项目发布遇到的错 1 [ERROR] 2015-05-22 22:51:38,683 org.springframework.web.servlet.DispatcherServlet - Context initialization failed 2 org.spring...
分类:
编程语言 时间:
2015-05-22 16:56:06
阅读次数:
181
Openwrt中的sysupgrade脚本提供了固件升级的快捷方式,该脚本位于: /sbin/sysupgrade
脚本内容: #!/bin/sh
. /lib/functions.sh
. /lib/functions/system.sh# initialize defaults
RAMFS_COPY_BIN="" # extra programs for temporary ra...
分类:
其他好文 时间:
2015-05-22 13:36:34
阅读次数:
584
在tomcat启动的时候,出现这个警告:log4j:WARNNoappenderscouldbefoundforlogger(org.apache.commons.digester.Digester.sax).log4j:WARNPleaseinitializethelog4jsystemprope...
分类:
其他好文 时间:
2015-05-22 00:04:58
阅读次数:
179
spring有三种启动方式,使用ContextLoaderServlet,ContextLoaderListener和ContextLoaderPlugIn.看一下ContextLoaderListener的源码,这是一个ServletContextListener/** * Initialize....
分类:
编程语言 时间:
2015-05-21 12:21:48
阅读次数:
219
之前也一直用filezilla,今天遇到个奇葩问题:在2008R2上装完filezilla server,本打算生成个证书用于SSL加密,没想到一直报错"Failed to initialize ssl library"奇怪的是,在某些OS上运行没问题,于是就度娘了一下相关案例,只搜到了一篇:htt...
分类:
其他好文 时间:
2015-05-20 12:51:10
阅读次数:
179
Trie, again.class TrieNode {public: // Initialize your data structure here. TrieNode() : prev(nullptr), c(0), bIsLast(false) { } TrieNo...
分类:
其他好文 时间:
2015-05-20 07:07:16
阅读次数:
119
转载请注明出处:http://www.cnblogs.com/gngshn/p/4512318.html 1 /**** u-boot的网卡注册流程 ****/ 2 int eth_initialize(gd->bd); //eth.c 3 eth_devices = NULL...
分类:
其他好文 时间:
2015-05-18 18:16:05
阅读次数:
620
题目
思路
前缀树,之前有一道LeetCode的题差不多的,我用之前的代码修改了一下即过。代码struct WordDictionary {
char c;
// sons for "abcdefghijklmnopqrstuvwxyz\0"
struct WordDictionary * son[27];
};/** Initialize your data str...
分类:
其他好文 时间:
2015-05-16 12:03:58
阅读次数:
224