码迷,mamicode.com
首页 >  
搜索关键字:ref    ( 31755个结果
django 在字符串[str(list)]中精确查找
1.问题描述1.1表结构1.2问题ref_list为id列表的字符串,需要从ref_list中找出包含指定id的数据(eg id=8)。如果实用models.objects.filter(ref_list__contains=id)无法实现精确查找models.objects.filter(ref_...
分类:其他好文   时间:2014-11-21 18:24:20    阅读次数:728
C# 将dataset数据导出到excel中
//添加引用NPOI.dll//添加using NPOI.HSSF.UserModel;/// /// 导出数据到Excel /// /// /// public bool ExportOrderToExcel(ref string returnMsg) ...
分类:Windows程序   时间:2014-11-21 12:10:00    阅读次数:216
Extjs学习(三)组件查找 ComponentQuery类
Extjs3.x: ID:这就是所熟知的Ext.getCmp(“组件ID”),缺点是id重复导致出错。 ref:在EXTJS3中,所有的组件都会有一个ref属性,也就是reference的意思。这种方式是通过对组件的引用而得到组件对象。例如:ref:’mypanel’,但是这种方式的局限性在于,他只能查找不同层级之间的组件。也就是说A[a,b,c] C[d,e,f],这样的...
分类:Web程序   时间:2014-11-20 23:43:51    阅读次数:339
Cocos2d之Action类详解
一、声明 文章中使用到的cocos2d的源代码的版本是cocos2d-x-3.3rc0。二、主要内容【Action类简介】 在cocos2d中,Action类是所有动作的基类。Action类继承了Ref类和Clonable类。【Action类的声明源码】 声明的源码在 CCAction.h 文件中,...
分类:其他好文   时间:2014-11-20 01:13:58    阅读次数:700
事件Event
EventListener是根据事件来执行一定的动作,前面讲的调度Scheduler根据时间来执行动作我们先从Event类开始。打开CCEvent.h文件/** * Base class of all kinds of events. */class Event : public Ref{pub.....
分类:其他好文   时间:2014-11-19 18:26:02    阅读次数:262
[再寄小读者之数学篇](2014-11-19 $\tan x/x$ 在 $(0,\pi/2)$ 上递增)
$$\bex \frac{\tan x}{x}\nearrow. \eex$$ Ref. [Proof Without Words: Monotonicity of $\tan x/x$ on $(0,\pi/2)$, The College Mathematics Journal].
分类:其他好文   时间:2014-11-19 12:27:16    阅读次数:180
[再寄小读者之数学篇](2014-11-19 一个代数不等式)
$$\bex \sqrt{x^2+x+1}+ \sqrt{y^2+y+1} +\sqrt{x^2-x+1}+ \sqrt{y^2-y+1}\geq 2(x+y). \eex$$ Ref. [Proof Without Words: An Algebraic Inequality, The Colle...
分类:其他好文   时间:2014-11-19 12:20:04    阅读次数:126
[再寄小读者之数学篇](2014-11-19 $\sin(x+y)=\sin x\cos y+\cos x\sin y$)
$$\bex \sin(x+y)=\sin x\cos y+\cos x\sin y. \eex$$ Ref. [Proof Without Words: Sine Sum Identity, The College Mathematics Journal].
分类:其他好文   时间:2014-11-19 12:19:11    阅读次数:575
[再寄小读者之数学篇](2014-11-19 $\sin x/x$ 在 $(0,\pi/2)$ 上递增)
$$\bex \frac{\sin x}{x}\nearrow. \eex$$ Ref. [Proof Without Words: Monotonicity of $\sin x/x$ on $(0,\pi/2)$, The College Mathematics Journal]
分类:其他好文   时间:2014-11-19 12:12:31    阅读次数:152
[再寄小读者之数学篇](2014-11-19 等差数列的部分和)
设 $\sed{a_k}_{k=1}^n$ 为等差数列, 则 $$\bex a_1+\cdots+a_n=\frac{n(a_1+a_n)}{2}. \eex$$ Ref. [Proof Without Words: Partial Sums of an Arithmetic Sequence, T...
分类:其他好文   时间:2014-11-19 12:04:39    阅读次数:220
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!