码迷,mamicode.com
首页 >  
搜索关键字:set matrix zeroes    ( 60632个结果
FPGA配置芯片EPCS读写操作--STM32读写
注意事项: (1)首先STM32需要设置nCE和nConfig信号,即nCE置高,nConfig拉低,获得EPCS的控制权,而后对EPCS操作,操作完成后需要释放这两个管脚,即nCE拉低,nConfig置高。 (2)EPCS的极性为:sck为空闲状态为高电平,采样边沿为SCK的第二个跳变沿,(即上升沿,注意前提是SCK空闲为高) SPI_InitStruct.SPI_Direction= S...
分类:其他好文   时间:2014-06-20 12:40:20    阅读次数:690
请求的那一条数据,
客户端:删除一条,索引不变,服务器:向上弹出一条,然后实时查询,就错过了一条,count = 1,pageindex = pageindex * count,代表第几页,请求的是第 几条数据,也可以根据 数组里面有几条数据 就选择加载几条数据,if (isLoadOne) { [params ...
分类:其他好文   时间:2014-06-13 13:56:48    阅读次数:222
frxReport 设计 (mtm)
? 设计 frxReport frxReport 窗体上放一个 【frxReport】 的控件 双击 【frxReport】控件 进入设置模式 frxReport1.ShowReport() 方法 显示报表信息? 连接打印的字段 a. frxDBDataset1 窗体上放一个 【frxDBDat.....
分类:其他好文   时间:2014-06-12 00:28:44    阅读次数:358
EGO V2
Original EGO:mkdir -p ~/Library/Developer/Xcode/UserData/FontAndColorThemes; cd ~/Library/Developer/Xcode/UserData/FontAndColorThemes; curl -O http://...
分类:其他好文   时间:2014-06-11 23:42:46    阅读次数:345
Wpf OpenFileDialog
Microsoft.Win32.OpenFileDialogopenFileDialog1=newMicrosoft.Win32.OpenFileDialog();openFileDialog1.Filter="(*.cup)|*.cup";if(openFileDialog1.ShowD...
分类:其他好文   时间:2014-06-11 21:51:03    阅读次数:224
随记------代码片段
1. 二维数组转置void matrix_transpose(int *src[], int *dst[], int x, int y){ int i, j; int *psrc, *pdst; i = j = 0; psrc = (int *)src; pdst = (int *)dst; for...
分类:其他好文   时间:2014-06-11 13:29:59    阅读次数:303
leetcode:LRU Cache
1 /* 2 Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and set. 3 ...
分类:其他好文   时间:2014-06-11 13:08:46    阅读次数:297
sql中的CHARINDEX和临时表
update #temp set #temp.Recycle=case when UnionA.num>0 then 1 else 0 end from (select GradeID,sum(num)as num from AreaAllot      where CHARINDEX(@Area,AreaAllot.Area)=1 and LEN(@Area)=LEN(Area)-2 ...
分类:数据库   时间:2014-06-07 12:57:44    阅读次数:304
HDU 1305 Immediate Decodability
Problem Description An encoding of a set of symbols is said to be immediately decodable if no code for one symbol is the prefix of a code for another symbol. We will assume for this problem that all ...
分类:其他好文   时间:2014-06-07 12:57:03    阅读次数:231
uva 11987 Almost Union-Find (并查集)
题目大意: 三个操作。 1. 合并两个集合 2.把第一个元素放到第二个集合里 3.输出集合的数量和和。。 思路分析: 要用p记录这个元素所在集合编号,然后用编号建立并查集。 #include #include #include #include using namespace std; typedef long long LL; int set[111111...
分类:其他好文   时间:2014-06-07 12:52:40    阅读次数:267
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!