一开始以为Spring下操作哈希表,列表,真就是那么土。恍惚间发现“stringRedisTemplate.opsForList()”的强大,抓紧时间恶补下。相关链接:征服 Redis征服 Redis + Jedis征服 Redis + Jedis + Spring (一)—— 配置&常规操作(GE...
分类:
编程语言 时间:
2014-11-22 13:13:35
阅读次数:
305
MFC架构组成1.CWinApp的派生类2.必须在全局区定义一个派生类的对象3.在CWinApp派生类内必须要有InitInstance虚函数的重写函数在MFC软件工程以App类中的InitInstance函数作为主函数连接MFC的平台使用static Library或shared DLL都可以消息...
编译一个能在 arm 平台上用的动态库,结果报错如下:
relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
./obj/xxx.o: could not read symbols: Bad value
collect2: error: ld returned 1 exit status
其实错误信息已经给出解决办法了,加...
分类:
其他好文 时间:
2014-11-21 18:40:09
阅读次数:
3187
利用Spring-Data-Redis 整合Jedis与Redis详解
分类:
编程语言 时间:
2014-11-21 16:11:11
阅读次数:
363
libswscale里面实现了各种图像格式的转换,以及图像大小的缩放功能。又做了相应指令集的优化,因此速度比自己写的格式转化C代码效率高一些。因为像素格式转换 和 图像大小缩放都是逐点计算的,各像素点之间没有依赖性,因此这两个操作可以合并一起来做。
1. 配置 ./configure --enable-shared
2. 编译 make。等待一阵子,就会生成libswscale.so等
3....
分类:
其他好文 时间:
2014-11-20 18:53:48
阅读次数:
338
http://blog.csdn.net/menergy/article/details/17577985http://blog.sina.com.cn/s/blog_64008ed70102uya3.html池化使用jedis(1)新建redis.properties文件,内容如下#最大分配的对象...
分类:
其他好文 时间:
2014-11-19 18:25:52
阅读次数:
211
http://blog.csdn.net/it_man/article/details/97306052013-08-03 11:011786人阅读评论(0)收藏举报目录(?)[-]一简单使用Jedis二池化使用Jedis三一致性哈希四Spring封装参考用Memcached,对于缓存对象大小有要求...
分类:
其他好文 时间:
2014-11-19 18:03:40
阅读次数:
264
步骤如下图:1.点击 Manage Schemes2. Shared打对勾即可
分类:
其他好文 时间:
2014-11-19 13:49:29
阅读次数:
100
//count_if //c++11vector vecint cnt = count_if(vec.begin(),vec.end(),[](int i){return i >=80;});6.常用的智能指针:a) Boost库提供了scoped_ptr/shared_ptrb) C++11内置了...
分类:
其他好文 时间:
2014-11-19 12:11:38
阅读次数:
160
A web application which wants to gain access to shared resources should redirect the user to a page of the authorization server. When doing so, it inf...
分类:
移动开发 时间:
2014-11-18 13:24:43
阅读次数:
241