码迷,mamicode.com
首页 >  
搜索关键字:open gl    ( 25180个结果
JavaScript高级程序设计17.pdf
导航和打开窗口使用window.open()方法可以导航到一个特定的URL也可以打开一个新的浏览器窗口,接收4个参数:要加载的URL、窗口目标、特性字符串和一个表示新页面是否取代浏览器历史记录中当前加载页面的布尔值。通常只需要传递第一个参数,最后一个参数只在不打开新窗口的情况下使用,如果传递的第二个...
分类:编程语言   时间:2014-05-23 08:51:06    阅读次数:200
接口的应用
1. 为什么要用接口2. 工厂方法模式1. 为什么要用接口 之前的打印机程序, open、close、print对于惠普、佳能实际上应该都是不同的, 不同的打印机, 开机、关机、打印都应该不同 所以更靠谱的是将Printer定义为interface类型1 interface Printer{2 .....
分类:其他好文   时间:2014-05-22 04:50:04    阅读次数:228
Allegro 反射仿真--仿真设置
一、打开BRD文件打开PCB SI,启动Cadence Product Choices界面,如图1-1所示,一般我们选择Allegro PCB SI 630(SPECCTRAQuest),具体如下图所示:接着,选择File->Open,打开所要仿真的BRD文件,此时,出现下图所示界面:二、模型库添加...
分类:其他好文   时间:2014-05-21 20:44:48    阅读次数:449
2C01-View-Layout-Animation-Grid-Fade
介绍一个grid layout 顺序显示的代码 LayoutAnimation1.java /* * Copyright (C) 2007 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use th...
分类:其他好文   时间:2014-05-21 16:58:47    阅读次数:214
2C02-View-Layout-Animation-list-Cascade
描述list layout item有上倒下依次显示的代码实现形式 LayoutAnimation2.java /* * Copyright (C) 2007 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may no...
分类:其他好文   时间:2014-05-21 09:02:15    阅读次数:250
2C03-View-Layout-Animation-list-Reverse-Order
介绍list  item倒序显示 LayoutAnimation3.java /* * Copyright (C) 2007 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file e...
分类:其他好文   时间:2014-05-21 08:25:44    阅读次数:278
POSIX 共享内存
POSIX共享内存相关函数: shm_open函数 功能:用来创建或打开一个共享内存对象 原型 int shm_open(const char *name, int oflag, mode_t mode); 参数 name:共享内存对象的名字 oflag:与open函数类似,可以是O_RDONLY、O_RDWR,还可以按位或上O_CREAT、O_EXCL、O_T...
分类:其他好文   时间:2014-05-21 07:38:19    阅读次数:324
POSIX 消息队列
POSIX消息队列相关函数: mq_open函数 功能:用来创建和访问一个消息队列 原型 mqd_t mq_open(const char *name, int oflag); mqd_t mq_open(const char *name, int oflag, mode_t mode, struct mq_attr *attr); 参数 name: 某个消息队列...
分类:其他好文   时间:2014-05-21 06:35:08    阅读次数:316
在执行ab压力测试时出现socket: Too many open files (24)的解决方法
当入行压力测试时出现下列错误[root@zabbix~]#ab-n3000-c3000http://192.168.0.2/ThisisApacheBench,Version2.3<$Revision:655654$>Copyright1996AdamTwiss,ZeusTechnologyLtd,http://www.zeustech.net/LicensedtoTheApacheSoftwareFoundation,http://www.apache.org/Ben..
分类:其他好文   时间:2014-05-20 22:18:38    阅读次数:397
unix环境编程 文件操作
1.      文件的打开读写 关闭 int open(const char *pathname,int flag,…)   打开一个文件 成功则返回文件描述符,若出现则返回-1 flag可以取下面的常量 O_RDONLY  只读打开 O_WRONLY  只写打开 O_RDWR    读写打开 其它的常量 O_APPEND,O_CREAT,O_EXCL,O_TRUNC,O_NOCTT...
分类:其他好文   时间:2014-05-20 16:07:29    阅读次数:269
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!