码迷,mamicode.com
首页 >  
搜索关键字:sub    ( 10221个结果
自己学驱动8——uboot代码阅读三(start.S)
/* Set up the stack                            */ stack_setup:     ldr    r0, _TEXT_BASE        /* upper 128 KiB: relocated uboot   */     sub    r0, r0, #CFG_MALLOC_LEN    /* malloc area          ...
分类:其他好文   时间:2014-11-23 19:00:15    阅读次数:329
HDU 3652 B-number
Problem Description A wqb-number, or B-number for short, is a non-negative integer whose decimal form contains the sub- string "13" and can be divided by 13. For example, 130 and 2613 are wqb-numbe...
分类:其他好文   时间:2014-11-22 21:36:21    阅读次数:212
java实现鼠标和键盘动作后台监听
有的时候需要我们对鼠标和键盘的动作(鼠标的移动,键盘的点击)进行监听,比如按键记录,鼠标坐标记录等。 我们使用JNA来实现以上的操作  tips:JNA类库使用一个很小的本地类库sub 动态的调用本地代码。程序员只需要使用一个特定的java接口描述一下将要调用的本地代码的方法的结构和一些基本属性。这样就省了为了适配多个平台而大量的配置和编译代码。因为调用的都是JNA提供的公用jar 包...
分类:编程语言   时间:2014-11-22 14:46:08    阅读次数:318
Spring mvc Data Redis—Pub/Sub(附Web项目源码)
一、发布和订阅机制 当一个客户端通过 PUBLISH 命令向订阅者发送信息的时候,我们称这个客户端为发布者(publisher)。 而当一个客户端使用 SUBSCRIBE 或者 PSUBSCRIBE 命令接收信息的时候,我们称这个客户端为订阅者(subscriber)。为了解耦发布者(publi.....
分类:编程语言   时间:2014-11-22 13:19:26    阅读次数:226
LeetCode: Longest Valid Parentheses 解题报告
Longest Valid ParenthesesGiven a string containing just the characters '(' and ')', find the length of the longest valid (well-formed) parentheses sub...
分类:其他好文   时间:2014-11-21 20:31:10    阅读次数:235
js call()方法
1 //用add方法替换sub方法 2 function add(a,b){ 3 console.log(a+b) 4 } 5 function sub(a,b){ 6 console.log(a-b) 7 } 8 add.call(sub,3,1); 9 10 //c1的方法放到c2上执...
分类:Web程序   时间:2014-11-21 20:13:52    阅读次数:176
查询_观察者网_网友评论
Sub 查询_观察者网_网友评论() On Error Resume Next Cells.Clear Set oDoc = CreateObject("htmlfile") With CreateObject("WinHttp.WinHttpRequest.5.1") .Open "GET", "http://duoshuo.com/api/users/listActivity.json?user_id=8048002", False .se...
分类:其他好文   时间:2014-11-21 18:58:27    阅读次数:191
Maximum Product Subarray
The maximum product of sub-arrays in $[1, n]$ can be divided by 3 cases:A[n] is the maximum product of all sub-arrays in [1, n].The array which has th...
分类:其他好文   时间:2014-11-21 18:27:25    阅读次数:243
poj - 1691 - Painting A Board(状态压缩dp)
题意:N(1 题目链接:http://poj.org/problem?id=1691 ——>>状态:dp[S][color] 表示达到状态 S 且最后一次涂色为 color 时的最小取画笔数 状态转移方程:dp[S][color] = min(dp[S][color], dp[sub][i]); 或者 dp[S][color] = min(dp[S][color], dp[sub][i] ...
分类:其他好文   时间:2014-11-21 14:24:22    阅读次数:203
C# 引用访问权限,很多老手都不懂
同样代码表现的不同行为创建基类(Super)和派生类(Sub)每个类有一个字段field和一个公共方法getField,并且使用内联的方式初始化为1,方法getField返回字段field。C#和Java代码及运行结果如下C#复制代码 class Super { public int fi...
分类:Windows程序   时间:2014-11-21 12:35:22    阅读次数:236
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!