码迷,mamicode.com
首页 >  
搜索关键字:self    ( 14215个结果
Mechanism for self refresh during C0
An embodiment may be an apparatus comprising a link coupled with a memory, and circuitry coupled with the link to calculate the amount of memory acces...
分类:其他好文   时间:2014-07-23 11:58:56    阅读次数:397
capturing self strongly in this block is likely to lead to a retain cycle
capturing self strongly in this block is likely to lead to a retain cycle...
分类:其他好文   时间:2014-07-23 00:09:47    阅读次数:181
python描述符descriptor(二)
python内置的描述符python有些内置的描述符对象,property、staticmethod、classmethod,python实现如下:class Property(object): def __init__(self,getf,setf,delf,doc): sel...
分类:编程语言   时间:2014-07-22 23:21:47    阅读次数:335
背景减法——自组织算法
自组织背景减法是Maddalena于2008年发表的《A self-organizing approach to background subtraction for visualsurveillance applications》中提出的,通过自组织的方法自动的生成一张神经网格背景模型。这个背景减...
分类:其他好文   时间:2014-07-22 23:08:32    阅读次数:360
UVA 1572 Self-Assembly
拓扑排序,以边上标号为点,正方形为边,拓扑图中存在有向环时unbounded,否则bounded;注意:仔细处理输入; 遍历一个点时,下一次遍历拼上的下一个方形边;即假设遍历到 A+ 时,下次从 A- 开始遍历; 1 #include 2 #include 3 #include 4 us...
分类:其他好文   时间:2014-07-22 22:41:15    阅读次数:282
平时的笔记01
# -*- coding: cp936 -*-from PyQt4 import QtGui,QtCoreimport sysclass MianWindow(QtGui.QMainWindow): def __init__(self,parent=None): QtGui.QM...
分类:其他好文   时间:2014-07-22 22:36:13    阅读次数:219
IOS之表视图单元格删除、移动及插入
1.实现单元格的删除,实现效果如下 Cpp代码-(void)viewDidLoad{[superviewDidLoad];//设置导航栏self.editButtonItem.title=@"编辑";self.navigation.rightBarButtonItem=self.editButt.....
分类:移动开发   时间:2014-07-22 22:35:54    阅读次数:262
AMovableLabel例子
#!/us/bin/envpythonfromPyQt4importQtCore,QtGuiclassAMovableLabel(QtGui.QLabel):def__init__(self,parent=None):super(AMovableLabel,self).__init__(parent...
分类:其他好文   时间:2014-07-22 22:35:35    阅读次数:184
python基础知识1
Python的基础知识:if-elif-elsewhile-elsebreakcontinuefrom..importimport..dir(),当提供一个模块明的时候,返回模块定义的名称列表列表[],元祖(),字典{}面向对象编程:self,__init__方法try-excepttry-fina...
分类:编程语言   时间:2014-07-22 22:32:16    阅读次数:249
mongodb 实现关系型数据库中查询某一列 的效果
最近在tornado\mongodb\ansible mongodb中有个find()方法很牛逼,可以将集合中所有的表都传出来,一开始我这么写 class Module_actionHandler(tornado.web.RequestHandler): def get(self, *args, **kwargs): coll = self.applic...
分类:数据库   时间:2014-07-22 17:52:41    阅读次数:291
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!