码迷,mamicode.com
首页 >  
搜索关键字:bit operation    ( 13261个结果
Edit Distance
Given two wordsword1andword2, find the minimum number of steps required to convertword1toword2. (each operation is counted as 1 step.)You have the fol...
分类:其他好文   时间:2014-06-04 20:12:15    阅读次数:199
Gray Code
The gray code is a binary numeral system where two successive values differ in only one bit.Given a non-negative integernrepresenting the total number...
分类:其他好文   时间:2014-06-04 18:58:39    阅读次数:277
System V 共享内存区
System V 共享内存信息结构struct shmid_ds { struct ipc_perm shm_perm; // operation permission struct size_t shm_segsz; // segment size pid_t shm_lpid;...
分类:其他好文   时间:2014-06-03 11:20:18    阅读次数:264
Oracle Enterprise Linux 64-bit 下Oracle11g的监听配置改动及測试步骤
測试环境:Oracle Enterprise Linux 64-bit (5.8版本号) + Oracle 11g 64位相关说明: Oracle11g64位软件的安装位置为/u01/app/oracle/product/11.2.0/dbhome_1 ,数据库名为默认的orcl,Linux虚拟机的...
分类:数据库   时间:2014-06-03 09:57:08    阅读次数:500
索引回表读与优化
在执行计划中我们可能见过这样一句话 table access by index rowid ,这就是索引回表读实验脚本观察上面的operation 最后执行的出现在最上面我们可以从索引块中读取索引列的值,如果想读取索引列值以外的其他字段那就需要根据索引块的rowid定义到数据块这就是执行计划中的 索...
分类:其他好文   时间:2014-06-03 08:59:50    阅读次数:212
乒乓操作
乒乓操作的优势:乒乓操作常常应用于流水线式算法,完成数据的无缝缓冲与处理。节省缓冲区空间可以使用低速模块处理高速模块第三点的实现方式:(实例) A端输入速率1Mbps的信号,DPRAM存储量大于1M bit,数据流运算处理模块的处理速度为1 Mps,数据预处理模块1&2的处理速度是0.5 Mbps;...
分类:其他好文   时间:2014-06-03 08:22:17    阅读次数:218
ffmpeg av_interleaved_write_frame Operation not permitted
今天在使用ffmpeg时出现了Operation not permitted通过增加打印信息发现是在av_interleaved_write_frame出现的问题,昨天还没出现这个问题,很奇怪,就把昨天的拿过来试还是一样,最后发现时少加了O_CREAT昨天没事是因为之前那个文件存在,Linux基础太...
分类:其他好文   时间:2014-06-03 07:11:24    阅读次数:380
QString介绍
QString stores a string of 16-bit QChars, where each QChar corresponds one Unicode 4.0 character.一、初始化QString字符串 1)Char * 初始化QString str = "Hello"...
分类:其他好文   时间:2014-05-30 00:47:43    阅读次数:376
HDU 2253 Longest Common Subsequence Again
其实这个题我还不会,学长给了一个代码交上去过了,据说用到了一种叫做位压缩的技术,先贴代码吧,以后看懂了再来写#include #include #define M 30005#define SIZE 128#define WORDMAX 3200#define BIT 32char s1[M], s...
分类:其他好文   时间:2014-05-29 18:07:53    阅读次数:549
0x3f3f3f3f...编程中无穷大常量的设置技巧
转自http://aikilis.tk/如果问题中各数据的范围明确,那么无穷大的设定不是问题,在不明确的情况下,很多程序员都取0x7fffffff作为无穷大,因为这是32-bit int的最大值。如果这个无穷大只用于一般的比较(比如求最小值时min变量的初值),那么0x7fffffff确实是一个完美...
分类:其他好文   时间:2014-05-28 12:55:00    阅读次数:213
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!