码迷,mamicode.com
首页 >  
搜索关键字:null    ( 33914个结果
android popwindow 使用 转http://www.cnblogs.com/jenson138/p/4335818.html
android PopupWindow使用实例.java 1 private PopupWindow mMenu; 2 3 4 public void CreatMenu(View view) { 5 if (mMenu == null) { 6 ...
分类:移动开发   时间:2015-03-14 00:56:29    阅读次数:258
JavaScript系列----数据类型以及传值和传引用
1.简单数据类型 在JavaScript中简单数据类型分为5种。分别为 Undefined, Null,Boolean,Number,String.Undefined类型Undefined类型只有一个值,即特殊的undefined。在使用var对变量声明的时候,变量的值即被初始化为undefine....
分类:编程语言   时间:2015-03-13 23:31:06    阅读次数:255
sql临时表的创建
create table #simple  /*只对当前用户有效,其他用户无法使用,断掉连接后立即销毁该表*/ ( id int not null ) select * from #simple create table ##simple  /*对任何前用户有效,断掉连接后立即销毁该表*/ ( id int not null ) select * from...
分类:数据库   时间:2015-03-13 20:44:29    阅读次数:160
nginx 优化
1.用Nginx做Web服务器,如果没有处理好日志,日志文件可能会很恐怖~10G、20G。可以修改nginx.conf 找到access_log: access_log /dev/null; error_log /dev/null; 这样全部把他们丢到系统的黑洞里了。不用每时每刻都往系统磁盘疯...
分类:其他好文   时间:2015-03-13 20:43:28    阅读次数:91
android PopupWindow使用实例
.java 1 private PopupWindow mMenu; 2 3 4 public void CreatMenu(View view) { 5 if (mMenu == null) { 6 LayoutInflater inflater...
分类:移动开发   时间:2015-03-13 20:38:42    阅读次数:188
友盟自定义分享-生成带图片的二维码,自定义分享布局
public class UmengShare { private Activity activity = null; private UMSocialService mController = null; private Dialog shareDialog = null; private Bit...
分类:其他好文   时间:2015-03-13 20:22:56    阅读次数:194
hive分区导致FAILED: Hive Internal Error: java.lang.NullPointerException(null)
写了一条hive sql ,其中条件中存在dt>=20150101 and dt<=20150228 这样的条件,原来执行没问题,今天就抛出FAILED: Hive Internal Error: java.lang.NullPointerException(null)java.lang.NullP...
分类:编程语言   时间:2015-03-13 20:19:56    阅读次数:163
vc在指定目录生成快捷方式
一、首先要获得不同目录的路径char chDesktopPath[MAX_PATH] = {0}; SHGetSpecialFolderPathA(NULL,chDesktopPath,CSIDL_DESKTOP,0);//获取当前用户桌面路径 通过改变上面函数的第三个参数来获取 第三个参数可以为: CSIDL_BITBUCKET, CSIDL_CONTROLS, CSIDL_DESKT...
分类:其他好文   时间:2015-03-13 18:45:16    阅读次数:188
java 动态获取web应用的部署路径
public static String DEPLOY_PATH = null; static { String CurrentClassFilePath = Constant.class.getResource("").getPath(); int lastpath = CurrentClassFilePath.lastIndexOf("WEB-INF/"); DEPLOY_PA...
分类:编程语言   时间:2015-03-13 18:45:02    阅读次数:146
指针辨析:悬垂指针、哑指针、野指针、智能指针
悬垂指针:1:提出的原因:请看下面的代码片段:int *p=NULL;void main(){ int i=10;p=&i; cout #include #include #include using namespace std;int main(void) { ch...
分类:其他好文   时间:2015-03-13 18:25:33    阅读次数:260
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!