码迷,mamicode.com
首页 >  
搜索关键字:out    ( 35870个结果
Android探索之图片缓存<Lru算法>(二)
前言: 上篇我们总结了Bitmap的处理,同时对比了各种处理的效率以及对内存占用大小。我们得知一个应用如果使用大量图片就会导致OOM(out of memory),那该如何处理才能近可能的降低oom发生的概率呢?之前我们一直在使用SoftReference软引用,SoftReference是一种现在 ...
分类:移动开发   时间:2016-06-01 21:15:23    阅读次数:305
Reflector 已经out了,试试ILSpy
Reflector是.NET开发中必备的反编译工具。即使没有用在反编译领域,也常常用它来检查程序集的命名规范,命名空间是否合理,组织类型的方法是否需要改善。举例说明,它有一个可以查看程序集完整名称的功能,请看下图 这里的Name,是标识一个程序集的完整标识,当GAC中存在程序集的多个版本时,这个名称 ...
分类:其他好文   时间:2016-06-01 19:40:53    阅读次数:218
linux操作命令
cd / 回到跟目录 cd .. 返回上一层目录 tomcat 的logs目录执行tail -f catalina.out查看日志 ps -ef|grep tomcat 查看tomcat进程 kill -9 4323 杀某个进程 rm -rf aa 删除名为aa的文件夹 rm aa 删除非文件夹的a ...
分类:系统相关   时间:2016-06-01 18:08:46    阅读次数:144
HTTPS双向认证
生成证书 openssl genrsa -des3 -out server.key 2048 openssl req -new -x509 -key server.key -out ca.crt -days 3650openssl pkcs12 -export -out server.p12 -in ...
分类:Web程序   时间:2016-05-31 22:11:31    阅读次数:199
POJ-2387 Til the Cows Come Home ( 最短路 )
题目链接: http://poj.org/problem?id=2387 Description Bessie is out in the field and wants to get back to the barn to get as much sleep as possible before ...
分类:其他好文   时间:2016-05-31 20:46:17    阅读次数:151
ref & out
ref参数在传递前必须初始化 out参数在方法返回前必须赋值 int a = 1; int b; TestRef(ref a); TestOut(out b); Console.Read(); } static void TestRef(ref int value) { } static void ...
分类:其他好文   时间:2016-05-31 19:06:14    阅读次数:130
.NET WCF Return String 字符串有反斜杠的处理
应该是: {"Message":"Hello World"} 结果是:" {\"Message\":\"Hello World\"}" 正确的写法是: I finally figured out a solution to this. It's not what I would have prefe ...
分类:Web程序   时间:2016-05-31 18:43:42    阅读次数:435
科学计数法 与 普通数字 转换
// 科学计数法 转成 普通数字 BigDecimal bd = new BigDecimal("3.40256010353E14"); String str = bd.toPlainString(); System.out.println(str); // 普通数字 转成 科学计数法 Double ...
分类:其他好文   时间:2016-05-31 16:05:27    阅读次数:2299
Gearman 分布式的异步任务分发框架
What is Gearman? Gearman provides a generic application framework to farm out work to other machines or processes that are better suited to do the wor ...
分类:其他好文   时间:2016-05-31 13:40:16    阅读次数:298
函数表达式和构造函数的区别
var a=function(config){ this.name=config; this.out = function(){ alert(1) }}a.name='hewenk';a.prototype.inner=function(){ alert(1)}var n=new a('1234') ...
分类:其他好文   时间:2016-05-30 23:18:23    阅读次数:505
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!