伸展树概念 伸展树(Splay Tree)是一种二叉排序树,它能在O(log
n)内完成插入、查找和删除操作。它由Daniel Sleator和Robert Tarjan创造。 (01)
伸展树属于二叉查找树,即它具有和二叉查找树一样的性质:假设x为树中的任意一个结点,x节点包含关键字key,节点x...
分类:
其他好文 时间:
2014-05-18 19:17:30
阅读次数:
225
checking for CRYPTO_free in -lcrypto...
noconfigure: error: libcrypto not found!http://www.openssl.org/source/
openssl-0.9.8y.tar.gz cd openssl-0.9.8y...
分类:
Web程序 时间:
2014-05-18 19:11:48
阅读次数:
376
原地址:http://www.cnblogs.com/yipu/p/3617521.html1、Code Sign error:
解决方案:重新下载并安装Provisioning profile2、错误:Undefined symbols for architecture armv7s
解决方案.....
分类:
移动开发 时间:
2014-05-18 18:54:43
阅读次数:
308
项目中自搭Nuget服务器做为包管理,为了减轻创建Nuget包的工作量,找了一个Nuget
For
Msbuild的插件,在编译的时候可以自动生成包.但今天出现一个很奇怪的问题,有个项目在编译的时候一直提示NuGet.for.MSBuild.targets(126,5):
error MSB6006...
分类:
其他好文 时间:
2014-05-18 01:43:36
阅读次数:
208
1. 为什么可以设置为多个redo log ?
(innodb_log_files_in_group,默认值和推荐值都是2,我们线上设的统一为4);2.
什么条件下会触发刷脏?除了master_thread\强制checkpoint以外,这个频率是否可以调整;3. recovery阶段,bp是...
分类:
数据库 时间:
2014-05-17 22:16:22
阅读次数:
413
运行NodeJS时出现如下错误:Error: Most middleware (like
bodyParser) is no longer bundled with Express and must be installed
separately.意思是命令行中运行npm install body-...
分类:
其他好文 时间:
2014-05-17 21:57:26
阅读次数:
336
一.参数意义说明 输出级别的种类 ERROR、WARN、INFO、DEBUG ERROR
为严重错误 主要是程序的错误 WARN 为一般警告,比如session丢失 INFO 为一般要显示的信息,比如登录登出 DEBUG 为程序的调试信息配置日...
分类:
其他好文 时间:
2014-05-17 21:52:40
阅读次数:
586
console.log()console.warn() 警告console.error()
错误console.group() 分组 console.grounpEnd() 分组结束console.dir() 输出所有信息var cat =
{};cat.name = "mm";cat.sex .....
分类:
其他好文 时间:
2014-05-17 19:41:31
阅读次数:
370
scp ~/.ssh/id_rsa.pub
username@xxx.xx:~/.ssh/authorized_keys
分类:
其他好文 时间:
2014-05-17 19:35:01
阅读次数:
174
1. shell判断文件,目录是否存在或者具有权限 2. #!/bin/sh 3. 4.
myPath="/var/log/httpd/" 5. myFile="/var /log/httpd/access.log" 6. 7. # 这里的-x
参数判断$myPath是否存在并且是否具有可执行权限 ...
分类:
其他好文 时间:
2014-05-17 19:23:57
阅读次数:
267