上一页 1 2 3 4 5 6 ··· 10 下一页
摘要: 1、c语言的基本数据类型(六种) 可以在语言中使用 sizeof(char)方法来得到对应数据类型的占用的内存 1.char 一字节 2.int 四字节 3.short 二字节 4.float 四字节 5.long 四字节 6.double 八字节 除此之外,整型数据类型可以修饰为无符号数据类型(c 阅读全文
posted @ 2018-06-18 18:39 halo-漾 阅读(193) 评论(0) 推荐(0) 编辑
摘要: 是因为gradle-wrapper.properties中 使用了gradle-xx-all.zip,而gradle-xx-all.zip无法直接在studio中下载下来。 解决办法参考:http://www.jcodecraeer.com/a/anzhuokaifa/Android_Studio/ 阅读全文
posted @ 2018-01-04 14:40 halo-漾 阅读(139) 评论(0) 推荐(0) 编辑
摘要: public class PictureUtils { //根据给定的宽高获得bitmap public static Bitmap getScaledBitmap(String path, int destWidth, int destHeight){ //Read in the dimensions of the image on disk; ... 阅读全文
posted @ 2017-12-09 14:06 halo-漾 阅读(224) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2017-11-30 08:55 halo-漾 阅读(508) 评论(0) 推荐(0) 编辑
摘要: if(document.addEventListener){ this.addEvent = function(elem,type,fn){ elem.addEventListener(type,fn,false); return fn; }; this.removeEvent = function(elem,type,fn){ ... 阅读全文
posted @ 2017-11-28 12:49 halo-漾 阅读(177) 评论(0) 推荐(0) 编辑
摘要: test suit $nbsp; $nbsp; $nbsp; $nbsp; $nbsp; $nbsp; $nbsp; 忍者Ninja 阅读全文
posted @ 2017-11-27 15:31 halo-漾 阅读(287) 评论(0) 推荐(0) 编辑
摘要: function argumentNames(fn){ var found = /^[\s\(]*function[^(]*\(\s*([^)]*?)\s*\)/.exec(fn.toString()); return found && found[1] ? found[1].split(/,\s*/) : []; } 阅读全文
posted @ 2017-11-25 17:33 halo-漾 阅读(104) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2017-11-24 16:50 halo-漾 阅读(1) 评论(0) 推荐(0) 编辑
摘要: function globalEval(data){ data = data.replace(/^\s* | \s*$/g,""); if(data){ var head = document.getElementsByTagName("head")[0] || document.documentElement,script = document.createEl... 阅读全文
posted @ 2017-11-21 22:42 halo-漾 阅读(147) 评论(0) 推荐(0) 编辑
摘要: var timer = { timerId : 0, timers : [], add : function(fn){ this.timers.push(fn); }, start : function(){ if(this.time... 阅读全文
posted @ 2017-11-21 21:11 halo-漾 阅读(193) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 10 下一页