首页 > 其他
GStreamer基础教程01
目标       对于一个软件库来说,没有比在屏幕上打印出Hello World更近直观的第一印象了。因为我们是在和一个多媒体的framework打交道,所以我们准备播放一段视频来代替Hello World。不要被下面的代码吓唬住了——真正起作用的也就四行而已。剩下的都是资源管理的代码,C语言嘛,就是有这个麻烦。不多说了,准备你的第一个GStreamer应用吧…... Hello World...
分类:其他   时间:2014-02-19 23:13:06    收藏:0  评论:0  赞:0  阅读:744
分享网上的一个小蜜蜂游戏
分享网上的一个小蜜蜂游戏,亲自测试可用。...
分类:其他   时间:2014-02-19 22:57:40    收藏:0  评论:0  赞:0  阅读:441
《高效学习OpenGL》 之 逆变换和模拟变换 gluUnProject(),gluProject()
int gluUnProject ( GLdouble winx, GLdouble winy, GLdouble winz, const GLdouble modelMatrix[16], const GLdouble projMatrix[16], const GLint viewport[4]...
分类:其他   时间:2014-02-19 22:19:23    收藏:0  评论:0  赞:0  阅读:479
hadoop各个类的作用
1.基础包(包括工具包和安全包) 包括工具和安全包。其中,hdfs.util包含了一些HDFS实现需要的辅助数据结构;hdfs.security.token.block和hdfs.security.token.delegation结合Hadoop的安全框架,提供了安全访问HDFS的机制。 hdfs.util(一些HDFS实现需要的辅助数据结构) AtomicFileOutputS...
分类:其他   时间:2014-02-20 03:40:45    收藏:0  评论:0  赞:0  阅读:442
Codeforces Round #230 (Div. 1) B. Tower of Hanoi
B. Tower of Hanoi time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output The Tower of Hanoi is a well-known mathema...
分类:其他   时间:2014-02-19 22:54:45    收藏:0  评论:0  赞:0  阅读:488
Java中overriding的规则
Rules for method overriding: The argument list should be exactly the same as that of the overridden method. 参数列表必须一致 The return type should be the same or a subtype of the return type declare...
分类:其他   时间:2014-02-19 22:18:57    收藏:0  评论:0  赞:0  阅读:505
Codeforces Round #230 (Div. 1)
A题: A题题意: 定义两个点为相连的,则: 1,两点间的欧式距离等于1,并且这两点的任意一个点都没有被锁上 2,如果A,B相连,B,C相连,那么A,C相连。 定义特殊点为距离坐标原点的欧式距离不超过n的整数点。 让你锁上一些点,使得任意特殊点不能和任意非特殊点相连。 求出锁得的最少的点。 做法: 求四分之一圆。 枚举x。 注意用64位啊 #include #include...
分类:其他   时间:2014-02-19 22:54:19    收藏:0  评论:0  赞:0  阅读:527
poj 1862 贪心
Stripies Time Limit: 1000MS   Memory Limit: 30000K Total Submissions: 11128   Accepted: 5327 Description Our chemical biologists have invented a new very useful form of lif...
分类:其他   时间:2014-02-19 22:07:49    收藏:0  评论:0  赞:0  阅读:474
crs启动失败 crs_start -all CRS-0184: Cannot communicate with the CRS daemon.
因为crs_start属于应用层的指令,启动crs的时候会失败 [oracle@host1 ~]$ crs_start  -all CRS-0184: Cannot communicate with the CRS daemon. [oracle@host1 ~]$ crs_stat -t CRS-0184: Cannot communicate with the CRS daemon. ...
分类:其他   时间:2014-02-19 22:07:24    收藏:0  评论:0  赞:0  阅读:505
九度OJ1198 a+b 【高精度整数】
题目地址:http://ac.jobdu.com/problem.php?pid=1198 题目描述: 实现一个加法器,使其能够输出a+b的值。 输入: 输入包括两个数a和b,其中a和b的位数不超过1000位。 输出: 可能有多组测试数据,对于每组数据, 输出a+b的值。 样例输入: 2 6 10000000000000000000 100000000...
分类:其他   时间:2014-02-19 22:39:06    收藏:0  评论:0  赞:0  阅读:429
《高效学习OpenGL》 之 指定颜色和着色模型 glClampColor(),glIndexf(),glClearIndex(),glShadeModel()
1.在RGBA模式下指定颜色 glColor3f (1.0, 0.0, 0.0); //设置绘图颜色 颜色截取 void glClampColor(GLenum target, GLenum clamp); //指定主颜色值和辅助颜色值是否截取 2.在颜色索引模式下指定颜色 glIndexf(GLfloat c); //把当前颜色索引设置为c g...
分类:其他   时间:2014-02-19 22:38:40    收藏:0  评论:0  赞:0  阅读:895
Java通过反射机制使用非默认构造器创建对象
1、Class类方法:getConstructors() 在JDK文档中,对于该方法有如下解释: Returns an array containing Constructor objects reflecting all the public constructors of the class represented by this Class object. 返回...
分类:其他   时间:2014-02-19 22:06:58    收藏:0  评论:0  赞:0  阅读:431
FileUpload文件上传源码解析
FileUpload是apache Commons 用于文件上传的组件,实际上就是用来解析http请求,大家都知道,上传文件的时候,http的request请求的 content-type 是multipart/form-data,我们就可以用FileUpload 来解析http请求,struts,springMVC 等很多MVC框架都是基于FileUpload 来实现文件上传功能。...
分类:其他   时间:2014-02-19 23:10:35    收藏:0  评论:0  赞:0  阅读:542
plain类型tableview的footview不能跟随tableview下滑
plain类型tableview的footview不能跟随tableview下滑。 在设置tableview的style时,如果设置为grouped类型,那么放在footview上得button就可以跟随tableview向下滑动。而设置为plain类型就不能向下滑动。...
分类:其他   时间:2014-02-19 22:51:52    收藏:0  评论:0  赞:0  阅读:469
DSP 之实时时钟(RTC)编程
/* *---------main_rtc1.c--------- * This is an example of using the RTC configuration functions for 5509 */ #include #include //---------Global data definition--------- int i; RTC_Time getTi...
分类:其他   时间:2014-02-19 22:18:34    收藏:0  评论:0  赞:0  阅读:556
hdu 1561 The more, The Better (树形dp)
The more, The Better Time Limit: 6000/2000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 4684    Accepted Submission(s): 2766 Problem Description ACb...
分类:其他   时间:2014-02-19 22:18:09    收藏:0  评论:0  赞:0  阅读:421
关于Java浮点数运算精度丢失问题
前几天看了一个朋友的博客,说Java中浮点数运算精度丢失的问题,他给出了问题,也指出了C语言相对于Java的优势,其实,Java中也是可以解决浮点运算精度丢失问题的。 那就是:BigDecimal。 先看一段程序: public class DoubleTest { public static void main(String args[]) { System.out.println...
分类:其他   时间:2014-02-19 22:05:45    收藏:0  评论:0  赞:0  阅读:416
Flex Builder3 安装SVN插件
由于Flex Builder没有内置SVN支持,很是不便。在编译时,”svn”文件夹会导致一些莫名错误。以下图片上阵不明白的孩子可以看看,高手请绕道。选择 Help -> Soft Updates -> Find and Install,在弹出的窗口中选择“Search for new features to install”,然后创建新的”NewRomote Site”,Name为“SVN”,URL是”http://subclipse.tigris.org/update”,接下来就是一路next之类的了。...
分类:其他   时间:2014-02-19 22:37:25    收藏:0  评论:0  赞:0  阅读:397
Ubuntu下Hadoop MapReduce集群搭建以及程序运行
记得上学期有门课程就是MapReduce,在顺利通过之后,还是决定好好整理一下,方便日后用到,同时也能跟大家分享交流一下。以下就是ubuntu下Hadoop MapReduce集群环境搭建以及程序运行的全部流程。...
分类:其他   时间:2014-02-20 03:38:00    收藏:0  评论:0  赞:0  阅读:424
Hive深入浅出
1.  Hive是什么 在接触一个新的事物首先要回到的问题是:这是什么? 这里引用 Hive wiki 上的介绍: Hive is a data warehouse infrastructure built on top of Hadoop. It provides tools to enable easy data ETL, a mechanism to put structu...
分类:其他   时间:2014-02-19 23:08:57    收藏:0  评论:0  赞:0  阅读:524
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!