码迷,mamicode.com
首页 >  
搜索关键字:function module    ( 65302个结果
编译安装shibboleth-sp遇到的问题
In file included from mod_shib_20.cpp:68: mod_shib.cpp:118: warning: deprecated conversion from string constant to 'char*' mod_shib.cpp: In member function 'virtual const char* ShibTargetApache::get...
分类:其他好文   时间:2014-05-07 06:04:50    阅读次数:363
【Leetcode】Two Sum
[Question] Given an array of integers, find two numbers such that they add up to a specific target number. The function twoSum should return indices of the two numbers such that they add up to t...
分类:其他好文   时间:2014-05-07 05:37:44    阅读次数:278
JQuery_2.1.0_日记 5.5 Sizzle选择器(三)
function Sizzle( selector, context, results, seed ) {         var match, elem, m, nodeType,                // QSA vars               i, groups, old, nid, newContext, newSelector; ...
分类:Web程序   时间:2014-05-07 05:27:07    阅读次数:426
Javascript的一些小知识点
小弟五一回家去了,本想好好的享受下五一假期,谁知悲剧的人生不需要解释。好不容易过五关斩十将,跨千山趟万水,回到家里。吃着老妈做的好菜,第二天就莫名其妙的急性肠炎,这肚子闹腾的。NND,气死哥了,早知道就不回家了。好了,废话不多说,进入主题。 ================ 关于clientHeight、offsetHeight、scrollHeight window.screen.avai...
分类:编程语言   时间:2014-05-07 04:19:56    阅读次数:379
Python快速学习09: 函数的参数
前言   系列文章:[传送门]   继续干起来!!   正文     我们已经接触过函数,函数是可以被引用的(访问或者以其他变量作为其别名),也作为参数传入函数,以及作为列表和字典等等容器对象的元素(function)的参数(arguments)传递。       传递函数       形式参数             位置参数         默认参数      ...
分类:编程语言   时间:2014-05-07 03:31:03    阅读次数:369
de Casteljau算法的matlab实现
一直在写c++程序,不过对于一些作图程序来说,还是MATLAB比较实在。            de Casteljau算法是作贝塞尔曲线的一种高效的算法,其思想就是对[0,1]区间中所有的t,通过n个控制顶点不断递推得到一个顶点:下面是我的代码实现: function deCasteljau(P,Q) %P is 1*n matrix for X %Q is 1*n matrix for...
分类:其他好文   时间:2014-05-07 03:14:37    阅读次数:303
codechef Correctness of Knight Move题解
Chef develops his own computer program for playing chess. He is at the very beginning. At first he needs to write the module that will receive moves written by the players and analyze it. The module w...
分类:其他好文   时间:2014-05-06 23:11:26    阅读次数:497
Python3 基础 —— 模块 Module 介绍
1、模块的作用      在交互模式下输出的变量和函数定义,一旦终端重启后,这些定义就都不存在了,为了持久保存这些变量、函数等的定义,Python中引入了模块(Module)的概念。 一个Python模块其实就是一个脚本文件,具有后缀“.py”,例如 hello.py 就是一个模块文件名,和普通文件一样可以被永久保存在本地存储磁盘中。 2、模块的内容      Python...
分类:编程语言   时间:2014-05-06 23:00:21    阅读次数:409
js:深入继承
/**  * js实现继承:  * 1.基于原型链的方式  * 2.基于伪造的方式  * 3.基于组合的方式  */ 一、基于原型链的方式 function Parent(){   this.pv = "parent";  } Parent.prototype.showParentValue = function(){   console.log(this.pv);  }...
分类:Web程序   时间:2014-05-06 18:49:35    阅读次数:387
No module named yum错误的解决办法
今天用yum安装软件的时候出现如下错误:TherewasaproblemimportingoneofthePythonmodulesrequiredtorunyum.Theerrorleadingtothisproblemwas:NomodulenamedyumPleaseinstallapackagewhichprovidesthismodule,orverifythatthemoduleisinstalledcorrectly.It’spossiblethattheabo..
分类:其他好文   时间:2014-05-06 16:09:23    阅读次数:297
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!