There is no systematic design for shared resource access priority in platform side, and there is no interface provided by
platform that can be used by application to do bandwidth management optimizat...
分类:
其他好文 时间:
2014-06-03 04:54:35
阅读次数:
262
【题目】
Given a 2D board and a word, find if the word exists in the grid.
The word can be constructed from letters of sequentially adjacent cell, where "adjacent" cells are those horizontally or vertically neighboring. The same letter cell may not be use...
分类:
其他好文 时间:
2014-06-03 01:07:58
阅读次数:
329
观察者模式是最常用的设计模式之一,【对象之间多对一的依赖关系,当一个对象发生变化时,其会通知所有依赖它的对象】。拿订阅报纸和发行报社打比方,报社采集到news制作新的报纸,派送给订阅的客户,以此把最新的消息告知客户。所以,
出版社 + 订阅者 = 观察者模式。
这种一对多的关系,也即“一个”主题、“多个”观察者能够使得观察者仅仅了解主题推送的消息但不知晓其中的细节,而主题握有观察者列表...
分类:
其他好文 时间:
2014-06-02 23:33:05
阅读次数:
376
【题目】原文:1.3 Design an algorithm and write code
to remove the duplicate characters in a string without using any additional
buffer. NOTE: One or two add...
分类:
其他好文 时间:
2014-06-02 21:32:04
阅读次数:
284
owner.componentLayoutCounter问题解:listeners : {
render : function(grid) {// 要在渲染完之后再load才有loading信息 grid.setLoading(fa...
分类:
Web程序 时间:
2014-06-01 11:25:06
阅读次数:
287
In the 2020 grid below, four numbers along a diagonal line have been marked in red.
08 02 22 97 38 15 00 40 00 75 04 05 07 78 52 12 50 77 91 08
49 49 99 40 17 81 18 57 60 87 17 40 98 43 69 48 04 56 ...
分类:
其他好文 时间:
2014-06-01 10:04:38
阅读次数:
419
本程序实现一个责任链模式查询人名的资料。
开始都是查询第一个人,问其是否有某人的资料,如果有就返回结果,如果没有第一个人就会询问第二个人,第二个人的行为和第一个人的行为一致的,然后一致传递下去,直到找到答案,或者是最后没有资料,返回。
首先创建一个基类:
//base class
class Person
{
public:
virtual void getInfo(string...
分类:
其他好文 时间:
2014-06-01 08:54:15
阅读次数:
286
尽管使用EXT开发了一段时间,可是自己认为我对javascript还是不是非常熟,所以边看书边做小样例
给自己以后用到的时候查看下,都是非常主要的东西,对刚開始学习的人可能有点帮助以下是代码 Java代码 grid 多选须要添加multiple属性
在多选中size属性...
分类:
Web程序 时间:
2014-05-31 18:40:02
阅读次数:
348