./configure --prefix=/usr/local/php-5.3.5--with-config-file-path=/usr/local/php-5.3.5/etc--with-config-file-scan-dir=/usr/local/php-5.3.5/etc/conf.d--...
分类:
Web程序 时间:
2015-06-26 19:25:39
阅读次数:
156
just read it
smart_ptr: https://mbevin.wordpress.com/2012/11/18/smart-pointers/
move: https://mbevin.wordpress.com/2012/11/20/move-semantics/...
分类:
编程语言 时间:
2015-06-26 13:03:36
阅读次数:
237
Halcon标定步骤1.设置相机内部参数的初始值StartCamPar := [0.016,0,0.0000074,0.0000074,326,247,652,494]set_calib_data_cam_param (CalibDataID, 0, 'area_scan_division', St...
分类:
其他好文 时间:
2015-06-26 00:27:56
阅读次数:
249
一:根节点包含的属性:scan:当此属性设置为true时,配置文件如果发生改变,将会被重新加载,默认值为true。scanPeriod:设置监测配置文件是否有修改的时间间隔,如果没有给出时间单位,默认单位是毫秒。当scan为true时,此属性生效。默认的时间间隔为1分钟。debug:当此属性设置为t...
分类:
其他好文 时间:
2015-06-24 18:49:08
阅读次数:
116
喵~不知不觉到了CUDA系列学习第五讲,前几讲中我们主要介绍了基础GPU中的软硬件结构,内存管理,task类型等;这一讲中我们将介绍3个基础的GPU算法:reduce,scan,histogram,它们在并行算法中非常常用,我们在本文中分别就其功能用处,串行与并行实现进行阐述。1. Task complexitytask complexity包括step complexity(可以并行成几个操作)...
分类:
编程语言 时间:
2015-06-24 10:59:11
阅读次数:
234
The basic idea of is as follows:Maintain a dequeoperandsfor the numbers and another dequeoperationsfor the operators+, -, *,/`.Scan the expression fro...
分类:
其他好文 时间:
2015-06-23 00:49:26
阅读次数:
113
主体程序位置在nmap.cc line:1640学习要点:程序在1650行,新建一个主机的单例对象,#ifndef NOLUA
/* Only NSE scripts can add targets */
NewTargets *new_targets = NULL;
/* Pre-Scan and Post-Scan script results datastructure */...
分类:
其他好文 时间:
2015-06-22 09:53:28
阅读次数:
329
Description
"Fat and docile, big and dumb, they look so stupid, they aren't much
fun..."
- Cows with Guns by Dana Lyons
The cows want to prove to the public that they are both smart and fun....
分类:
其他好文 时间:
2015-06-20 17:14:26
阅读次数:
144
关于迭代器的基本介绍可以看我之前泛型编程的文章:
STL的中心思想在于:将数据容器(containers)和算法(algorithms)分开,彼此独立设计,最后再以一帖粘合剂将它们撮合在一起。
迭代器(iterator)是一种 smart pointer,关于智能指针可以看我之前的文章(智能指针)。
迭代器是一种行为类似指针的对象,而指针的各种行为中最常见也最重要的便...
分类:
其他好文 时间:
2015-06-19 15:18:36
阅读次数:
150
Unique pointer:
Manages the storage of a pointer, providing a limited garbage-collection facility, with little to no overhead over built-in pointers (depending on the deleter used).
These obje...
分类:
其他好文 时间:
2015-06-18 22:20:18
阅读次数:
182