码迷,mamicode.com
首页 >  
搜索关键字:r max row function    ( 89697个结果
小前端大能耐——Canvas与Javascript配合实现几个功能
1.粒子化function Dot(X, Y, Z, R) { this.dx = X; this.dy = Y; this.dz = Z; this.tx = 0; ...
分类:编程语言   时间:2014-07-22 22:59:53    阅读次数:400
Linux重启inotify配置max_user_watches无效被恢复默认值8192的正确修改方法
Linux下Rsync+inotify-tools实现数据实时同步中有一个重要的配置就是设置Inotify的max_user_watches值,如果不设置,当遇到大量文件的时候就会出现出错的情况。一般网上修改方法就是直接修改文件:/proc/sys/fs/inotify/max_user_watch...
分类:系统相关   时间:2014-05-01 21:22:57    阅读次数:715
GDB 调试程序
一 设置, 查看, 删除断点信息b xxx.cpp : num(or function)在 xxx.cpp 的第 num 行设置断点, 假如项目中只有一个 .cpp 文件, 不需要指定 xxx.cpp, 直接 b num 即可info break 查看断点信息, 断点信息中有断点的 index, 通...
分类:数据库   时间:2014-05-01 21:09:59    阅读次数:433
select改变执行操作
function changeBottomTimeScale(value) { gantt.setBottomTimeScale(value)}
分类:其他好文   时间:2014-05-01 21:04:50    阅读次数:349
indy openssl lazarus 编程linux下出现不能装载动态库的问题原因!
版本不对的原因。具体在10.5.9下修改此参数即可解决问题。LoadFunction() has an ACritical parameter. It is set to True by default, but can be set to False for individual function...
分类:系统相关   时间:2014-05-01 20:14:57    阅读次数:594
JS 字符unicode转换函数
/**js Unicode编码转换*/vardecToHex =function(str) {varres=[];for(vari=0;i < str.length;i++) res[i]=("00"+str.charCodeAt(i).toString(16)).slice(-4);return"...
分类:Web程序   时间:2014-05-01 19:36:51    阅读次数:427
Keyboard input
Keyboard inputPython provides a build-in function called raw_input (in version 2.x) that gets input from the keyboard. In Python 3.x we use input(). W...
分类:其他好文   时间:2014-05-01 19:23:26    阅读次数:392
Recursion
RecursionIt is legal for one function to call another; it is also legal for a function to call itself. It may not be obvious why what is a good thing,...
分类:其他好文   时间:2014-05-01 18:40:44    阅读次数:302
【图像处理】Gabor滤波器
Gabor的核函数参考的wiki使用实数Real的公式计算核函数代码:Mat gaborFilter(Mat& img, Mat& filter){ int half_filter_size = (max(filter.rows,filter.cols)-1)/2; Mat filtered_img(img.rows,img.cols,CV_32F); for(int i=0;i<img.r...
分类:其他好文   时间:2014-05-01 17:42:41    阅读次数:378
大数减法(改天弄PPT上去,现在太晚了,要睡觉了)
大数乘法的步骤(先戳我看看大数加法的思想): 首先是输入2个数据,并且逆序,还要去掉前导0。比较大小: 相等的话,结果为0。前者大于后者,则直接进行减法运算。前者小于后者,则用后者减去前者,最后在结果前面添上负号。 从最高位开始输出结果。 #include #include #define MAX 1000 using namespace std; void InputNu...
分类:其他好文   时间:2014-04-30 22:17:40    阅读次数:231
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!