码迷,mamicode.com
首页 >  
搜索关键字:sub    ( 10221个结果
发布/订阅消息传送模型
1、发布/订阅模型概览 发布/订阅(publish-and-subscribe)模型通常被简写为pub/sub模型。在这个模型中,消息生产者成为发布者(publisher),而消息消费者则称为订阅者(subscribe)。在点对点模型中,是将消息发送到一个队列中,而发布/订阅模型则是将消息发布给一个...
分类:其他好文   时间:2014-07-22 22:50:57    阅读次数:4009
让UserControl能显示焦点状态
'set the control can display the focus status Protected Overrides Sub OnGotFocus(ByVal e As System.EventArgs) MyBase.OnGotFocus(e) M...
分类:其他好文   时间:2014-07-22 22:41:13    阅读次数:198
jquery checbox 全选,反选
<body> <input type="checkbox" id="ckAll" />check all<br /> <input type="checkbox" name="sub" />1<br /> <input type="checkbox" name="sub"/>2<br /> <input type="checkbox" name="sub"/>3<br /> <input t...
分类:Web程序   时间:2014-07-22 09:13:34    阅读次数:325
DSP 之原子与高性能设计(一) 用户态/内核态 原子原语
type __sync_fetch_and_add (type *ptr, type value, ...) type __sync_fetch_and_sub (type *ptr, type value, ...) type __sync_fetch_and_or (type *ptr, type value, ...) type __sync_fetch_and_and (type *...
分类:其他好文   时间:2014-07-22 09:00:07    阅读次数:163
对两个整数进行加、减、乘、除
#include int add(int a,int b) {     return a+b; } int sub(int a,int b) {     return a-b; } int mul(int a,int b) {     return a*b; } int div(int a,int b) {     return a/b; } void resul...
分类:其他好文   时间:2014-07-21 11:14:15    阅读次数:173
excel保护工作表密码pojie
打开你要破解的工作表,按 ALT + F11 启动VBA,将以下的代码复制上去,再按F5 键,就行了。---------------------------------------------------------------Public Sub AllInternalPasswords()' B...
分类:其他好文   时间:2014-07-21 08:01:51    阅读次数:422
区间Dp 暴力枚举+动态规划 Hdu1081
F - 最大子矩形 Time Limit:1000MS Memory Limit:10000KB 64bit IO Format:%I64d & %I64u Submit Status Description Given a two-dimensional array of positive and negative integers, a sub-rectangle is any ...
分类:其他好文   时间:2014-07-19 23:26:59    阅读次数:236
杭电 2187 (贪心题)悼念512汶川大地震遇难同胞——老人是真饿了
http://acm.hdu.edu.cn/showproblem.php?pid=2187 悼念512汶川大地震遇难同胞——老人是真饿了 Time Limit: 1000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 7286    Accepted Sub...
分类:其他好文   时间:2014-07-19 11:21:44    阅读次数:222
HDU 1003 Max Sum
Problem Description Given a sequence a[1],a[2],a[3]......a[n], your job is to calculate the max sum of a sub-sequence. For example, given (6,-1,5,4,-7), the max sum in this sequence is 6 + (-1) + 5...
分类:其他好文   时间:2014-07-19 08:25:40    阅读次数:224
CodeIgnitor 创建admin和其他目录,前后端分离,很巧妙的方式,网上查找其他的都不是使用这种方式实现的。
在index.php的第97和98行的注释, // The directory name, relative to the "controllers" folder. Leave blank // if your controller is not in a sub-folder within t....
分类:其他好文   时间:2014-07-19 00:18:35    阅读次数:212
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!