上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 21 下一页
摘要: 前言:本文是我学习Spark 源码与内部原理用,同时也希望能给新手一些帮助,入道不深,如有遗漏或错误的,请在原文评论或者发送至我的邮箱 tongzhenguotongzhenguo@gmail.com 摘要: 1.作业调度核心——DAGScheduler 2.DAGScheduler类说明 2.1D 阅读全文
posted @ 2017-06-03 17:52 叶常绿 阅读(825) 评论(0) 推荐(0) 编辑
摘要: 以蓝色为例,#0000FF应该被表示成rgb(0,0,255)。 我们将函数命名为getRGB() (可以将字符串视为数组,这个数组的元素为字符) function getRGB(color) { var rgb = [parseInt('0x'+color.slice(1,3)),parseInt 阅读全文
posted @ 2017-06-03 17:51 叶常绿 阅读(208) 评论(0) 推荐(0) 编辑
摘要: 摘要: 0.redis安装 1.redis的常用数据结构类型 1.1 String 1.2 List 1.3 Set 1.4 Sorted Set 1.5 Hash 2.redis是单进程单线程的 3.管道 4.我的测试代码 内容总结 0.redis安装 官网地址 http://redis.io/ 阅读全文
posted @ 2017-06-03 17:51 叶常绿 阅读(158) 评论(0) 推荐(0) 编辑
摘要: new function(){ dom = []; dom.isReady = false; dom.isFunction = function(obj){ return Object.prototype.toString.call(obj) "[object Function]"; }; dom. 阅读全文
posted @ 2017-06-03 17:50 叶常绿 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 使用原生JavaScript,获取类操作符时:即使使用getElementByClassName,在Firefox和IE9以下是不兼容的。Firefox下是可以用它获取的到元素而IE不行,一般框架都会实现该方法,达到在IE和Firefox下兼容的问题。 下面我写的这个封装,多给了他一个参数(pare 阅读全文
posted @ 2017-06-03 17:50 叶常绿 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 〇 每个函数都拥有prototype属性,而该属性所储存的就是原型对象 1)原型属性—— 上面我们测试了foo()函数的 1) length属性(length属性除了可以用在数组中,还可以用于记录函数参数的数量) 2)来自原型的constructor property属性(该属性实际上是一个之指向用 阅读全文
posted @ 2017-06-03 17:49 叶常绿 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 1)原型链 ①原型链示例 function Shape() { this.name = 'shape'; this.toString = function(){ return this.name; } } function TwoDshape () { this.name = '2D shape'; 阅读全文
posted @ 2017-06-03 17:48 叶常绿 阅读(188) 评论(0) 推荐(0) 编辑
摘要: 原题 Given a collection of distinct numbers, return all possible permutations. For example,[1,2,3] have the following permutations: 解题思路 递归:递归的方法,创建一个vi 阅读全文
posted @ 2017-06-02 23:55 叶常绿 阅读(111) 评论(0) 推荐(0) 编辑
摘要: 一、简介 Tornado 是 FriendFeed 使用的可扩展的非阻塞式 web 服务器及其相关工具的开源版本。这个 Web 框架看起来有些像web.py 或者 Google 的 webapp,不过为了能有效利用非阻塞式服务器环境,这个 Web 框架还包含了一些相关有用工具及优化。 Tornado 阅读全文
posted @ 2017-06-02 23:54 叶常绿 阅读(224) 评论(0) 推荐(0) 编辑
摘要: # 递归的方法,创建一个visit判断此值是否已经添加过,每一层不断地循环,加入没有被访问的元素,直到最后结果的长度满足要求加入答案中 class Solution: """ @param n: n @param k: the k-th permutation @return: a string, 阅读全文
posted @ 2017-06-02 23:54 叶常绿 阅读(148) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 21 下一页
友情链接:回力鞋专卖店 | 中老年女装 | 武汉英语培训机构 | 经典电影 | 托福考试费用