Redis 启动警告错误解决启动错误1.WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_m...
分类:
其他好文 时间:
2015-10-22 13:54:08
阅读次数:
148
#includeusing namespace std;class quicksort{public:int quicks(int *a,int low,int high){ int q=a[low];//q int i=low; int j=high; while(i<j)...
分类:
编程语言 时间:
2015-10-16 20:44:12
阅读次数:
201
Scheduling policy is a balancing act between competing goals. Modern scheduling policiesmake tradeoffs between three primary goals: fairness, low late...
分类:
其他好文 时间:
2015-10-16 13:25:16
阅读次数:
137
测试环境数据库:Oracle11g R1(11.1.0.6) 64Bit中间件:ArcSDE10 (64Bit)数据情况:点数据(point,231772条记录),面数据(poly,12条记录)如下图所示1:ST_Geometry操作符的选择测试内容测试面状要素所包含的点状要素的数量以及内容测试结果...
分类:
其他好文 时间:
2015-10-16 08:44:24
阅读次数:
305
privatestaticintsortUnit(int[]array,intlow,inthigh){intkey=array[low];while(low=key&&high>low)--high;/*比key小的放左边*/array[low]=array[high];/*从前向后搜索比key大...
分类:
编程语言 时间:
2015-10-15 09:56:25
阅读次数:
226
#include "stdafx.h"void PrintFunc(int a[], int n){ for (int i = 0; i low; --j) { if (a[j]AlgoTest.exe0 8 7 6 5 4 3 2 1 90 1 7 6 5...
分类:
编程语言 时间:
2015-10-14 19:51:24
阅读次数:
235
昨天晚上花了1个小时把慕课网上的PS切图教程看了一遍,发现之前用的切图方式有点low,还学习到一些设置技巧,在此记录。1.新建页面,背景内容设置为透明,自动选择不用打勾,后面的框选图层,这样按住ctrl鼠标点击就能快速找到对应图层2.标尺和智能参考线都打上勾3.历史记录,图层,信息,字符4个面板都打...
分类:
其他好文 时间:
2015-10-14 17:21:33
阅读次数:
300
collector种类GC在 HotSpot VM 5.0里有四种:incremental (sometimes called train) low pause collector已被废弃,不在介绍.类别serial collectorparallel collector( throughput c...
分类:
其他好文 时间:
2015-10-13 16:52:25
阅读次数:
219
当数据量很大适宜采用该方法。采用二分法查找时,数据需是排好序的。主要思想是:(设查找的数组区间为array[low, high])(1)确定该期间的中间位置K(2)将查找的值T与array[k]比较。若相等,查找成功返回此位置;否则确定新的查找区域,继续二分查找。区域确定如下:a.array[k.....
分类:
其他好文 时间:
2015-10-09 21:16:31
阅读次数:
170
对zabbixdiscovery(LLD)的理解
一、主要用法,请参考官网文档
https://www.zabbix.com/documentation/2.2/manual/discovery/low_level_discovery
理解:
1、server和agent或者snmp固定时间沟通1次获取数据。
2、处理返回值,通常是一个json格式的k/v词典,k/v映射到macro上,..
分类:
其他好文 时间:
2015-10-09 15:36:32
阅读次数:
770