bulkloop例程是USB固件开发中的基础例程,通过它我们可以学到很多基础知识,我在这里也利用下午的时间来学习一下bulkloop例程。 bulkloop这个名字就说明了该固件的作用:以bulk型endpoint作为输出和输入端口,让数据"转一圈"。就是在主机端输出一组数据到FX2LP的某一个b....
分类:
其他好文 时间:
2014-08-27 00:22:56
阅读次数:
474
C#在foreach循环中修改字典等集合出错:System.InvalidOperationException: Collection was modified; enumeration operation may not execute.这是因为在foreach中不允许修改集合,可通过如下方式修改...
分类:
其他好文 时间:
2014-08-26 17:11:46
阅读次数:
489
原题戳我Given two words word1 and word2, find the minimum number of steps required to convert word1 to word2. (each operation is counted as 1 step.)You ha...
分类:
其他好文 时间:
2014-08-26 00:14:25
阅读次数:
334
AFHTTPRequestOperation *op = [[AFHTTPRequestOperation alloc] initWithRequest:request];
[op setCompletionBlockWithSuccess:^(AFHTTPRequestOperation *operation, id responseObject) {
NSLog(@"上传完成");
} failure:^(AFHTTPRequestOperation *operation, N...
分类:
Web程序 时间:
2014-08-25 13:28:24
阅读次数:
240
In concurrent programming, an operation (or set of operations) is atomic, linearizable, indivisible or uninterruptible if
it appears to the rest of the system to occur instantaneously. Atomicity is ...
分类:
其他好文 时间:
2014-08-25 11:52:54
阅读次数:
331
#include #include #include #include #include #include #include #include #include #include #include #include #include#includeusing namespace std;cons.....
分类:
其他好文 时间:
2014-08-22 00:19:35
阅读次数:
205
??
Organizing Attributes and Operations
组织属性和操作
When drawing a class, you don’t
have to show every attribute and every operation at once. In fact, in most cases, you can’t
(there are too man...
分类:
其他好文 时间:
2014-08-21 22:50:55
阅读次数:
423
leetcode的题目Given two wordsword1andword2, find the minimum number of steps required to convertword1toword2. (each operation is counted as 1 step.)You h...
分类:
其他好文 时间:
2014-08-21 22:29:54
阅读次数:
279
操作
Change operations:
0 a b change all characters into '0's in [a , b]
1 a b change all characters into '1's in [a , b]
2 a b change all '0's into '1's and change all '1's into '0's in [a, b]
Out...
分类:
其他好文 时间:
2014-08-20 12:36:52
阅读次数:
392
Hi,The problem is:$ check_jmx4perl --url http://localhost:8081/jolokia --mbean java.lang:type=Threading --operation findDeadlockedThreads --null no-de...
分类:
其他好文 时间:
2014-08-19 18:37:25
阅读次数:
311