码迷,mamicode.com
首页 >  
搜索关键字:when    ( 7148个结果
Go Data Structures: Interfaces
原文链接http://research.swtch.com/interfacesGo's interfaces—static, checked at compile time, dynamic when asked for—are, for me, the most exciting part of...
分类:其他好文   时间:2014-11-23 14:20:48    阅读次数:226
兔子--Notification的使用
使用步骤: 1 获取通知管理器NotificationManager,它也是一个系统服务 2 建立通知Notification notification = new Notification(icon, null, when); 3 为新通知设置参数(比如声音,震动,灯光闪烁) 4 把新通知添加到通知管理器 package com.example.mynotificati...
分类:其他好文   时间:2014-11-23 11:48:28    阅读次数:217
Interleaving String
# 题目 Given s1, s2, s3, find whether s3 is formed by the interleaving of s1 and s2. For example, Given: s1 = "aabcc", s2 = "dbbca", When s3 = "aadbbcbcac", return true. When s3 = "aadbbbaccc", ret...
分类:其他好文   时间:2014-11-22 23:23:11    阅读次数:404
[Swift]Day06:函数
函数参数外部变量名一般情况下你可以不指定外部变量名,直接调用函数:func helloWithName(name: String, age: Int, location: String) { println("Hello \(name). I live in \(location) too. When is your \(age + 1)th birthday?") } helloWit...
分类:编程语言   时间:2014-11-22 21:40:26    阅读次数:300
poj1905 Expanding Rods 二分
Expanding Rods Time Limit: 1000MS   Memory Limit: 30000K Total Submissions: 11782   Accepted: 3063 Description When a thin rod of length L is heated n degrees, it expands...
分类:其他好文   时间:2014-11-22 13:23:30    阅读次数:180
oracle查询小结1
select a.dt,nvl(a.version_id,'-') version_id, case when a.clickevent='clickEvent00116' then '桌面悬浮窗展现量(大框展示)' when a.clickevent='clickEvent00120' then '桌面悬浮窗' when a.clickevent='clickEve...
分类:数据库   时间:2014-11-22 09:21:04    阅读次数:378
Routing with restify and socket.io in node
I have a node app which routes the request based on the url using restfy. Now in want to bring socket into picture. But app doesnot redirect to the function when when socket.io is used. I am using ...
分类:其他好文   时间:2014-11-22 07:08:20    阅读次数:240
杂记1
The most precious thingis life.Lifefor each person only once.Therefore,people's life should be spent this way:when a personlook back at the past,not b...
分类:其他好文   时间:2014-11-21 21:48:42    阅读次数:185
查询sql2005&2008全部表信息
1 如果是查询sql server 2000,把sys.extended_properties修改为SysProperties 2 3 SELECT 4 表名 = CASE WHEN A.COLORDER=1 THEN D.NAME ELSE '' END, 5 表说明 =...
分类:数据库   时间:2014-11-21 20:25:22    阅读次数:285
arm平台编译动态库报 relocation R_ARM_MOVW_ABS_NC 错误解决
编译一个能在 arm 平台上用的动态库,结果报错如下: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC ./obj/xxx.o: could not read symbols: Bad value collect2: error: ld returned 1 exit status 其实错误信息已经给出解决办法了,加...
分类:其他好文   时间:2014-11-21 18:40:09    阅读次数:3187
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!