码迷,mamicode.com
首页 >  
搜索关键字:while loading shared    ( 36422个结果
图片延迟加载并等比缩放,一个简单的JQuery插件
使用方法:$(".viewArea img").zoom({height:74,width:103});(function($){$.fn.zoom=function(settings){//一些默认配置;settings=$.extend({height:0,width:0,loading:"ht...
分类:Web程序   时间:2014-06-04 22:32:22    阅读次数:376
Loading效果 UIActivityIndicatorView
//初始化:UIActivityIndicatorView* indicator = [[UIActivityIndicatorView alloc] initWithFrame:CGRectMake(0, 0, 50, 50)];//设置显示样式,见UIActivityIndicatorViewS...
分类:其他好文   时间:2014-06-04 21:58:49    阅读次数:272
Sqrt(x)
Implementint sqrt(int x).Compute and return the square root ofx.classSolution{public:intsqrt(intx){inti=0;intstep=1;while(step>0){while((i+step)>1);}r...
分类:其他好文   时间:2014-06-04 19:54:17    阅读次数:214
设计模式(四) : 创建型模式--单例模式
单例模式的话,类图上来看是最简单的设计模式,就是一个类只能有一个自己的实例。单例模式通常来说我们就有Lazy loading的和不是Lazy loading的。《java与模式》里面的关于这两种的类图,:可以看到一个是现开始就实例话的,这样的话不符合我们的lazy loading,还有一种是在get...
分类:其他好文   时间:2014-06-03 13:48:06    阅读次数:258
CPU与IRP的一些相关函数
VOIDKiAdjustIrpCredits ( VOID )其中 Number = KeNumberProcessors;Prcb = KiProcessorBlock[Index];多核情况下调整每个CPU的IRP对象配额。在while (Index Lookaside...
分类:其他好文   时间:2014-06-03 11:35:52    阅读次数:254
UnExpected Error, Quitting
UnExpected Error, QuittingVB在win7 环境安装后,启动vb6.0弹出以上英文提示,目前解决方法:下载动态库,放置于C:\ProgramFiles\Common Files\Microsoft Shared\VBA目录下如果还不不行的话,把MRT7ENU.DLL与MSO9...
分类:其他好文   时间:2014-06-03 06:41:23    阅读次数:671
FOJ_Problem 1587 成绩统计
水题,不过要想0ms过还是有个技巧的:#include #include using namespace std;int main(){ int score[101]; int t,t1,temp; while(cin>>t) { //memset(score,...
分类:其他好文   时间:2014-05-30 16:53:11    阅读次数:268
linux平台上面python调用c
不能免俗,先打印个helloworld出来,c代码的函数hello.c#include int helloworld(){ printf("hello world!"); return 0;}然后编译成动态链接库 gcc hello.c -fPIC -shared -o libhello...
分类:编程语言   时间:2014-05-30 02:08:52    阅读次数:467
解决SQL Server管理器无法连接远程数据库Error: 1326错误
解决SQL Server管理器无法连接远程数据库Error: 1326错误我们在在使用SQL Server时都会遇到使用SQL Server Management Studio无法连接远程数据库实例的问题,错误描述信息摘录如下:An error has occurred while establis...
分类:数据库   时间:2014-05-29 20:50:49    阅读次数:404
解决VNC中tab键无效的方法
http://ubuntuforums.org/archive/index.php/t-1771058.htmlI accidentally discovered a fix for this while trying to solve a different problem.edit~/.conf...
分类:其他好文   时间:2014-05-29 15:00:26    阅读次数:623
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!