码迷,mamicode.com
首页 >  
搜索关键字:called    ( 1945个结果
Node.js学习笔记(一)
1.回调函数 node是一个异步事件驱动的平台,所以在代码中我们经常需要使用回调函数。例:1 setTimeout(function(){2 console.log('callback is called');3 },2000);2.标准回调函数 node.js中回调函数格式是约定俗成的...
分类:Web程序   时间:2015-03-30 18:27:27    阅读次数:124
Python装饰器学习(九步入门)
第一步:最简单的函数,准备附加额外功能#-*-coding:gbk-*-'''示例1:最简单的函数,表示调用了两次'''defmyfunc():print("myfunc()called.")myfunc()myfunc()第二步:使用装饰函数在函数执行前和执行后分别附加额外功能#-*-coding...
分类:编程语言   时间:2015-03-29 17:49:56    阅读次数:161
The struts dispatcher cannot be found
1、错误描述      严重:Servlet.service() for servlet jsp threw exception                The struts dispatcher cannot be found.This is usually called by using struts tags without                the associat...
分类:其他好文   时间:2015-03-27 23:54:53    阅读次数:249
getDatabase called recursively数据库递归使用错误---解决方法
@Override public void onCreate(SQLiteDatabase db) { // Create tables db.execSQL(CREATE_CATEGORIES_TABLE); db.execSQL(CREATE_CHRGDATA_TABLE); db.execSQL(CREATE_SETTINGS_...
分类:数据库   时间:2015-03-21 17:12:37    阅读次数:224
Codeforces Round #117 (Div. 2)E---Wooden Fence(dp)
Vasya has recently bought some land and decided to surround it with a wooden fence.He went to a company called “Wooden board” that produces wooden boards for fences. Vasya read in the catalog of produc...
分类:其他好文   时间:2015-03-21 14:05:31    阅读次数:293
unity 转向
using UnityEngine;using System.Collections;public class Flipped : MonoBehaviour { public bool isFlipped=false; // Update is called once per fram...
分类:编程语言   时间:2015-03-20 23:34:39    阅读次数:202
unity 添加速度
using UnityEngine;using System.Collections;public class Flipped : MonoBehaviour { // Update is called once per frame void Update () { Rig...
分类:编程语言   时间:2015-03-20 23:24:19    阅读次数:771
【HDU3802】【降幂大法+矩阵加速+特征方程】Ipad,IPhone
Problem DescriptionIn ACM_DIY, there is one master called “Lost”. As we know he is a “-2Dai”, which means he has a lot of money.Well, Lost use Ipad an...
分类:其他好文   时间:2015-03-20 18:04:48    阅读次数:216
理解Erlang/OTP Supervisor
http://www.cnblogs.com/me-sa/archive/2012/01/10/erlang0030.htmlSupervisors are used to build an hierarchical process structure called a supervision tr...
分类:其他好文   时间:2015-03-20 16:20:06    阅读次数:207
HDU3926Hand in Hand(搜索 或 并查集)
Problem Description In order to get rid of Conan, Kaitou KID disguises himself as a teacher in the kindergarten. He knows kids love games and works out a new game called "hand in hand". Initiall...
分类:其他好文   时间:2015-03-19 23:59:41    阅读次数:435
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!